Execute failed: Endpoint returned Content-Type: text/turtle which is not currently supported for SELECT queries

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)
}

Hi @menuma -

Is this is KNIME-specific question, or a question about SPARQL more generally?

The node gives the error so i think it is a knime question.

The response from fuseki is ok. The node dos not seem the expect trxt/turtle as response. But what it should be i don’t know.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.