query-1350770bc2306169dc8750bf679c2a97

rq turtle/ttl

Query for prenames vs gender 19:14, 22 April 2017 (UTC)) talk (Steak because assigning a male prename to a woman is obviously bullshit. (Q235719)Christian Serratos from (Q18001597)Christian I am looking for query which gives me the items with incorrectly added prenames in the sense that the assigned gender of the person's item and the assigned gender of the prename's item are not the same. As an example, I have just removed

Use at

PREFIX wdt: <http://www.wikidata.org/prop/direct/>
PREFIX wd: <http://www.wikidata.org/entity/>
SELECT ?item {
# ?item wdt:P21 wd:Q6581072; wdt:P735 [ wdt:P31 wd:Q12308941 ] . # female person with male given name
  ?item wdt:P21 wd:Q6581097; wdt:P735 [ wdt:P31 wd:Q11879590 ] . # male person with female given name
}

Query found at

graph TD classDef projected fill:lightgreen; classDef literal fill:orange; classDef iri fill:yellow; v1("?item"):::projected a1((" ")) c4(["wd:Q11879590"]):::iri c2(["wd:Q6581097"]):::iri v1 --"wdt:P21"--> c2 a1 --"wdt:P31"--> c4 v1 --"wdt:P735"--> a1