Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
Fuseki 2.0.0
-
None
Description
If I create a new dataset through the web interface, have not uploaded any data yet, and under Dataset/Query click the Example Query "
Selection of Classes" I get the error:
Error 400: Parse error: SELECT distinct ?class ?label ?description where { ?class a owl:Class. OPTIONAL { ?class rdfs:label ?label} OPTIONAL { ?class rdfs:comment ?description} } LIMIT 25 Line 5, column 12: Unresolved prefixed name: owl:Class Fuseki - version 2.0.0-SNAPSHOT (Build date: 2015-01-25T09:54:26+0000)
The fix is to either add to the example query:
PREFIX owl: <http://www.w3.org/2002/07/owl#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
or - much better (or in addition) - always interpret prefixes for
owl, rdfs, rdf, xsd
(any others?)
Ideally 'distinct' and 'where' should also be upper-case in the example query