summaryrefslogtreecommitdiffstats
path: root/tests/rdfxml/ex-42.rdf
diff options
context:
space:
mode:
Diffstat (limited to 'tests/rdfxml/ex-42.rdf')
-rw-r--r--tests/rdfxml/ex-42.rdf14
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/rdfxml/ex-42.rdf b/tests/rdfxml/ex-42.rdf
new file mode 100644
index 0000000..593fb18
--- /dev/null
+++ b/tests/rdfxml/ex-42.rdf
@@ -0,0 +1,14 @@
+<?xml version="1.0"?>
+<rdf:RDF xmlns:ex="http://example.org/ns#"
+ xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+ xml:base="http://example.org/triples">
+
+ <!-- rdf:bagID when all the triples are given explicit rdf:IDs -->
+
+ <rdf:Description rdf:about="http://example.org/node" rdf:bagID="bag">
+ <ex:prop1 rdf:ID="triple1">val1</ex:prop1>
+ <ex:prop2 rdf:ID="triple2">val2</ex:prop2>
+ <ex:prop3 rdf:ID="triple3" xml:lang="en">val3</ex:prop3>
+ </rdf:Description>
+
+</rdf:RDF>