summaryrefslogtreecommitdiffstats
path: root/tests/trig/example3.trig
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 05:40:05 +0000
commit4038ab95a094b363f1748f3dcb51511a1217475d (patch)
tree7f393d66a783f91ddd263c78d681e485cf4f45ca /tests/trig/example3.trig
parentInitial commit. (diff)
downloadraptor2-4038ab95a094b363f1748f3dcb51511a1217475d.tar.xz
raptor2-4038ab95a094b363f1748f3dcb51511a1217475d.zip
Adding upstream version 2.0.16.upstream/2.0.16upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/trig/example3.trig')
-rw-r--r--tests/trig/example3.trig26
1 files changed, 26 insertions, 0 deletions
diff --git a/tests/trig/example3.trig b/tests/trig/example3.trig
new file mode 100644
index 0000000..0ef71d3
--- /dev/null
+++ b/tests/trig/example3.trig
@@ -0,0 +1,26 @@
+
+
+# TriG Example Document 3
+# This document contains a default graph and two named graphs.
+
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix dc: <http://purl.org/dc/elements/1.1/> .
+@prefix foaf: <http://xmlns.com/foaf/0.1/> .
+
+# default graph
+ {
+ <http://example.org/bob> dc:publisher "Bob" .
+ <http://example.org/alice> dc:publisher "Alice" .
+ }
+
+<http://example.org/bob>
+ {
+ _:a foaf:name "Bob" .
+ _:a foaf:mbox <mailto:bob@oldcorp.example.org> .
+ }
+
+<http://example.org/alice>
+ {
+ _:a foaf:name "Alice" .
+ _:a foaf:mbox <mailto:alice@work.example.org> .
+ }