-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Description
I have tried to get the following query running. I always get
Could not identify format for service response: serviceURI=http://wikiba.se/ontology#tabular, contentType=application/rdf+xml : response=
my query
PREFIX hint: <http://www.bigdata.com/queryHints#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX bd: <http://www.bigdata.com/rdf#>
PREFIX tabular: <http://wikiba.se/ontology-tabular#>
PREFIX osmm: <https://sophox.org/ontology#>
PREFIX osmt: <https://sophox.org/ontology/tags/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
SELECT * WHERE {
hint:Query hint:optimizer "None" .
SERVICE wikibase:tabular {
bd:serviceParam wikibase:otQuery '''
[out:csv(::id,::type,name)][timeout:25];
(
node["place"="village"]["wikidata"!~".*"](50,8.4045882700567,50.518665868545,9.3054671763067);
);
out;
''' .
?type tabular:%40type 'string' .
?id tabular:%40id 'string' .
?name tabular:name 'string' .
}
BIND(URI(CONCAT("https://www.openstreetmap.org/", ?type, "/", ?id)) AS ?osmId)
?osmId osmm:loc ?loc .
OPTIONAL {
?osmId osmt:wikidata ?wikidata .
?wikidata wdt:P31 ?instanceOf .
SERVICE wikibase:label {
bd:serviceParam wikibase:language "[AUTO_LANGUAGE],de" .
?instanceOf rdfs:label ?instanceOfLabel .
}
}
}Metadata
Metadata
Assignees
Labels
No labels