diff options
Diffstat (limited to 'test/extra')
-rw-r--r-- | test/extra/abbreviate/collapse-graphs.trig | 1 | ||||
-rw-r--r-- | test/extra/terse/blank_object.ttl | 2 | ||||
-rw-r--r-- | test/extra/terse/blank_subject.ttl | 2 | ||||
-rw-r--r-- | test/extra/terse/collection_object.ttl | 2 | ||||
-rw-r--r-- | test/extra/terse/collection_subject.ttl | 2 | ||||
-rw-r--r-- | test/extra/terse/manifest.ttl | 39 | ||||
-rw-r--r-- | test/extra/terse/nil_object.ttl | 2 | ||||
-rw-r--r-- | test/extra/terse/nil_subject.ttl | 2 |
8 files changed, 51 insertions, 1 deletions
diff --git a/test/extra/abbreviate/collapse-graphs.trig b/test/extra/abbreviate/collapse-graphs.trig index 5bdf55ce..4f8e4344 100644 --- a/test/extra/abbreviate/collapse-graphs.trig +++ b/test/extra/abbreviate/collapse-graphs.trig @@ -1,4 +1,3 @@ - <http://example.org/g1> { <http://example.org/s1> <http://example.org/p1> <http://example.org/o1> ; diff --git a/test/extra/terse/blank_object.ttl b/test/extra/terse/blank_object.ttl new file mode 100644 index 00000000..270e406b --- /dev/null +++ b/test/extra/terse/blank_object.ttl @@ -0,0 +1,2 @@ +@prefix eg: <http://example.org/> . +eg:s eg:p1 [ eg:p11 1 ; eg:p12 2 ] ; eg:p2 [ eg:p23 3 ; eg:p24 4 ] . diff --git a/test/extra/terse/blank_subject.ttl b/test/extra/terse/blank_subject.ttl new file mode 100644 index 00000000..5e3303f9 --- /dev/null +++ b/test/extra/terse/blank_subject.ttl @@ -0,0 +1,2 @@ +@prefix eg: <http://example.org/> . +[] eg:p1 1 ; eg:p2 2 . diff --git a/test/extra/terse/collection_object.ttl b/test/extra/terse/collection_object.ttl new file mode 100644 index 00000000..3310c418 --- /dev/null +++ b/test/extra/terse/collection_object.ttl @@ -0,0 +1,2 @@ +@prefix eg: <http://example.org/> . +eg:s eg:p1 ( 1 2 ) ; eg:p2 ( 3 4 ) . diff --git a/test/extra/terse/collection_subject.ttl b/test/extra/terse/collection_subject.ttl new file mode 100644 index 00000000..43670620 --- /dev/null +++ b/test/extra/terse/collection_subject.ttl @@ -0,0 +1,2 @@ +@prefix eg: <http://example.org/> . +( 1 2 ) eg:p3 3 ; eg:p4 4 . diff --git a/test/extra/terse/manifest.ttl b/test/extra/terse/manifest.ttl new file mode 100644 index 00000000..6773b97d --- /dev/null +++ b/test/extra/terse/manifest.ttl @@ -0,0 +1,39 @@ +@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 terse writing test suite" ; + mf:entries ( + <#blank_object> + <#blank_subject> + <#collection_object> + <#collection_subject> + <#nil_object> + <#nil_subject> + ) . + +<#blank_object> + a rdft:TestTurtleEval ; + mf:action <blank_object.ttl> ; + mf:name "blank_object" ; + mf:result <blank_object.ttl> . + +<#blank_subject> + a rdft:TestTurtleEval ; + mf:action <blank_subject.ttl> ; + mf:name "blank_subject" ; + mf:result <blank_subject.ttl> . + +<#collection_object> + a rdft:TestTurtleEval ; + mf:action <collection_object.ttl> ; + mf:name "collection_object" ; + mf:result <collection_object.ttl> . + +<#collection_subject> + a rdft:TestTurtleEval ; + mf:action <collection_subject.ttl> ; + mf:name "collection_subject" ; + mf:result <collection_subject.ttl> . diff --git a/test/extra/terse/nil_object.ttl b/test/extra/terse/nil_object.ttl new file mode 100644 index 00000000..4a0f93bd --- /dev/null +++ b/test/extra/terse/nil_object.ttl @@ -0,0 +1,2 @@ +@prefix eg: <http://example.org/> . +eg:s eg:p1 () ; eg:p2 [] , () . diff --git a/test/extra/terse/nil_subject.ttl b/test/extra/terse/nil_subject.ttl new file mode 100644 index 00000000..a08f7d82 --- /dev/null +++ b/test/extra/terse/nil_subject.ttl @@ -0,0 +1,2 @@ +@prefix eg: <http://example.org/> . +() eg:p1 1 ; eg:p2 2 . |