query-4806d10f728b19f161fba92adf221b04

rq turtle/ttl

Qualifiers

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?item ?ordinal ?itemLabel WHERE {
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en-gb,en,mul". }
  {
    SELECT DISTINCT ?item ?ordinal WHERE {
      ?item wdt:P31 wd:Q91285;
      p:P31 [ pq:P1545 ?ordinal].
    }
  }
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?ordinal"):::projected a1((" ")) c4(["en-gb,en,mul"]):::literal c2(["bd:serviceParam"]):::iri c6(["wd:Q91285"]):::iri subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c2 --"wikibase:language"--> c4 end v1 --"p:direct/P31"--> c6 a1 --"p:qualifier/P1545"--> v2 v1 --"p:P31"--> a1