query-3f47e3fe3641e89cdbab14d37959c8be
Folks not using female/male for sex or gender (P21)
Use at
- https://query.wikidata.org/sparql
PREFIX wikibase: <http://wikiba.se/ontology#>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX schema: <http://schema.org/>
PREFIX bd: <http://www.bigdata.com/rdf#>
SELECT DISTINCT ?itemLabel ?link ?item ?genderLabel ?pronomLabel
WHERE
{
?item wdt:P31 wd:Q5 .
?item wdt:P21 ?gender .
FILTER ( ?gender != wd:Q6581072 )
FILTER ( ?gender != wd:Q6581097 )
OPTIONAL { ?item wdt:P6553 ?pronom }
# ?link is about ?item
?link schema:about ?item .
# ?link is on english wikipedia
?link schema:isPartOf <https://en.wikipedia.org/>
SERVICE wikibase:label { bd:serviceParam wikibase:language "en,fr" }
}
ORDER BY ?genderLabel
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v2("?gender")
v1("?genderLabel"):::projected
v3("?item"):::projected
v5("?link"):::projected
v4("?pronom")
c13(["en,fr"]):::literal
c9([https://en.wikipedia.org/]):::iri
c11(["bd:serviceParam"]):::iri
c4(["wd:Q5"]):::iri
f0[["?gender != 'wd:Q6581097'"]]
f0 --> v2
f1[["?gender != 'wd:Q6581072'"]]
f1 --> v2
v3 --"wdt:P31"--> c4
v3 --"wdt:P21"--> v2
subgraph optional0["(optional)"]
style optional0 fill:#bbf,stroke-dasharray: 5 5;
v3 -."wdt:P6553".-> v4
end
v5 --"schema:about"--> v3
v5 --"schema:isPartOf"--> c9
subgraph s1["http://wikiba.se/ontology#label"]
style s1 stroke-width:4px;
c11 --"wikibase:language"--> c13
end