diff options
Diffstat (limited to 'test/extra/qualify')
-rw-r--r-- | test/extra/qualify/README.md | 4 | ||||
-rw-r--r-- | test/extra/qualify/manifest.ttl | 20 | ||||
-rw-r--r-- | test/extra/qualify/qualify-in.ttl | 10 | ||||
-rw-r--r-- | test/extra/qualify/qualify-out.ttl | 10 |
4 files changed, 44 insertions, 0 deletions
diff --git a/test/extra/qualify/README.md b/test/extra/qualify/README.md new file mode 100644 index 00000000..c345f242 --- /dev/null +++ b/test/extra/qualify/README.md @@ -0,0 +1,4 @@ +Qualify Test Suite +================== + +This small suite tests qualifying full URIs into shortened forms. diff --git a/test/extra/qualify/manifest.ttl b/test/extra/qualify/manifest.ttl new file mode 100644 index 00000000..0a2fb698 --- /dev/null +++ b/test/extra/qualify/manifest.ttl @@ -0,0 +1,20 @@ +@prefix mf: <http://www.w3.org/2001/sw/DataAccess/tests/test-manifest#> . +@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> . +@prefix rdft: <http://www.w3.org/ns/rdftest#> . +@prefix serd: <http://drobilla.net/ns/serd#> . + +<> + a mf:Manifest ; + rdfs:comment "Serd URI qualification test suite" ; + mf:entries ( + <#qualify> + ) . + +<#qualify> + a rdft:TestTurtleEval ; + mf:action <qualify-in.ttl> ; + mf:name "qualify" ; + mf:result <qualify-out.ttl> . + +rdft:Test + rdfs:subClassOf mf:ManifestEntry . diff --git a/test/extra/qualify/qualify-in.ttl b/test/extra/qualify/qualify-in.ttl new file mode 100644 index 00000000..04afc07f --- /dev/null +++ b/test/extra/qualify/qualify-in.ttl @@ -0,0 +1,10 @@ +@prefix eg: <http://example.org/> . + +<http://example.org/s> + <http://example.org/p> <http://example.org/o> . + +<http://example.org/a-subject> + <http://example.org/a-predicate> <http://example.org/a-object> . + +<http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> + <http://www.w3.org/2000/01/rdf-schema#label> "nil" . diff --git a/test/extra/qualify/qualify-out.ttl b/test/extra/qualify/qualify-out.ttl new file mode 100644 index 00000000..f4dd15d4 --- /dev/null +++ b/test/extra/qualify/qualify-out.ttl @@ -0,0 +1,10 @@ +@prefix eg: <http://example.org/> . + +eg:s + eg:p eg:o . + +<http://example.org/a-subject> + <http://example.org/a-predicate> <http://example.org/a-object> . + +() + <http://www.w3.org/2000/01/rdf-schema#label> "nil" . |