Turtle-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 |
---|
Entries:
Turtle-star - subject quoted triple 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
:s :p :o .
<<:s :p :o>> :q 123 .
MUST be accepted
Turtle-star - object quoted triple 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
:s :p :o .
:x :p <<:s :p :o>> .
MUST be accepted
Turtle-star - quoted triple inside blankNodePropertyList 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
:s :p :o .
[ :q <<:s :p :o>> ] :b :c .
MUST be accepted
Turtle-star - quoted triple inside collection 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
:s :p :o1 .
:s :p :o2 .
( <<:s :p :o1>> <<:s :p :o2>> ) :q 123 .
MUST be accepted
Turtle-star - nested quoted triple, subject position 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
:s :p :o .
<<:s :p :o >> :r :z .
<< <<:s :p :o >> :r :z >> :q 1 .
MUST be accepted
Turtle-star - nested quoted triple, object position 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
:s :p :o .
:a :q <<:s :p :o >> .
<< :a :q <<:s :p :o >>>> :r :z .
MUST be accepted
Turtle-star - compound forms 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
:x :r :z .
:a :b :c .
<<:a :b :c>> :r :z .
<<:x :r :z >> :p <<:a :b :c>> .
<< <<:x :r :z >> :p <<:a :b :c>> >>
:q
<< <<:x :r :z >> :p <<:a :b :c>> >> .
MUST be accepted
Turtle-star - blank node subject 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
_:a :p :o .
<<_:a :p :o >> :q 456 .
MUST be accepted
Turtle-star - blank node object 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
:s :p _:a .
<<:s :p _:a >> :q 456 .
MUST be accepted
Turtle-star - blank node 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
<<[] :p [] >> :q :z .
MUST be accepted
Turtle-star - bad - quoted triple as predicate 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example/>
:s :p :o .
:x <<:s :p :o>> 123 .
MUST be rejected
Turtle-star - bad - quoted triple outside triple 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example/>
:s :p :o .
<<:s :p :o>> .
MUST be rejected
Turtle-star - bad - collection list in quoted triple 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example/>
:s :p ("abc") .
<<:s :p ("abc") >> :q 123 .
MUST be rejected
Turtle-star - bad - literal in subject position of quoted triple 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example/>
:s :p :o .
<<3 :p :o >> :q :z .
MUST be rejected
Turtle-star - bad - blank node as predicate in quoted triple 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example/>
<<:s [] :o>> :q 123 .
MUST be rejected
Turtle-star - bad - compound blank node expression 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example/>
<<:s :p [ :p1 :o1 ] >> :q 123 .
MUST be rejected
Turtle-star - bad - incomplete quoted triple 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example/>
:s :p << :p :r >> .
MUST be rejected
Turtle-star - bad - over-long quoted triple 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example/>
:s :p << :g :s :p :o >> .
MUST be rejected
Turtle-star - Annotation form 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
:s :p :o {| :r :z |} .
MUST be accepted
Turtle-star - Annotation example 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
PREFIX : <http://example/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
:s :p :o {| :source [ :graph <http://host1/> ;
:date "2020-01-20"^^xsd:date
] ;
:source [ :graph <http://host2/> ;
:date "2020-12-31"^^xsd:date
]
|} .
MUST be accepted
Turtle-star - bad - empty annotation 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example.com/ns#>
SELECT * {
:s :p :o {| |} .
}
MUST be rejected
Turtle-star - bad - triple as annotation 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
PREFIX : <http://example.com/ns#>
:a :b :c {| :s :p :o |} .
MUST be rejected
N-Triples-star as Turtle-star - subject quoted triple 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
<< <http://example/s> <http://example/p> <http://example/o> >> <http://example/q> <http://example/z> .
MUST be accepted
N-Triples-star as Turtle-star - object quoted triple 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
<http://example/x> <http://example/p> << <http://example/s> <http://example/p> <http://example/o> >> .
MUST be accepted
N-Triples-star as Turtle-star - subject and object quoted triples 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
<< <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 as Turtle-star - whitespace and terms 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
<<<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 as Turtle-star - Nested, no whitespace 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
<<<<<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 as Turtle-star - Blank node subject 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
_:b0 <http://example/p> <http://example/o> .
<< _:b0 <http://example/p> <http://example/o> >> <http://example/q> "ABC" .
MUST be accepted
N-Triples-star as Turtle-star - Blank node object 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
<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 as Turtle-star - Nested subject term 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
<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 as Turtle-star - Nested object term 🔗
status: | proposed |
---|
type: | TestTurtlePositiveSyntax |
---|
<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 as Turtle-star - Bad - quoted triple as predicate 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
<http://example/a> << <http://example/s> <http://example/p> <http://example/o> >> <http://example/z> .
MUST be rejected
N-Triples-star as Turtle-star - Bad - quoted triple, literal subject 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
<< "XYZ" <http://example/p> <http://example/o> >> <http://example/q> <http://example/z> .
MUST be rejected
N-Triples-star as Turtle-star - Bad - quoted triple, literal predicate 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
<< <http://example/s> "XYZ" <http://example/o> >> <http://example/q> <http://example/z> .
MUST be rejected
N-Triples-star as Turtle-star - Bad - quoted triple, blank node predicate 🔗
status: | proposed |
---|
type: | TestTurtleNegativeSyntax |
---|
<< <http://example/s> _:label <http://example/o> >> <http://example/q> <http://example/z> .
MUST be rejected