aboutsummaryrefslogtreecommitdiffstats
path: root/test/root/root-outside-base-out.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-03-29 19:59:47 -0400
committerDavid Robillard <d@drobilla.net>2023-04-05 09:45:15 -0400
commitdd777c54b7585823be1f977e9dd887a5110a74f3 (patch)
tree0af28e331aba4e1d15719519ac9834a0b59817b7 /test/root/root-outside-base-out.ttl
parent978467d01da0c487348e2a0118c1aed196070230 (diff)
downloadserd-dd777c54b7585823be1f977e9dd887a5110a74f3.tar.gz
serd-dd777c54b7585823be1f977e9dd887a5110a74f3.tar.bz2
serd-dd777c54b7585823be1f977e9dd887a5110a74f3.zip
Test URI and blank node manipulation features separately
Diffstat (limited to 'test/root/root-outside-base-out.ttl')
-rw-r--r--test/root/root-outside-base-out.ttl23
1 files changed, 23 insertions, 0 deletions
diff --git a/test/root/root-outside-base-out.ttl b/test/root/root-outside-base-out.ttl
new file mode 100644
index 00000000..47a4c47e
--- /dev/null
+++ b/test/root/root-outside-base-out.ttl
@@ -0,0 +1,23 @@
+@base <http://example.org/top/root/base/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+
+<>
+ rdfs:label "base node" .
+
+<http://example.org/top/root/>
+ rdfs:label "root node" .
+
+<s>
+ rdfs:label "within base" .
+
+<../s>
+ rdfs:label "within root" .
+
+<../../s>
+ rdfs:label "outside root" .
+
+<http://example.com/s>
+ rdfs:label "outside domain" .
+
+<https://example.org/s>
+ rdfs:label "outside scheme" .