query-1117d7e18dcfc9168c3a2b294cfe8af9
title: humans with double sex/gender (non trans) SELECT ?item where { # (count(distinct ?item) as ?count) WHERE { # ?item wdt:P21 wd:Q6581072 . ?item wdt:P21 wd:Q6581097 . #filter not exists {?item wdt:P21/wdt:P279* wd:Q189125 } #?item wdt:P31 wd:Q5 . #bind (replace(xsd:string(?item),"http://www.wikidata.org/entity/","") as ?itemQid)
#SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" } . } order by ?item offset 0 limit 50
Use at
- https://query.wikidata.org/sparql
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX bd: <http://www.bigdata.com/rdf#>
#title: humans with double sex/gender (non trans)
SELECT ?item where { # (count(distinct ?item) as ?count) WHERE { #
?item wdt:P21 wd:Q6581072 .
?item wdt:P21 wd:Q6581097 .
#filter not exists {?item wdt:P21/wdt:P279* wd:Q189125 }
#?item wdt:P31 wd:Q5 .
#bind (replace(xsd:string(?item),"http://www.wikidata.org/entity/","") as ?itemQid)
#SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en" } .
} order by ?item offset 0 limit 50
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?item"):::projected
c3(["wd:Q6581097"]):::iri
c2(["wd:Q6581072"]):::iri
v1 --"wdt:P21"--> c2
v1 --"wdt:P21"--> c3