diff options
author | David Robillard <d@drobilla.net> | 2020-11-09 12:11:13 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-11-09 20:01:27 +0100 |
commit | 8e0270ea4d800d4f52d6c563dbb07dbb6e8cd1b7 (patch) | |
tree | 3db87de8309be4faa9e4f36f3c4794cdf16a0c7c /test/good/test-uri.ttl | |
parent | d65769b7b9ad6a8c9c75f8fd96f929f8a2938774 (diff) | |
download | serd-8e0270ea4d800d4f52d6c563dbb07dbb6e8cd1b7.tar.gz serd-8e0270ea4d800d4f52d6c563dbb07dbb6e8cd1b7.tar.bz2 serd-8e0270ea4d800d4f52d6c563dbb07dbb6e8cd1b7.zip |
Rename test directory
Diffstat (limited to 'test/good/test-uri.ttl')
-rw-r--r-- | test/good/test-uri.ttl | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/test/good/test-uri.ttl b/test/good/test-uri.ttl new file mode 100644 index 00000000..b6a8d967 --- /dev/null +++ b/test/good/test-uri.ttl @@ -0,0 +1,71 @@ +# 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> . + +# 5.4.2. Abnormal Examples +<../../../g> owl:sameAs <http://a/g> . +<../../../../g> owl:sameAs <http://a/g> . +</./g> owl:sameAs <http://a/g> . +</../g> owl:sameAs <http://a/g> . +<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/b/c/..g> . +<./../g> owl:sameAs <http://a/b/g> . +# Serd only resolves the leading components +#<./g/.> owl:sameAs <http://a/b/c/g/> . +#<g/./h> owl:sameAs <http://a/b/c/g/h> . +#<g/../h> owl:sameAs <http://a/b/c/h> . +#<g;x=1/./y> owl:sameAs <http://a/b/c/g;x=1/y> . +#<g;x=1/../y> owl:sameAs <http://a/b/c/y> . +<g?y/./x> owl:sameAs <http://a/b/c/g?y/./x> . +<g?y/../x> owl:sameAs <http://a/b/c/g?y/../x> . +<g#s/./x> owl:sameAs <http://a/b/c/g#s/./x> . +<g#s/../x> owl:sameAs <http://a/b/c/g#s/../x> . + +# Additional tests for Serd +</.g> owl:sameAs <http://a/.g> . +</..g> owl:sameAs <http://a/..g> . +<http://A?aquery> owl:sameAs <http://A?aquery> . +<http://A#afragment> owl:sameAs <http://A#afragment> . +<?aquery> owl:sameAs <http://a/b/c/d;p?aquery> . +<#afragment> owl:sameAs <http://a/b/c/d;p?q#afragment> . +<../../../../../../> owl:sameAs <http://a/> . +<view-source://foo> owl:sameAs <view-source://foo> . +<coap+tcp://foo> owl:sameAs <coap+tcp://foo> . +<osc.udp://foo> owl:sameAs <osc.udp://foo> . + +@base <http://B?bquery> . + +</foo> owl:sameAs <http://B/foo> . + +@base <http://C#cfragment> . + +</bar> owl:sameAs <http://C/bar> . |