summaryrefslogtreecommitdiffstats
path: root/tests/trig/example1.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/example1.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/example1.trig')
-rw-r--r--tests/trig/example1.trig29
1 files changed, 29 insertions, 0 deletions
diff --git a/tests/trig/example1.trig b/tests/trig/example1.trig
new file mode 100644
index 0000000..b189e63
--- /dev/null
+++ b/tests/trig/example1.trig
@@ -0,0 +1,29 @@
+
+
+# TriG Example Document 1
+# This document encodes three graphs.
+
+@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
+@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .
+@prefix swp: <http://www.w3.org/2004/03/trix/swp-1/> .
+@prefix dc: <http://purl.org/dc/elements/1.1/> .
+@prefix ex: <http://www.example.org/vocabulary#> .
+@prefix : <http://www.example.org/exampleDocument#> .
+
+:G1 { :Monica ex:name "Monica Murphy" .
+ :Monica ex:homepage <http://www.monicamurphy.org> .
+ :Monica ex:email <mailto:monica@monicamurphy.org> .
+ :Monica ex:hasSkill ex:Management }
+
+:G2 { :Monica rdf:type ex:Person .
+ :Monica ex:hasSkill ex:Programming }
+
+:G3 { :G1 swp:assertedBy _:w1 .
+ _:w1 swp:authority :Chris .
+ _:w1 dc:date "2003-10-02"^^xsd:date .
+ :G2 swp:quotedBy _:w2 .
+ :G3 swp:assertedBy _:w2 .
+ _:w2 dc:date "2003-09-03"^^xsd:date .
+ _:w2 swp:authority :Chris .
+ :Chris rdf:type ex:Person .
+ :Chris ex:email <mailto:chris@bizer.de> }