aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test-uri.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-19 07:24:09 +0000
committerDavid Robillard <d@drobilla.net>2011-01-19 07:24:09 +0000
commit05f3e795bebbf51c1a5a859cd015d5dbd74c21f9 (patch)
tree1be491847f560c520f3077497b739221635d42ce /tests/test-uri.ttl
parent281c57610c95e1f80fd42b3729da1d3da90c43b6 (diff)
downloadserd-05f3e795bebbf51c1a5a859cd015d5dbd74c21f9.tar.gz
serd-05f3e795bebbf51c1a5a859cd015d5dbd74c21f9.tar.bz2
serd-05f3e795bebbf51c1a5a859cd015d5dbd74c21f9.zip
Initial import.
git-svn-id: http://svn.drobilla.net/serd/trunk@2 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'tests/test-uri.ttl')
-rw-r--r--tests/test-uri.ttl30
1 files changed, 30 insertions, 0 deletions
diff --git a/tests/test-uri.ttl b/tests/test-uri.ttl
new file mode 100644
index 00000000..2a85aadd
--- /dev/null
+++ b/tests/test-uri.ttl
@@ -0,0 +1,30 @@
+# http://tools.ietf.org/html/rfc3986#section-5.4
+
+@base <http://a/b/c/d;p?q> .
+
+@prefix owl: <http://www.w3.org/2002/07/owl#> .
+
+# 5.4.1. Normal Examples
+<g:h> owl:sameAs <g:h> .
+<g> owl:sameAs <http://a/b/c/g> .
+<./g> owl:sameAs <http://a/b/c/g> .
+<g/> owl:sameAs <http://a/b/c/g/> .
+</g> owl:sameAs <http://a/g> .
+<//g> owl:sameAs <http://g> .
+<?y> owl:sameAs <http://a/b/c/d;p?y> .
+<g?y> owl:sameAs <http://a/b/c/g?y> .
+<#s> owl:sameAs <http://a/b/c/d;p?q#s> .
+<g#s> owl:sameAs <http://a/b/c/g#s> .
+<g?y#s> owl:sameAs <http://a/b/c/g?y#s> .
+<;x> owl:sameAs <http://a/b/c/;x> .
+<g;x> owl:sameAs <http://a/b/c/g;x> .
+<g;x?y#s> owl:sameAs <http://a/b/c/g;x?y#s> .
+<> owl:sameAs <http://a/b/c/d;p?q> .
+<.> owl:sameAs <http://a/b/c/> .
+<./> owl:sameAs <http://a/b/c/> .
+<..> owl:sameAs <http://a/b/> .
+<../> owl:sameAs <http://a/b/> .
+<../g> owl:sameAs <http://a/b/g> .
+<../..> owl:sameAs <http://a/> .
+<../../> owl:sameAs <http://a/> .
+<../../g> owl:sameAs <http://a/g> .