{"id":18952544,"url":"https://github.com/jdan/wikidata-family-tree","last_synced_at":"2025-07-03T05:05:19.393Z","repository":{"id":145189903,"uuid":"313756008","full_name":"jdan/wikidata-family-tree","owner":"jdan","description":"Ancestry on wikidata","archived":false,"fork":false,"pushed_at":"2020-11-17T22:25:00.000Z","size":5885,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-06T14:04:44.178Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jdan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-11-17T22:12:49.000Z","updated_at":"2021-04-03T14:14:31.000Z","dependencies_parsed_at":null,"dependency_job_id":"39324a3d-2922-4bfb-9745-04cb9b6d1509","html_url":"https://github.com/jdan/wikidata-family-tree","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jdan/wikidata-family-tree","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fwikidata-family-tree","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fwikidata-family-tree/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fwikidata-family-tree/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fwikidata-family-tree/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jdan","download_url":"https://codeload.github.com/jdan/wikidata-family-tree/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jdan%2Fwikidata-family-tree/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263264645,"owners_count":23439256,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-08T13:33:52.747Z","updated_at":"2025-07-03T05:05:19.368Z","avatar_url":"https://github.com/jdan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## wikidata family tree\n\nplaying around with (messy) ancestry data on wikidata\n\n### get a list of parent-child relationships\n\nhttps://query.wikidata.org/\n\n```\nselect ?person ?parent where {\n  ?parent wdt:P31 wd:Q5;\n          wdt:P40 ?person.\n}\n```\n\ndownload as `raw.json`\n\n### massage the data\n\nnode `generate-parent-child.js`\n\n### display an ancestry\n\nRun `node script.js` with a single argument representing a wikidata entry (i.e. https://www.wikidata.org/wiki/Q2263)\n\n```\n$ node script.js Q2263\n1. Tom Hanks (1956 - ?)\n2. Amos Mefford Hanks (1923 - 1991)\n3. Ernest Buel Hanks (1889 - 1934)\n4. Daniel Boone Hanks (1846 - 1920)\n5. Thomas Hanks (? - ?)\n6. Sarah Tandy (1790 - 1861)\n7. John Tandy (1750 - 1815)\n8. Jane Quarles (? - ?)\n9. Moses Quarles (1703 - ?)\n10. Jane Mallory (? - ?)\n11. Capt. Roger Mallory (1636 - 1694)\n12. Thomas Mallory (? - ?)\n13. Thomas Mallory (? - ?)\n14. Sir William Mallory, of Studley (? - ?)\n15. Sir William Mallory, of Studley (? - ?)\n16. Sir John Mallory, of Studley (? - ?)\n17. Joan Constable, of Halsham (? - ?)\n18. Laura|Lora FitzHugh (? - ?)\n19. William FitzHugh, 4th Baron FitzHugh (? - 1452)\n20. Elizabeth Grey (? - ?)\n21. Sir Robert Grey (? - ?)\n22. Avice Marmion (? - ?)\n23. Maud de Furnivalle (? - ?)\n24. Joan de Verdun (? - 1334)\n25. Maud de Mortimer (? - ?)\n26. Margaret Mortimer, Baroness Mortimer (? - 1333)\n27. Blanche of Brienne (? - ?)\n28. Jeanne, Dame de Chateaudun (? - ?)\n29. Clémence des Roches (? - ?)\n30. Marguerite de Sablé (? - ?)\n31. Clémence de Mayenne (? - ?)\n32. Geoffroy III de Mayenne (1134 - 1169)\n33. Clemence de Ponthieu (? - ?)\n34. William III, Count of Ponthieu (1094 - 1171)\n35. Agnes, Countess of Ponthieu (? - ?)\n36. Guy I, Count of Ponthieu (1099 - 1100)\n37. Hugh II, Count of Ponthieu (999 - 1051)\n38. Adelina of Holland (989 - 1039)\n39. Lutgardis of Luxemburg (? - 1005)\n40. Hedwig of Nordgau (921 - 992)\n41. Eberhard IV of Nordgau (? - 973)\n42. Hug I de Nordgau (? - 939)\n43. Eberhard III van de Nordgau (? - ?)\n44. Eberhard II Wichmann (? - ?)\n45. Meginhard I von Hamelant (? - ?)\n46. Adelaide of Paris (849 - 901)\n47. Adalard of Paris (829 - 890)\n48. Q4448472 (? - ?)\n49. Beggo, Count of Toulouse (759 - 816)\n50. (Rotrude) (? - ?)\n51. Pepin I of Aquitaine (796 - 838)\n52. Louis the Pious (778 - 840)\n53. Hildegard of Vinzgouw (757 - 783)\n54. Emma of Alamannia (? - ?)\n55. Hnabi (? - ?)\n56. Huoching (? - 743)\n57. Oda von Bayern (? - ?)\n58. Theodo II of Bavaria (624 - 716)\n59. Agilolf von Bayern (? - ?)\n60. Geila von Friaul (? - ?)\n61. Gisulf II of Friuli (599 - 610)\n62. Gisulf I of Friuli (599 - 580)\n63. Grasulf I of Friuli (? - 589)\n64. Rodelinda (? - ?)\n65. Amalaberga (? - 539)\n66. Amalafrida (459 - 525)\n67. Theodemir (499 - 473)\n68. Vandalarius (? - 458)\n69. Vinitharius (? - ?)\n70. Q12274488 (? - ?)\n71. Q20046254 (? - ?)\n72. Achiulfo (269 - ?)\n73. Q12079601 (? - ?)\n74. Q12168019 (? - ?)\n75. Ostrogota (? - ?)\n76. Q20045829 (? - ?)\n77. Amal (? - ?)\n78. Augis (? - ?)\n79. Q20045834 (? - ?)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdan%2Fwikidata-family-tree","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjdan%2Fwikidata-family-tree","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjdan%2Fwikidata-family-tree/lists"}