query-56ede46f4065c3f5506fd0ecf57c628d

rq turtle/ttl

lost works known from photographs

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 (count(?item) as ?count) WHERE {
 ?item wdt:P170 wd:Q381238 .     
 ?item p:P195/pq:P828 wd:Q4140840  .
 ?item p:P195/pq:P518 wd:Q114187913   .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?count") v1("?item"):::projected a1((" ")) a2((" ")) c2(["wd:Q381238"]):::iri c7(["wd:Q114187913"]):::iri c5(["wd:Q4140840"]):::iri v1 --"p:direct/P170"--> c2 v1 --"p:P195"--> a1 a1 --"p:qualifier/P828"--> c5 v1 --"p:P195"--> a2 a2 --"p:qualifier/P518"--> c7 bind1[/"count(?item)"/] v1 --o bind1 bind1 --as--o v2