diff options
author | David Robillard <d@drobilla.net> | 2021-08-12 13:42:25 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:08 -0500 |
commit | 8346ac7f529f5aeb8d8b0e48837e680ea14e8893 (patch) | |
tree | 0e1aa8f67135af24cbbfe5a5911b1a74e5699df6 /test/extra/prefix | |
parent | 3ea3143632e3577ac5794faed1141e460a11a9fb (diff) | |
download | serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.gz serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.tar.bz2 serd-8346ac7f529f5aeb8d8b0e48837e680ea14e8893.zip |
Make blank node prefixing automatic
Though potentially useful, I don't think the complexity cost of the old
interface (both to the implementation and to the user) is worth it. A special
tool to transform blank node labels (for example with regular expressions)
would be a better approach to this if it's ever needed in the future.
Diffstat (limited to 'test/extra/prefix')
-rw-r--r-- | test/extra/prefix/README.md | 4 | ||||
-rw-r--r-- | test/extra/prefix/manifest.ttl | 20 | ||||
-rw-r--r-- | test/extra/prefix/remove-prefixes.nt | 4 | ||||
-rw-r--r-- | test/extra/prefix/remove-prefixes.ttl | 7 |
4 files changed, 0 insertions, 35 deletions
diff --git a/test/extra/prefix/README.md b/test/extra/prefix/README.md deleted file mode 100644 index 56a07244..00000000 --- a/test/extra/prefix/README.md +++ /dev/null @@ -1,4 +0,0 @@ -Prefix Test Suite -================= - -This small suite tests adding/chopping prefixes to/from blank node labels. diff --git a/test/extra/prefix/manifest.ttl b/test/extra/prefix/manifest.ttl deleted file mode 100644 index 12a0f9ca..00000000 --- a/test/extra/prefix/manifest.ttl +++ /dev/null @@ -1,20 +0,0 @@ -@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 blank node prefixing test suite" ; - mf:entries ( - <#remove-prefixes> - ) . - -<#remove-prefixes> - a rdft:TestTurtleEval ; - mf:action <remove-prefixes.ttl> ; - mf:name "remove-prefixes" ; - mf:result <remove-prefixes.nt> . - -rdft:Test - rdfs:subClassOf mf:ManifestEntry . diff --git a/test/extra/prefix/remove-prefixes.nt b/test/extra/prefix/remove-prefixes.nt deleted file mode 100644 index 26ac46ee..00000000 --- a/test/extra/prefix/remove-prefixes.nt +++ /dev/null @@ -1,4 +0,0 @@ -_:s1 <http://example.org/p1> _:o1 . -_:s1 <http://example.org/p2> _:o3 . -_:s1 <http://example.org/p2> _:o4 . -_:b0 <http://example.org/p3> _:b1 . diff --git a/test/extra/prefix/remove-prefixes.ttl b/test/extra/prefix/remove-prefixes.ttl deleted file mode 100644 index f3002a59..00000000 --- a/test/extra/prefix/remove-prefixes.ttl +++ /dev/null @@ -1,7 +0,0 @@ -_:tests1 - <http://example.org/p1> _:testo1 ; - <http://example.org/p2> _:testo3 , - _:testo4 . - -_:testb0 - <http://example.org/p3> _:testb1 . |