query-e40b8fac93ffd8bdaae6204984416e7b

rq turtle/ttl

Get all qualifiers that qualify a particular property

Use at

PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT  ?qualifier ?qualifierLabel ?asObject ?asObjectLabel
WHERE
{
  wd:P3990 wikibase:claim ?p .
  ?qualifier wikibase:qualifier ?q .
  ?item ?p ?prop . 
  ?prop ?q ?asObject .
  ?property wikibase:statementProperty ?ps .
  ?prop ?ps ?value .
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en,bg"  }    
}
ORDER BY ASC(?value) 
LIMIT 1000

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v7("?asObject"):::projected v5("?item") v2("?p") v6("?prop") v8("?property") v9("?ps") v4("?q") v3("?qualifier"):::projected v1("?value") c1(["wd:P3990"]):::iri c6(["bd:serviceParam"]):::iri c8(["en,bg"]):::literal c1 --"wikibase:claim"--> v2 v3 --"wikibase:qualifier"--> v4 v5 -->v2--> v6 v6 -->v4--> v7 v8 --"wikibase:statementProperty"--> v9 v6 -->v9--> v1 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c6 --"wikibase:language"--> c8 end