Logo of Wikidata

Welcome to Wikidata, Ch1902!

Wikidata is a free knowledge base that you can edit! It can be read and edited by humans and machines alike and you can go to any item page now and add to this ever-growing database!

Need some help getting started? Here are some pages you can familiarize yourself with:

  • Introduction – An introduction to the project.
  • Wikidata tours – Interactive tutorials to show you how Wikidata works.
  • Community portal – The portal for community members.
  • User options – including the 'Babel' extension, to set your language preferences.
  • Contents – The main help page for editing and using the site.
  • Project chat – Discussions about the project.
  • Tools – A collection of user-developed tools to allow for easier completion of some tasks.

Please remember to sign your messages on talk pages by typing four tildes (~~~~); this will automatically insert your username and the date.

If you have any questions, don't hesitate to ask on Project chat. If you want to try out editing, you can use the sandbox to try. Once again, welcome, and I hope you quickly feel comfortable here, and become an active editor for Wikidata.

Best regards! -- Cheers, Riley Huntley 07:05, 7 February 2013 (UTC)Reply

Autopatroller edit

Hello, Ch1902! I am just letting you know that I have added the autopatroller flag to your account, as you are a trusted user on Wikidata. If you have any questions or concerns, please don't hesitate to contact me or leave a message at the Project chat. Thanks, -- Cheers, Riley Huntley 07:05, 7 February 2013 (UTC)Reply

Bot to help edit

Hi Ch1902, I noticed that you are, just like me, working on family relations. I just build a little bot to help. It loops over the usage of Infobox royalty. It grabs the mother and the father and updates the wikidata object here. Should save a lot of manual work. Multichill (talk) 13:21, 17 February 2013 (UTC)Reply

I just started noticing its edits poping up on my watchlist, very useful bot :) I've been concentrating on the direct lines of descent of monarchies at the moment and manually checking relationships so that I can add spouses and children too. I know bots are probably going to end up doing 90% of Phase 2 by parsing infoboxes but I thought I'd give them a head start anyway. /Ch1902 (talk) 14:07, 17 February 2013 (UTC)Reply
I did that too last night to get a hang of it. I figured I could also do it with a bot so I made a proof-of-concept today. Multichill (talk) 14:24, 17 February 2013 (UTC)Reply

User:Multichill/Charlemagne edit

Keep an eye on that page. Multichill (talk) 20:21, 23 February 2013 (UTC)Reply

Blimey, that is a big family tree! I'm not sure if the early Frankish kings' family trees are filled in enough to allow tracing the current monarchies right back to him. I'm going through the early ones by hand because they don't have infoboxes, but I come up against a wall because most children and spouses don't have wiki articles, and the current consensus seems to be against creating Person items without wiki articles just for the sake of cross linking :-( /Ch1902 (talk) 12:58, 24 February 2013 (UTC)Reply
It sure is, but it should be even bigger! So I took on the challenge and thanks to graph and set theory I think I got a link.
We should be able to do this trick for all the current monarchies. I'm going to add some more links now ;-) Multichill (talk) 13:58, 24 February 2013 (UTC)Reply
I'd love to add the attested children of Herbert I, Count of Vermandois by an unknown wife to make it easy to link back to Charlemagne through Beatrice and Robert I of France's descendants. But I checked translations of all the other languages and they say the same thing, there's no contemporary proof they were his children. Even though they are linked all over wikipedia, including in this list of Carolingians as his children, it just seems like cheating. /Ch1902 (talk) 16:45, 24 February 2013 (UTC)Reply
On the plus side, I'm really giving my highschool French a work out, frwiki has more detailed articles on these early Frankish kings that aren't on enwiki. /Ch1902 (talk) 16:57, 24 February 2013 (UTC)Reply
Something is wrong with the bot or the data (or both): User:Multichill/Charlemagne contains a loop. Quite hard to find and break. See also the history of that page. People seem to have dropped off. That means that someone remove an object or a claim. Multichill (talk) 17:35, 24 February 2013 (UTC)Reply
I'm not sure where the problem is, or how you're generating that tree really! Would it be because of interbreeding, cousins marrying cousins and the like? It's easier to go bottom up than top down so I wrote a quick PHP script to traverse up the tree from Elizabeth II and managed to link her to Charlemagne. Filling in the trees for the Dukes of Lorraine really helped :-D If my code is right, then Charlemagne is Elizabeth II's father's mother's mother's father's father's mother's father's mother's father's mother's father's father's father's father's father's mother's father's father's father's mother's father's father's father's mother's father's father's mother's mother's mother's father's father's father's father's father's father. I used the Ahnentafel method leaving out the unknown relatives and stopping branches that are inter-marrying. I've put the graphviz code at /Charlemagne if you want to generate the graph (I'd go for SVG, the PNG was 15515x5365!). I'll generate some more graphs of other European royals tomorrow and try and tidy up the display a bit (I'm not great with graphviz), and maybe add some highlighting for monarchs of other nations through history.
It'd be nice in the future if all the Ahnentafel templates on enwiki etc could be generated with Lua directly from wikidata, or maybe that's too much to hope for :-) /Ch1902 (talk) 23:32, 24 February 2013 (UTC)Reply
Fixed up the code and now I get proper output. Just three tree breakers. Yes, automatic Graphviz would be nice! Multichill (talk) 22:47, 25 February 2013 (UTC)Reply

