query-af9601ad234600fb68d460e33ec4b14e
Would it be safe for those 63700 items to male? (P21)sex or gender to set the
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
select ?item where {
?item wdt:P31 wd:Q5 .
?item wdt:P735 ?voornaam .
?voornaam wdt:P31 wd:Q12308941 .
optional {?item wdt:P21 ?geslacht} .
filter (!bound(?geslacht))}
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v1("?geslacht")
v2("?item"):::projected
v3("?voornaam")
c4(["wd:Q12308941"]):::iri
c2(["wd:Q5"]):::iri
f0[["not bound(?geslacht)"]]
f0 --> v1
v2 --"wdt:P31"--> c2
v2 --"wdt:P735"--> v3
v3 --"wdt:P31"--> c4
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v2 -."wdt:P21".-> v1
end