You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Turtle 1.1 has two syntax forms that generate multiple triples on parsing, blankNodePropertyList (e.g. [ :p 123 ; :q "abc" ]) and collection (e.g. ("A" "B" "X")).
The grammar productions subject and object allow collections, the object production also allows blankNodePropertyList (a blankNodePropertyList in the subject position is handled in production triples.
The syntax for reified triples in Turtle 1.2 uses subject and object (editors working draft of 12 September 2024).
The triples from the blankNodePropertyList structure are in the set of triples of the graph. They are not reified. The blank node for the [ ...] is in the reified triple.
PR #70 address this by having productions rtSubject and rtObject for subject and object position in reified triples, and defines them to include only "single triple" possibilities (c.f. the existing ttSubject and ttObject`).
A similar situation exists for annotation syntax except that blankNodePropertyList triples are meant to be in the set of triples of the graph, so there is no effect.
The only confusing factor is that the reification of the annotation only includes the blank node subject of the blankNodePropertyList or collection, not the compound form triples.This is not fixable in any practical way but does not add make additional assertions into the graph.
The text was updated successfully, but these errors were encountered:
afs
linked a pull request
Sep 16, 2024
that will
close
this issue
Turtle 1.1 has two syntax forms that generate multiple triples on parsing, blankNodePropertyList (e.g.
[ :p 123 ; :q "abc" ]
) and collection (e.g.("A" "B" "X")
).The grammar productions
subject
andobject
allow collections, theobject
production also allowsblankNodePropertyList
(ablankNodePropertyList
in the subject position is handled in productiontriples
.The syntax for reified triples in Turtle 1.2 uses
subject
andobject
(editors working draft of 12 September 2024).allows collections in the subject position, and allows collections and blankNodePropertyList in the object position.
A reified triple declaration such as:
generates
The triples from the blankNodePropertyList structure are in the set of triples of the graph. They are not reified. The blank node for the
[ ...]
is in the reified triple.PR #70 address this by having productions
rtSubject
andrtObject
for subject and object position in reified triples, and defines them to include only "single triple" possibilities (c.f. the existingttSubject and
ttObject`).A similar situation exists for annotation syntax except that blankNodePropertyList triples are meant to be in the set of triples of the graph, so there is no effect.
The only confusing factor is that the reification of the annotation only includes the blank node subject of the blankNodePropertyList or collection, not the compound form triples.This is not fixable in any practical way but does not add make additional assertions into the graph.
The text was updated successfully, but these errors were encountered: