aboutsummaryrefslogtreecommitdiffstats
path: root/test/extra/pattern/manifest.ttl
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-12-01 21:59:18 -0500
committerDavid Robillard <d@drobilla.net>2023-12-02 18:49:08 -0500
commit9b1139fe7045a0630e87501235af21803860b80c (patch)
tree3a7cd3ee639e0b7a6f2244177819f8843202c692 /test/extra/pattern/manifest.ttl
parent94879f376f1d2b8fbb2322bf2a7dab5c3bb9e098 (diff)
downloadserd-9b1139fe7045a0630e87501235af21803860b80c.tar.gz
serd-9b1139fe7045a0630e87501235af21803860b80c.tar.bz2
serd-9b1139fe7045a0630e87501235af21803860b80c.zip
[WIP] Add support for reading and writing variables
[WIP] Command line option, move later? This adds a reader flag and serdi option for extending a syntax with support for SPARQL-like variables, for storing things like patterns or simple queries.
Diffstat (limited to 'test/extra/pattern/manifest.ttl')
-rw-r--r--test/extra/pattern/manifest.ttl88
1 files changed, 88 insertions, 0 deletions
diff --git a/test/extra/pattern/manifest.ttl b/test/extra/pattern/manifest.ttl
new file mode 100644
index 00000000..e5690218
--- /dev/null
+++ b/test/extra/pattern/manifest.ttl
@@ -0,0 +1,88 @@
+@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#> .
+
+<>
+ a mf:Manifest ;
+ rdfs:comment "Serd pattern syntax test suite" ;
+ mf:entries (
+ <#bad-pattern-graph-nq>
+ <#bad-pattern-object-nq>
+ <#bad-pattern-object-nt>
+ <#bad-pattern-object-ttl>
+ <#bad-pattern-predicate-nq>
+ <#bad-pattern-predicate-nt>
+ <#bad-pattern-predicate-ttl>
+ <#bad-pattern-subject-nq>
+ <#bad-pattern-subject-nt>
+ <#bad-pattern-subject-ttl>
+ <#test-graph-pattern>
+ <#test-pattern-nt>
+ <#test-pattern-ttl>
+ ) .
+
+<#bad-pattern-graph-nq>
+ a rdft:TestNQuadsNegativeSyntax ;
+ mf:action <bad-pattern-graph.nq> ;
+ mf:name "bad-pattern-graph-nq" .
+
+<#bad-pattern-object-nq>
+ a rdft:TestNQuadsNegativeSyntax ;
+ mf:action <bad-pattern-object.nq> ;
+ mf:name "bad-pattern-object-nq" .
+
+<#bad-pattern-object-nt>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-pattern-object.nt> ;
+ mf:name "bad-pattern-object-nt" .
+
+<#bad-pattern-object-ttl>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-pattern-object.ttl> ;
+ mf:name "bad-pattern-object-ttl" .
+
+<#bad-pattern-predicate-nq>
+ a rdft:TestNQuadsNegativeSyntax ;
+ mf:action <bad-pattern-predicate.nq> ;
+ mf:name "bad-pattern-predicate-nq" .
+
+<#bad-pattern-predicate-nt>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-pattern-predicate.nt> ;
+ mf:name "bad-pattern-predicate-nt" .
+
+<#bad-pattern-predicate-ttl>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-pattern-predicate.ttl> ;
+ mf:name "bad-pattern-predicate-ttl" .
+
+<#bad-pattern-subject-nq>
+ a rdft:TestNQuadsNegativeSyntax ;
+ mf:action <bad-pattern-subject.nq> ;
+ mf:name "bad-pattern-subject-nq" .
+
+<#bad-pattern-subject-nt>
+ a rdft:TestNTriplesNegativeSyntax ;
+ mf:action <bad-pattern-subject.nt> ;
+ mf:name "bad-pattern-subject-nt" .
+
+<#bad-pattern-subject-ttl>
+ a rdft:TestTurtleNegativeSyntax ;
+ mf:action <bad-pattern-subject.ttl> ;
+ mf:name "bad-pattern-subject-ttl" .
+
+<#test-graph-pattern>
+ a rdft:TestNQuadsPositiveSyntax ;
+ mf:action <test-graph-pattern.nq> ;
+ mf:name "test-graph-pattern" .
+
+<#test-pattern-nt>
+ a rdft:TestNTriplesPositiveSyntax ;
+ mf:action <test-pattern.nt> ;
+ mf:name "test-pattern-nt" .
+
+<#test-pattern-ttl>
+ a rdft:TestTurtleEval ;
+ mf:action <test-pattern.ttl> ;
+ mf:name "test-pattern" ;
+ mf:result <test-pattern.nt> .