Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
Jena 3.0.0
-
None
Description
The following SPARQL query:
SELECT ?uri WHERE { ?uri <http://www.w3.org/2000/01/rdf-schema#subPropertyOf>+ <http://purl.org/linked-data/sdmx/2009/dimension#refArea> }
When converted into an sse:
(path ?uri (path+ <http://www.w3.org/2000/01/rdf-schema#subPropertyOf>) <http://purl.org/linked-data/sdmx/2009/dimension#refArea>)
and converted back into a SPARQL query via OpAsQuery is syntactically invalid. Note the misplaced `.`:
SELECT * WHERE { . ?uri (<http://www.w3.org/2000/01/rdf-schema#subPropertyOf>)+ <http://purl.org/linked-data/sdmx/2009/dimension#refArea> }
The same seems to occur for all other property paths (e.g. those that use +, *, /, ^ etc...)
This seems related to issues resolved in JENA-963.
Attachments
Issue Links
- is related to
-
JENA-991 OpAsQuery : Combine adjacent ElementPathBlocks
- Closed