aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/abbreviate/manifest.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-04-03 09:00:18 -0400
committerDavid Robillard <d@drobilla.net>2023-04-05 09:45:15 -0400
commit1c082131014e579b587f8bb8b89f3c999e22f4ed (patch)
treed81dd0fd13e90a5ac88e939e04ab18363bf84116 /test/extra/abbreviate/manifest.ttl
parentb135f1d556f3f03c0369efd710b06c5ded728ef9 (diff)
downloadserd-1c082131014e579b587f8bb8b89f3c999e22f4ed.tar.gz
serd-1c082131014e579b587f8bb8b89f3c999e22f4ed.tar.bz2
serd-1c082131014e579b587f8bb8b89f3c999e22f4ed.zip
Add a simple abbreviation test suite
Diffstat (limited to 'test/extra/abbreviate/manifest.ttl')
-rw-r--r--test/extra/abbreviate/manifest.ttl31
1 files changed, 31 insertions, 0 deletions
diff --git a/test/extra/abbreviate/manifest.ttl b/test/extra/abbreviate/manifest.ttl
new file mode 100644
index 00000000..ddcfdf03
--- /dev/null
+++ b/test/extra/abbreviate/manifest.ttl
@@ -0,0 +1,31 @@
+@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 abbreviation test cases" ;
+ mf:entries (
+ <#collapse-graphs>
+ <#collapse-predicates>
+ <#collapse-subjects>
+ ) .
+
+<#collapse-graphs>
+ a rdft:TestTurtleEval ;
+ mf:action <collapse-graphs.nq> ;
+ mf:name "collapse-graphs" ;
+ mf:result <collapse-graphs.trig> .
+
+<#collapse-predicates>
+ a rdft:TestTurtleEval ;
+ mf:action <collapse-predicates.nt> ;
+ mf:name "collapse-predicates" ;
+ mf:result <collapse-predicates.ttl> .
+
+<#collapse-subjects>
+ a rdft:TestTurtleEval ;
+ mf:action <collapse-subjects.nt> ;
+ mf:name "collapse-subjects" ;
+ mf:result <collapse-subjects.ttl> .