aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/test-base-query.out1
-rw-r--r--tests/test-base-query.ttl3
-rw-r--r--tests/test-rel.out6
-rw-r--r--tests/test-rel.ttl6
4 files changed, 16 insertions, 0 deletions
diff --git a/tests/test-base-query.out b/tests/test-base-query.out
new file mode 100644
index 00000000..d40c2f6b
--- /dev/null
+++ b/tests/test-base-query.out
@@ -0,0 +1 @@
+<http://example.org/a/b/c/d;p?q> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
diff --git a/tests/test-base-query.ttl b/tests/test-base-query.ttl
new file mode 100644
index 00000000..77638817
--- /dev/null
+++ b/tests/test-base-query.ttl
@@ -0,0 +1,3 @@
+@base <http://example.org/a/b/c/d;p?q> .
+
+<> a <http://example.org/Thing> . \ No newline at end of file
diff --git a/tests/test-rel.out b/tests/test-rel.out
new file mode 100644
index 00000000..01c18c2f
--- /dev/null
+++ b/tests/test-rel.out
@@ -0,0 +1,6 @@
+<http://www.w3.org/2001/sw/DataAccess/df1/tests/a/b/c> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
+<http://www.w3.org/2001/sw/DataAccess/df1> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
+<http://www.w3.org/2001/sw/DataAccess/df1/tests/test-rel.ttl> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
+<http://www.w3.org/2001/sw/DataAccess/df1/tests/test-not.ttl> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
+<http://www.w3.org/2001/sw/DataAccess/df1/tests/a/b/c> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
+<http://www.w3.org/> <http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <http://example.org/Thing> .
diff --git a/tests/test-rel.ttl b/tests/test-rel.ttl
new file mode 100644
index 00000000..a5927cd3
--- /dev/null
+++ b/tests/test-rel.ttl
@@ -0,0 +1,6 @@
+<http://www.w3.org/2001/sw/DataAccess/df1/tests/a/b/c> a <http://example.org/Thing> .
+<http://www.w3.org/2001/sw/DataAccess/df1> a <http://example.org/Thing> .
+<http://www.w3.org/2001/sw/DataAccess/df1/tests/test-rel.ttl> a <http://example.org/Thing> .
+<http://www.w3.org/2001/sw/DataAccess/df1/tests/test-not.ttl> a <http://example.org/Thing> .
+<a/b/c> a <http://example.org/Thing> .
+<http://www.w3.org/> a <http://example.org/Thing> .