query-dce6270ecf4e1fdfc74cd26cf8ee65d5

rq turtle/ttl

Show items with a property which has ANY qualifier ? qualifier. (P137)operator property which has (P121)item operated with (Q3002150)aircraft crash Hi, I have found out how to get

Use at

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/>
SELECT ?item ?reference WHERE {
  ?item wdt:P31 wd:Q3002150.
  ?item p:P121 [ pq:P137 ?reference ] 
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected v2("?reference"):::projected a1((" ")) c2(["wd:Q3002150"]):::iri v1 --"p:direct/P31"--> c2 a1 --"p:qualifier/P137"--> v2 v1 --"p:P121"--> a1