query-9300e0c091fa6be7fbed5e8772ff5ea0

rq turtle/ttl

Females with male given namesMight I request a report showing items with an en.wiki article, in which the gender is female but the given name is a male given name 00:49, 1 February 2017 (UTC)) talk (Tagishsimon. thanks --(Q12308941)male given name is an instance of (P735)given name , value for (Q6581072)female = (P21)sex or gender

Use at

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 ?item ?itemLabel ?name ?nameLabel
WHERE
{
    ?article    schema:about ?item ;
            schema:isPartOf <https://en.wikipedia.org/> .
  ?item wdt:P21 wd:Q6581072 .
  ?item wdt:P735 ?name .
  ?name wdt:P31 wd:Q12308941
  SERVICE wikibase:label { bd:serviceParam wikibase:language "en" }
}
LIMIT 200

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?article") v2("?item"):::projected v3("?name"):::projected c3([https://en.wikipedia.org/]):::iri c8(["wd:Q12308941"]):::iri c10(["bd:serviceParam"]):::iri c12(["en"]):::literal c5(["wd:Q6581072"]):::iri v1 --"schema:about"--> v2 v1 --"schema:isPartOf"--> c3 v2 --"wdt:P21"--> c5 v2 --"wdt:P735"--> v3 v3 --"wdt:P31"--> c8 subgraph s1["http://wikiba.se/ontology#label"] style s1 stroke-width:4px; c10 --"wikibase:language"--> c12 end