File: test004.rdf

package info (click to toggle)
librdf-trine-perl 1.015-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 10,188 kB
  • ctags: 1,059
  • sloc: perl: 17,584; makefile: 30; sql: 20
file content (36 lines) | stat: -rw-r--r-- 868 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>

<!--
  Copyright World Wide Web Consortium, (Massachusetts Institute of
  Technology, Institut National de Recherche en Informatique et en
  Automatique, Keio University).
 
  All Rights Reserved.
 
  Please see the full Copyright clause at
  <http://www.w3.org/Consortium/Legal/copyright-software.html>

-->
<!--

  On a property element rdf:nodeID behaves
  similarly to rdf:resource.
  $Id: test004.rdf,v 1.1 2002/07/30 09:46:05 jcarroll Exp $

-->


<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
         xmlns:eg="http://example.org/">

 <!-- The rdf:nodeID allows two references to the same node
      as an object of triples in the graph. -->
 <rdf:Description >
   <eg:property1 rdf:ID="reify" rdf:nodeID="a" />
 </rdf:Description>

 <rdf:Description>
   <eg:property2 rdf:nodeID="a"/>
 </rdf:Description>

</rdf:RDF>