query-143e31296a4b9479ee1a1c463ff3c58c

rq turtle/ttl

Selecciona items amb un qualificador especĂ­fic en una propietat especĂ­fica i mostra el seu valor

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT ?item ?itemLabel ?tipusLabel ?qualLabel  WHERE {
  ?item wdt:P31 ?tipus;
          p:P1435 [
            pq:P2614 ?qual
          ].
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en". }
}
limit 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v3("?qual") v2("?tipus") a1((" ")) c5(["bd:serviceParam"]):::iri c7(["#91;AUTO_LANGUAGE#93;,en"]):::literal v1 --"p:direct/P31"--> v2 a1 --"p:qualifier/P2614"--> v3 v1 --"p:P1435"--> a1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c5 --"wikibase:language"--> c7 end