Categorize gender Q2449503
This commit is contained in:
parent
3c43a3f2d3
commit
6af51323e7
@ -876,13 +876,14 @@ final class NodaWikidataFetcher {
|
||||
$wikidata_gender_id = $data['claims']['P21']['0']['mainsnak']['datavalue']['value']['id'];
|
||||
|
||||
switch ($wikidata_gender_id) {
|
||||
case "Q6581097": // male
|
||||
case "Q44148": //male organism
|
||||
case "Q6581097": // male
|
||||
case "Q44148": // male organism
|
||||
case "Q2449503": // transgender man
|
||||
$wikidata_gender = "male";
|
||||
break;
|
||||
case "Q6581072":
|
||||
case "Q1052281": // transgender female
|
||||
case "Q43445": // female organism
|
||||
case "Q1052281": // transgender female
|
||||
case "Q43445": // female organism
|
||||
$wikidata_gender = "female";
|
||||
break;
|
||||
case "Q48270":
|
||||
|
Loading…
Reference in New Issue
Block a user