query-c2b2297f10d7c4661812373bce4d70ac

rq turtle/ttl

title: count humans with double sex/gender SELECT (count(distinct ?item) as ?count) WHERE { ?item wdt:P21 wd:Q6581072 . ?item wdt:P21 wd:Q6581097 . }

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
#title: count humans with double sex/gender
SELECT  (count(distinct ?item) as ?count) WHERE { 
  ?item wdt:P21 wd:Q6581072 .
  ?item wdt:P21 wd:Q6581097 .
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v2("?count") v1("?item"):::projected c3(["wd:Q6581097"]):::iri c2(["wd:Q6581072"]):::iri v1 --"wdt:P21"--> c2 v1 --"wdt:P21"--> c3 bind1[/"count(?item)"/] v1 --o bind1 bind1 --as--o v2