Replies: 2 comments
-
In commit 4190a5b, the pegjs files were modified. |
Beta Was this translation helpful? Give feedback.
0 replies
-
This issue is fixed in SPARQL 1.2 grammar. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In the grammar of SPARQL1.1 specification,
PropertyListPathNotEmpty
is defined as follows:[83] PropertyListPathNotEmpty ::= ( VerbPath | VerbSimple ) ObjectListPath ( ';' ( ( VerbPath | VerbSimple ) ObjectList )? )*
Note that
ObjectListPath
is used before the;
whereasObjectList
is used after the;
which means property path is not allowed after the
;
.For example, the following query is valid:
However, the following query is not valid:
This seems to be inconsistent and problematic.
It appears that the definition of
PropertyListPathNotEmpty
should instead be:[83] PropertyListPathNotEmpty ::= ( VerbPath | VerbSimple ) ObjectListPath ( ';' ( ( VerbPath | VerbSimple ) ObjectListPath )? )*
With this revision,
ObjectListPath
is consistently used both before and after the;
.Beta Was this translation helpful? Give feedback.
All reactions