SPARQL query to Jena Fuseki Endpoint gives error as stated in title
Endpoint: http://localhost:3030/test/sparql
Query:
PREFIX : http://www.me-ds.nl/voc/voertuig#
PREFIX rdf: http://www.w3.org/1999/02/22-rdf-syntax-ns#
PREFIX owl: http://www.w3.org/2002/07/owl#
PREFIX soc: http://www.socrata.com/rdf/terms#
PREFIX xsd: http://www.w3.org/2001/XMLSchema#
PREFIX skos: http://www.w3.org/2004/02/skos/core#
PREFIX rdfs: http://www.w3.org/2000/01/rdf-schema#
PREFIX ds: https://opendata.rdw.nl/resource/_5k74-3jha/
CONSTRUCT
{
:voertuig rdf:type owl:Class .
:voertuig skos:prefLabel “Voertuig”@nl .
:voertuig skos:prefLabel “Vehicle”@en .
:voertuig rdfs:label “Voertuig”@nl .
:Kwaliteit rdf:type owl:Class .
:heeftWaarde rdf:type owl:DatatypeProperty .
:heeftKwaliteit rdf:type owl:ObjectProperty .
?concepturi rdf:type owl:Class .
?concepturi rdfs:label ?clabel .
?concepturi skos:prefLabel ?clabel .
?concepturi skos:definition ?cdefinition .
?concepturi rdfs:subClassOf :Kwaliteit .
?uripred rdf:type owl:ObjectProperty .
?uripred rdfs:subPropertyOf :heeftKwaliteit .
?uripred rdfs:domain :voertuig .
?uripred rdfs:range ?concepturi .
}
WHERE
{ ?conceptsscheme
?p skos:ConceptScheme ;
skos:prefLabel ?cslabel ;
skos:prefLabel “Gekentekend voertuig schema”@nl .
?concept rdf:type skos:Concept ;
skos:prefLabel ?clabel ;
skos:inScheme ?conceptsscheme ;
skos:definition ?cdefinition
BIND(“http://www.me-ds.nl/voc/voertuig#” AS ?base)
BIND(IRI(concat(?base, “heeft”, replace(replace(?clabel, " ", “”), “[()/]”, “”))) AS ?uripred)
BIND(IRI(concat(?base, replace(str(?concept), “http://www.me-datastudio.nl/vocabularies/voertuig#”, “”))) AS ?concepturi)
}