Debian Codegraph @

t/data/rdfxml-w3c/rdfms-syntax-incomplete/test002.rdf

raw
1 <?xml version="1.0"?>
2
3 <!--
4 Copyright World Wide Web Consortium, (Massachusetts Institute of
5 Technology, Institut National de Recherche en Informatique et en
6 Automatique, Keio University).
7
8 All Rights Reserved.
9
10 Please see the full Copyright clause at
11 <http://www.w3.org/Consortium/Legal/copyright-software.html>
12
13 -->
14 <!--
15
16 rdf:nodeID can be used to label a blank node.
17 These have file scope and are distinct from any
18 unlabelled blank nodes.
19 $Id: test002.rdf,v 1.1 2002/07/30 09:46:05 jcarroll Exp $
20
21 -->
22
23 <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
24 xmlns:eg="http://example.org/">
25
26 <rdf:Description rdf:nodeID="a">
27 <eg:property1 rdf:nodeID="a" />
28 </rdf:Description>
29 <rdf:Description>
30 <eg:property2>
31 <!-- Note the rdf:nodeID="b" is redundant. -->
32 <rdf:Description rdf:nodeID="b">
33 <eg:property3 rdf:nodeID="a" />
34 </rdf:Description>
35 </eg:property2>
36 </rdf:Description>
37
38 </rdf:RDF>