N-Triples-star Syntax Tests

Generated from:manifest.jsonld
creator: RDF-star Interest Group within the W3C RDF-DEV Community Group
issued:2021-06-21
modified:2021-07-18
see also:https://w3c.github.io/rdf-star/tests/nt/syntax/README

Entries:

About this test suite

https://w3c.github.io/rdf-star/tests/nt/syntax/README

N-Triples-star - subject quoted triple 🔗

status:proposed
type:rdft:TestNTriplesPositiveSyntax
ntriples-star-syntax-1.nt
<< <http://example/s> <http://example/p> <http://example/o> >> <http://example/q> <http://example/z> .
MUST be accepted

N-Triples-star - object quoted triple 🔗

status:proposed
type:rdft:TestNTriplesPositiveSyntax
ntriples-star-syntax-2.nt
<http://example/x> <http://example/p> << <http://example/s> <http://example/p> <http://example/o> >> .
MUST be accepted

N-Triples-star - subject and object quoted triples 🔗

status:proposed
type:rdft:TestNTriplesPositiveSyntax
ntriples-star-syntax-3.nt
<< <http://example/s1> <http://example/p1> <http://example/o1> >> <http://example/q> << <http://example/s2> <http://example/p2> <http://example/o2> >> .
MUST be accepted

N-Triples-star - whitespace and terms 🔗

status:proposed
type:rdft:TestNTriplesPositiveSyntax
ntriples-star-syntax-4.nt
<<<http://example/s1><http://example/p1><http://example/o1>>><http://example/q><<<http://example/s2><http://example/p2><http://example/o2>>>.
MUST be accepted

N-Triples-star - Nested, no whitespace 🔗

status:proposed
type:rdft:TestNTriplesPositiveSyntax
ntriples-star-syntax-5.nt
<<<<<http://example/s1><http://example/p1><http://example/o1>>><http://example/q1><<<http://example/s2><http://example/p2><http://example/o2>>>>><http://example/q2><<<<<http://example/s3><http://example/p3><http://example/o3>>><http://example/q3><<<http://example/s4><http://example/p4><http://example/o4>>>>>.
MUST be accepted

N-Triples-star - Blank node subject 🔗

status:proposed
type:rdft:TestNTriplesPositiveSyntax
ntriples-star-bnode-1.nt
_:b0 <http://example/p> <http://example/o> .
<< _:b0 <http://example/p> <http://example/o> >> <http://example/q> "ABC" .
MUST be accepted

N-Triples-star - Blank node object 🔗

status:proposed
type:rdft:TestNTriplesPositiveSyntax
ntriples-star-bnode-2.nt
<http://example/s> <http://example/p> _:b1 .
<< <http://example/s> <http://example/p> _:b1 >> <http://example/q> "456"^^<http://www.w3.org/2001/XMLSchema#integer> .
MUST be accepted

N-Triples-star - Nested subject term 🔗

status:proposed
type:rdft:TestNTriplesPositiveSyntax
ntriples-star-nested-1.nt
<http://example/s> <http://example/p> <http://example/o> .
<< <http://example/s> <http://example/p> <http://example/o> >> <http://example/r> <http://example/z> .
<< << <http://example/s> <http://example/p> <http://example/o> >> <http://example/r> <http://example/z> >> <http://example/q> "1"^^<http://www.w3.org/2001/XMLSchema#integer> .
MUST be accepted

N-Triples-star - Nested object term 🔗

status:proposed
type:rdft:TestNTriplesPositiveSyntax
ntriples-star-nested-2.nt
<http://example/s> <http://example/p> <http://example/o> .
<http://example/a> <http://example/q> << <http://example/s> <http://example/p> <http://example/o> >> .
<< <http://example/a> <http://example/q> << <http://example/s> <http://example/p> <http://example/o> >> >> <http://example/r> <http://example/z> .
MUST be accepted

N-Triples-star - Bad - quoted triple as predicate 🔗

status:proposed
type:rdft:TestNTriplesNegativeSyntax
ntriples-star-bad-syntax-1.nt
<http://example/a> << <http://example/s> <http://example/p>  <http://example/o> >>  <http://example/z> .
MUST be rejected

N-Triples-star - Bad - quoted triple, literal subject 🔗

status:proposed
type:rdft:TestNTriplesNegativeSyntax
ntriples-star-bad-syntax-2.nt
<< "XYZ" <http://example/p> <http://example/o> >> <http://example/q> <http://example/z> .
MUST be rejected

N-Triples-star - Bad - quoted triple, literal predicate 🔗

status:proposed
type:rdft:TestNTriplesNegativeSyntax
ntriples-star-bad-syntax-3.nt
<< <http://example/s> "XYZ" <http://example/o> >> <http://example/q> <http://example/z> .
MUST be rejected

N-Triples-star - Bad - quoted triple, blank node predicate 🔗

status:proposed
type:rdft:TestNTriplesNegativeSyntax
ntriples-star-bad-syntax-4.nt
<< <http://example/s> _:label <http://example/o> >> <http://example/q> <http://example/z> .
MUST be rejected