query-95beb9715a06d72502de1c2805f57bfa

rq turtle/ttl

Number of persons with P735=Q4925477 SELECT (COUNT(DISTINCT ?item) as ?ct) { ?item wdt:P735 wd:Q4925477 ; wdt:P31 wd:Q5 }

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#Number of persons with P735=Q4925477
SELECT (COUNT(DISTINCT ?item) as ?ct) { ?item wdt:P735 wd:Q4925477 ; wdt:P31 wd:Q5 }

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?ct") v1("?item"):::projected c2(["wd:Q4925477"]):::iri c4(["wd:Q5"]):::iri v1 --"wdt:P735"--> c2 v1 --"wdt:P31"--> c4 bind1[/"count(?item)"/] v1 --o bind1 bind1 --as--o v2