query-d016a0d8fdf8b459fba16e90047ff15a
List of items with female and male name in English
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#>
SELECT ?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)) = "en")
FILTER((LANG(?femaleform)) = ?lang)
FILTER((LANG(?maleform)) = ?lang)
}
LIMIT 100
Query found at
graph TD
classDef projected fill:lightgreen;
classDef literal fill:orange;
classDef iri fill:yellow;
v3("?femaleform"):::projected
v5("?item"):::projected
v4("?itemLabel"):::projected
v6("?lang"):::projected
v1("?maleform"):::projected
a1((" "))
c3(["wd:Q12737077"]):::iri
f0[["?maleform = ?lang"]]
f0 --> v1
f0 --> v6
f1[["?femaleform = ?lang"]]
f1 --> v3
f1 --> v6
f2[["?itemLabel = 'en'"]]
f2 --> v4
a1 --"wdt:P279"--> c3
v5 --"wdt:P31"--> a1
v5 --"wdt:P2521"--> v3
v5 --"wdt:P3321"--> v1
v5 --"rdfs:label"--> v4
bind3[/"?itemLabel"/]
v4 --o bind3
bind3 --as--o v6