Translation for Ancestry tool/gadget edit

I've add translations for your tool. Please check it. Kind regards,  Ę-oиė  >>> 23:17, 18 March 2013 (UTC)Reply

Thanks very much for the translations, I've gone ahead and added them :-) /Ch1902 (talk) 23:44, 18 March 2013 (UTC)Reply
You're welcome, Sir. But it's not work on Indonesian nor Minangkabau. http://prntscr.com/ww5rw and http://prntscr.com/ww5zk Please check, Sir.  Ę-oиė  >>> 00:17, 19 March 2013 (UTC)Reply
Sorry about that, it wasn't using the set language properly. It should be fixed now but you'll have to clear your browser cache or visit [1] and press Ctrl+F5 to get a fresh copy of the script. /Ch1902 (talk) 11:45, 19 March 2013 (UTC)Reply
Nice work, Sir! Thank You very much. Kind regards,  Ę-oиė  >>> 12:08, 19 March 2013 (UTC)Reply

More sources to import? edit

Hi Ch1902, I imported information from the English, Dutch and French Wikipedia about fathers and mothers. Any suggestion what language has some more decent information about this in an infobox? German Wikipedia doens't seem to be suitable. Multichill (talk) 20:15, 22 March 2013 (UTC)Reply

Hey Multichill, nice job on the import! Seems like anybody who is anybody is related at some point in history ;-) The English, French and Dutch wikipedias were the big three I was checking for infobox links too. The Portuguese, Italian, Catalan, Spanish, Polish and Czech wikis have infoboxes as well, but I doubt there's many links you won't already have imported. The national wikis are sometimes good for filling in the little and obscure people (Dukes, Counts, etc) from the areas that the language is spoken though so it's worth a try.
The first time I ran my script to get the ancestry of Elizabeth II and Beatrix back to Charlemagne there were 1,168 and 1,301 unique ancestors each in their trees, now after your bot run they have more than doubled to 2,731 and 2,757 unique ancestors each! /Ch1902 (talk) 22:52, 22 March 2013 (UTC)Reply
I thought Commons would reject these because they contain links and title attributes but apparently not :-D /Ch1902 (talk) 23:13, 22 March 2013 (UTC)Reply
That looks pretty cool! What are you using for that?
I found some more infoboxes in other languages and I'm importing them right now. Are you focusing on European royalty or are you also working on ancient Greek/Roman/Egypt/etc? Multichill (talk) 13:51, 23 March 2013 (UTC)Reply
Just some PHP and graphviz :-) The PHP uses the API to get the mum and dad claims for each person, puts them in an array with keys ($i * 2) for dad and ($i * 2 + 1) for mum (using bcmath on my 32-bit machine) and then recurses up for each parent breaking when it finds an existing key in a map of Q numbers so it doesn't fetch duplicates. Then just loop back through the array and print out labels and nodes in graphviz format. It ends up skewed to the dad's side because it does dads first and won't print out duplicates for the mum.
I was focusing on European nobility first then I was going to have a look at ancient Egypt because they are mostly dynastic families too. It's frustrating not to have the MultilingualText property type or qualifiers now because practically everyone your bot has imported could do with a successor, predecessor, noble title, etc. /Ch1902 (talk) 16:06, 23 March 2013 (UTC)Reply

Kinship edit

See Wikidata:Requests for comment/Kinship. I'm afraid this will turn into one big mess. Multichill (talk) 17:41, 26 April 2013 (UTC)Reply

Ancestry tool edit

Hi Ch1902, I've been using your Ancestry tool for a few months and found it very useful, unfortunately now I can't get it to work with any page, even where it previously worked. Among the pages I've tried are Hashim ibn 'Abd Manaf and Elizabeth II, and all the cells in the family tree appear as "unknown" even where the 'father' and 'mother' properties are set.--Underlying lk (talk) 21:47, 4 October 2013 (UTC)Reply

Subclasses tool edit

Can you please modify your tool and create (or modify Template:Tree) so that it has dynamically expanded levels (like in http://simia.net/treeoflife/ru.html)? Infovarius (talk) 07:03, 26 November 2013 (UTC)Reply

wbEntity config value to be dropped on July 24th edit

Hello,

We are about to drop the mw.config.get( 'wbEntity') config value, that is deprecated for two years. Starting on Wednesday, July 24th, scripts that use this value may encounter issues.

I noticed that your script located on User:Ch1902/family.js is still using this value. I suggest that you update it, for example by using the hook wikibase.entityPage.entityLoaded (see an example here).

If you have any questions or need help, feel free to leave a comment under the related task.

Thanks for your understanding, Lea Lacroix (WMDE) (talk) 08:56, 22 July 2019 (UTC)Reply