Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
Jena 3.16.0
-
None
Description
QueryFactory.create("PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> ASK { SELECT * { ?class a rdfs:Class . } }").cloneQuery().toString()
produces
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> ASK WHERE { PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> SELECT * WHERE { ?class a rdfs:Class } }
which is invalid SPARQL syntax (note the second PREFIX).
Attachments
Issue Links
- is related to
-
JENA-1862 Query.cloneQuery is slow
- Closed