query-3e5bde2a4edb1890f212f1bcecf9a56d

rq turtle/ttl

Projecte universitatsTots els ítems localitzats en algun lloc de Catalunya que són subclasse d'universitat

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#>
SELECT ?univ ?univLabel ?llocLabel
WHERE
{

{
  SELECT ?univ
WHERE {
 ?univ wdt:P131* wd:Q5705;
       } }          ?univ wdt:P31/wdt:P279* wd:Q3918;
        wdt:P131 ?lloc  
        SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],ca,es,en". }
        }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?lloc") v1("?univ"):::projected a1((" ")) c2(["wd:Q5705"]):::iri c7(["bd:serviceParam"]):::iri c9(["#91;AUTO_LANGUAGE#93;,ca,es,en"]):::literal c5(["wd:Q3918"]):::iri v1 --"wdt:P131"--> c2 v1 --"wdt:P31"--> a1 a1 --"wdt:P279"--> c5 v1 --"wdt:P131"--> v2 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c7 --"wikibase:language"--> c9 end