query-dfa44eda35a20a620c91aff497a4ad10

rq turtle/ttl

qid-KDM-img

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX ps: <http://www.wikidata.org/prop/statement/>
PREFIX pq: <http://www.wikidata.org/prop/qualifier/>
PREFIX p: <http://www.wikidata.org/prop/>
SELECT ?item ?KDM ?img WHERE { 
 ?item wdt:P170 wd:Q381238 .  
 ?item p:P528 [ pq:P972 wd:Q106425660; ps:P528 ?KDM] .
 optional{ ?item wdt:P18 ?img. }
} order by ?KDM

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?KDM"):::projected v3("?img"):::projected v2("?item"):::projected a1((" ")) c2(["wd:Q381238"]):::iri c4(["wd:Q106425660"]):::iri v2 --"p:direct/P170"--> c2 a1 --"p:qualifier/P972"--> c4 a1 --"p:statement/P528"--> v1 v2 --"p:P528"--> a1 subgraph optional0["(optional)"] style optional0 fill:#bbf,stroke-dasharray: 5 5; v2 -."p:direct/P18".-> v3 end