query-1f2601fa6857dc016e91b5b46b2796d2

rq turtle/ttl

Items with P1 with qualifier P2=Q1

Use at

PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT DISTINCT ?item WHERE {
  ?item p:P1 [ pq:P2 ?qualValue ].
  FILTER (?qualValue = wd:Q1)
}
LIMIT 100

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?item"):::projected v1("?qualValue") a1((" ")) f0[["?qualValue = 'wd:Q1'"]] f0 --> v1 a1 --"p:qualifier/P2"--> v1 v2 --"p:P1"--> a1