I am trying to return a list of people in wikipedia that have dates of birth listed. The code below works for English Wikipedia, but will not return persons in non-English wikis. How can I return a list of people who are in any wikipedia?
[{
"id": null,
"name": null,
"type": "/people/person",
"date_of_birth": [{
"optional": "required",
"value": null
}],
"/wikipedia/topic/en_id": [{
"optional": "required",
"value": null
}] }]
Freebase has links to non-English Wikipedias, but only if the topic also appears in English Wikipedia, so the data you want probably isn't available to query, but if it were, you could use something like this:
[{
"id": null,
"name": null,
"type": "/people/person",
"date_of_birth": [{
"optional": "required",
"value": null
}],
"key": [{
"namespace": {
"key": {
"namespace": {
"id": "/wikipedia"
}
}
}
}]
}]