query-84bd136c86661dafc42b3f4d877336bb

rq turtle/ttl

TODO

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
# centres educatius de Barcelona
SELECT DISTINCT ?centre ?centreLabel ?coordinate
WHERE {
   {
  SELECT ?centre 
WHERE {
  ?centre wdt:P131* wd:Q1492.
 } }
  ?centre wdt:P31/wdt:P279* wd:Q5341295.
  ?centre wdt:P625 ?coordinate.
SERVICE wikibase:label {
bd:serviceParam wikibase:language "ca,en,es" .
}
}
#defaultView:Map

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?centre"):::projected v2("?coordinate"):::projected a1((" ")) c5(["wd:Q5341295"]):::iri c8(["bd:serviceParam"]):::iri c2(["wd:Q1492"]):::iri c10(["ca,en,es"]):::literal v1 --"wdt:P131"--> c2 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 v1 --"wdt:P625"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end