query-0ab267227c921326cd0f5b9f3fde9c42

rq turtle/ttl

Centres educatius per tipus

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 Catalunya per tipus, en un territori determinat (provĂ­ncia de Girona)
SELECT DISTINCT ?centre ?centreLabel ?coordinate ?layer ?layerLabel
WHERE {
   {
  SELECT ?centre 
WHERE {
  ?centre wdt:P131* wd:Q7194.
 } }
  ?centre wdt:P31/wdt:P279* wd:Q5341295.
  ?centre wdt:P625 ?coordinate.
  ?centre wdt:P31 ?layer
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 v3("?layer"):::projected a1((" ")) c5(["wd:Q5341295"]):::iri c2(["wd:Q7194"]):::iri c8(["bd:serviceParam"]):::iri c10(["ca,en,es"]):::literal v1 --"wdt:P131"--> c2 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 v1 --"wdt:P625"--> v2 v1 --"wdt:P31"--> v3 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c8 --"wikibase:language"--> c10 end