TriG-star - subject quoted triple 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p :o .
  <<:s :p :o>> :q 123 .
}
MUST be accepted
TriG-star - object quoted triple 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p :o .
  :x :p <<:s :p :o>> .
}
MUST be accepted
TriG-star - quoted triple inside blankNodePropertyList 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p :o .
  [ :q <<:s :p :o>> ] :b :c .
}
MUST be accepted
TriG-star - quoted triple inside collection 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p :o1 .
  :s :p :o2 .
  ( <<:s :p :o1>> <<:s :p :o2>> )  :q 123 .
}
MUST be accepted
TriG-star - nested quoted triple, subject position 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p :o .
  <<:s :p :o >> :r :z .
  << <<:s :p :o >> :r :z >> :q 1 .
}
MUST be accepted
TriG-star - nested quoted triple, object position 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p :o .
  :a :q <<:s :p :o >> .
  << :a :q <<:s :p :o >>>> :r :z .
}
MUST be accepted
TriG-star - compound forms 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :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
TriG-star - blank node subject 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {
  _:a :p :o .
  <<_:a :p :o >> :q 456 .
}
MUST be accepted
TriG-star - blank node object 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p _:a .
  <<:s :p _:a >> :q 456 .
}
MUST be accepted
TriG-star - blank node 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {<<[] :p [] >> :q :z .}
MUST be accepted
TriG-star - bad - quoted triple as predicate 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p :o .
  :x <<:s :p :o>> 123 .
}
MUST be rejected
TriG-star - bad - quoted triple outside triple 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p :o .
  <<:s :p :o>> .
}
MUST be rejected
TriG-star - bad - collection list in quoted triple 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p ("abc") .
  <<:s :p ("abc") >> :q 123 .
}
MUST be rejected
TriG-star - bad - literal in subject position of quoted triple 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example/>
:G {
  :s :p :o .
  <<3 :p :o >> :q :z .
}
MUST be rejected
TriG-star - bad - blank node  as predicate in quoted triple 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example/>
:G {
  <<:s [] :o>> :q 123 .
}
MUST be rejected
TriG-star - bad - compound blank node expression 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example/>
:G {
  <<:s :p [ :p1 :o1 ]  >> :q 123 .
}
MUST be rejected
TriG-star - bad - incomplete quoted triple 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example/>
:G {:s :p << :p :r >> .}
MUST be rejected
TriG-star - bad - over-long quoted triple 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example/>
:G {:s :p << :g :s :p :o >> .}
MUST be rejected
TriG-star - Annotation form 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX : <http://example/>
:G {:s :p :o {| :r :z |} }
MUST be accepted
TriG-star - Annotation example 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigPositiveSyntax | 
|---|
PREFIX :       <http://example/>
PREFIX xsd:     <http://www.w3.org/2001/XMLSchema#>
:G {
  :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
TriG-star - bad - empty annotation 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example.com/ns#>
:G {:s :p :o {|  |} .}
MUST be rejected
TriG-star - bad - triple as annotation 🔗
| status: | proposed | 
|---|
| type: | rdft:TestTrigNegativeSyntax | 
|---|
PREFIX : <http://example.com/ns#>
:G {:a :b :c {| :s :p :o |} .}
MUST be rejected