query-b4993c6ae81719257e829f683f891186
See https://m.wikidata.org/wiki/User:PAC2/Gender_neutral_labels
title: Items with male form as a generic form in French
SELECT DISTINCT ?item ?itemLabel ?femaleform ?maleform ?lang WHERE { wd:Q12737077 (^(wdt:P279*)/^wdt:P31) ?item. ?item wdt:P2521 ?femaleform; wdt:P3321 ?maleform; rdfs:label ?itemLabel. BIND(LANG(?itemLabel) AS ?lang) FILTER((LANG(?itemLabel)) = "fr") FILTER((LANG(?femaleform)) = ?lang) FILTER((LANG(?maleform)) = ?lang) FILTER(?itemLabel = ?maleform) FILTER(?itemLabel != ?femaleform) } ORDER BY ?item LIMIT 100
Use at
- https://query.wikidata.org/sparql
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
# See https://m.wikidata.org/wiki/User:PAC2/Gender_neutral_labels
#title: Items with male form as a generic form in French
SELECT DISTINCT ?item ?itemLabel ?femaleform ?maleform ?lang WHERE {
wd:Q12737077 (^(wdt:P279*)/^wdt:P31) ?item.
?item wdt:P2521 ?femaleform;
wdt:P3321 ?maleform;
rdfs:label ?itemLabel.
BIND(LANG(?itemLabel) AS ?lang)
FILTER((LANG(?itemLabel)) = "fr")
FILTER((LANG(?femaleform)) = ?lang)
FILTER((LANG(?maleform)) = ?lang)
FILTER(?itemLabel = ?maleform)
FILTER(?itemLabel != ?femaleform)
}
ORDER BY ?item
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?femaleform"):::projected
v1("?item"):::projected
v2("?itemLabel"):::projected
v6("?lang"):::projected
v4("?maleform"):::projected
a1((" "))
c3(["wd:Q12737077"]):::iri
f0[["?itemLabel != ?femaleform"]]
f0 --> v2
f0 --> v3
f1[["?itemLabel = ?maleform"]]
f1 --> v2
f1 --> v4
f2[["?maleform = ?lang"]]
f2 --> v4
f2 --> v6
f3[["?femaleform = ?lang"]]
f3 --> v3
f3 --> v6
f4[["?itemLabel = 'fr'"]]
f4 --> v2
a1 --"wdt:P279"--> c3
v1 --"wdt:P31"--> a1
v1 --"wdt:P2521"--> v3
v1 --"wdt:P3321"--> v4
v1 --"rdfs:label"--> v2
bind5[/"?itemLabel"/]
v2 --o bind5
bind5 --as--o v6