User:HenkvD/sandbox
#added before 2016-10
#Demonstrates "unknown value" handling
SELECT ?human ?humanLabel
WHERE
{
?human wdt:P21 ?gender
FILTER isBLANK(?gender) .
SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
See source Wikidata query and sources.
d:Wikidata:SPARQL query service/Wikidata Query Help/Result Views