User talk:Magnus Manske/Archive 5

From Wikidata
Jump to navigation Jump to search

Reinheitsgebot P31

Thanks a lot for all the recent additions of P31. I was looking for the thank you option on the history pages until finding out it is a bot. Now 10 million items are rooted. Tamawashi (talk) 16:36, 11 July 2014 (UTC)

P31: album

Hello, I noticed that you added a parameters "album" for item P31. Due to filling infoboxes on Wikipedia would be better giving the type of album there: "studio album" / "live album" / "compilation album" / "extended play" (and possibly further). Do you think this could be changed? See there (in Czech) and there. --Marek Koudelka (talk) 13:46, 12 July 2014 (UTC)

I don't have a bot that can parse wikitext. I can "update" some of them if there are appropriate categories on a Wikipedia. --Magnus Manske (talk) 14:44, 12 July 2014 (UTC)
Thanks for the information, I didn't know it. So, there are categories on English Wikipedia: Live albums (by year), Compilation albums (by year), EPs (by year), Video albums (by year), Soundtracks (by year), Remix albums (by year), Demo albums and studio albums are in subcategories of Category:Albums by year (YYYY albums). There are Wikidata items: Q208569 (studio), Q209939 (live), Q222910 (compilation), Q169930 (EP), Q4176708 (soundtrack) and Q963099 (remix). Others (video and demo) don't have item on WD. --Marek Koudelka (talk) 15:17, 12 July 2014 (UTC)

Block of Reinheitsgebot

Hi, unfortunately I've had to block your bot because it was adding several incorrect statements over the last several hours: [1][2][3] When there are this many errors that someone has to go through and check, it is inappropriate to use a bot for this task. Please let me know if you are able to fix this, and I can unblock. --Rschen7754 18:23, 12 July 2014 (UTC)

These are in en.wp categories of "unincorporated areas", that's why the bot added that statement. If you have a clear way of defining the "bad" ones, I can revert them (e.g. item list, or they are all in a Wikipedia category). I won't be running that set of categories again, so you can unblock. Thanks for keeping an eye out! --Magnus Manske (talk) 19:11, 12 July 2014 (UTC)


Your Reinheitsgebot bot assigned instance of (P31)=human (Q5) to a number of "groups of humans": [4], [5] and [6] for instance. Though none had P31 assigned, one had is a list of (P360). Seems to me we'd be better without a P31=Q5 on such cases. LaddΩ chat ;) 19:09, 12 July 2014 (UTC)
Yup, same as I wrote above: I can revert edits from an item list, or specific characteristics. --Magnus Manske (talk) 19:12, 12 July 2014 (UTC)
Unblocked now, and thanks for responding so quickly. --Rschen7754

On Eisenhower Tunnel I don't see a "unincorporated area" category. But your tag of architectural structure was correct. I don't understand why Rschen7754 removed it, and didn't even place an alternative P31? Same for Northern Expressway. So out of three examples of alleged mistagging in the initial post, two were not mistagging. Tamawashi (talk) 20:28, 12 July 2014 (UTC)

While that is an "architectural structure" that is too generic to be useful. Something more specific should have been used. --Rschen7754 20:57, 12 July 2014 (UTC)
Can you cite any policy that enforces information removal if that information is less specific than some imaginary non-attached information? Furthermore, such statements as "is architectural structure" allow the removal of GND main type = geographic feature. If you cannot cite a policy that enforces such removal of correct information, please seek consensus via an RfC first before doing it again. Tamawashi (talk) 22:36, 12 July 2014 (UTC)

this is not a town and it is in the category CDP. Tamawashi (talk) 20:07, 12 July 2014 (UTC)

I think I know part of the problem: Some of the U.S. locations that Reinheitsgebot is marking instance of (P31):unincorporated area (Q269528) could be marked instance of (P31):census-designated place in the United States (Q498162) (a subclass of unincorporated area (Q269528)) instead. (I don't know what source Reinheitsgebot is using, so I don't know if the source makes a distinction.) Apparently, a few days ago, some anonymous user erroneously added a bunch of aliases to unincorporated area (Q269528) that should be aliases for census-designated place in the United States (Q498162) instead. I'll change it now. --Closeapple (talk) 21:37, 12 July 2014 (UTC)

I've started a discussion at Talk:Q269528#Terms for places that are not incorporated municipalities, because I think other users are getting confused also. --Closeapple (talk) 22:24, 12 July 2014 (UTC)

Yet other questions about tools !

Just two of them:

  • item creator: item creation is possible from Wikisource, but only when we provide the list of link. The "create from category tree" option is apparently restricted to Wikipedia. Is that fixable ? There appears to be many Wikisource pages that still lack an item.
  • The missing image heat map shows that some items have issues (like they are supposed to be located in Paris but have coordinates in England). Unfortunately, there is no way to find the items the cause the heat. Or do I miss something - is there a way I can see the results of a particular query on a map ? --Zolo (talk) 14:42, 12 July 2014 (UTC)
I added a "project" input to the creator; note that it still only does namespace 0 (article/main). As for the map, in principle yes, but I haven't figured out how to display large numbers of items as "pins" yet. You could patch a query to get some items yourself though; see the API doc, especially the AROUND command. --Magnus Manske (talk) 15:18, 12 July 2014 (UTC)
Thanks for the update.
I don't think that Wikidataquery alone can get a list of items with p131 Paris that are implausibly far from the Eiffel Tower, but I could get that using toolscript, it appears to be frightfully powerful... --Zolo (talk) 16:03, 12 July 2014 (UTC)
@Zolo: I've added an option to load the individual markers. --Magnus Manske (talk) 23:07, 12 July 2014 (UTC)
Thanks, but I can't see anything new with the tool. --Zolo (talk) 06:38, 13 July 2014 (UTC)
@Zolo: There is a "Show/hide individual markers" link under the map now. May need to force-reload once. --Magnus Manske (talk) 10:01, 13 July 2014 (UTC)
Oh I see thanks ! While I'm here, I noted that creating items from Wikisource with the item creator does not add a lable. No big deal as other bots can do it later on, just notifying. --Zolo (talk) 10:11, 13 July 2014 (UTC)

Road map = image on Reasonator

Can you make Reasonator display a road's map like it does an image? Also maybe a highway's marker like a city's coat of arms? Thanks. --AmaryllisGardener talk 00:22, 16 July 2014 (UTC)

bug in wdq ?

Hello, this query gives strange results like merchant (Q215536) (label 商人) and West Lake (Q502371) (西湖) that never had any link to zh.wikisource. --Widar of zolo (talk) 08:44, 16 July 2014 (UTC)

There was a bug (unrelated to WDQ) that looked for Wikipedia title matches in Wikidata, no matter what project you specified. Fixed now. --Magnus Manske (talk) 08:57, 16 July 2014 (UTC)
Hi Magnus, it seems that there is now a problem with autolist2 in associating Wikipedia pages from a category with the corresponding Wikidata items. Each time I try I have "Getting corresponding Wikidata items... 0 items found.". — Ayack (talk) 09:22, 16 July 2014 (UTC)
Should work now. Please give example next time! --Magnus Manske (talk) 09:30, 16 July 2014 (UTC)
Yes, thanks! And sorry for the example, I forgot to paste the permalink... — Ayack (talk) 09:37, 16 July 2014 (UTC)

Hyphenated language codes in item creator

When trying to create items from a category (like 1950年代) with the item creator, I needed to change the hyphen into an underscore (zh_yue). That not totally intuitive but it works. However, I cannot create the item: when alias does not exist it shows: "Problem creating item". --Zolo (talk) 13:37, 16 July 2014 (UTC)

Buch vs. literarisches Werk

Hallo Magnus, ich habe gesehen, dass du ganz fleißig Bücher per Bot (User:Reinheitsgebot) mit P31: literary work (Q7725634) kennzeichnest. Die Wikidata:Books task force hat sich aber bereits auf den Terminus book (Q571) geeinigt. Mit genre (P136) wird die Art des Werkes näher bestimmt. (Beide Begriffe werden entsprechend weit gefasst.) Wäre gut, wenn wir die Arbeit abstimmen, denn natürlich ist beides möglich. Gruß --Kolja21 (talk) 16:44, 18 July 2014 (UTC)

Danke, der "book"-run ist erst mal vorbei. Ich kann alle instance of (P31):literary work (Q7725634) in book (Q571) umwandeln (aber dann wirklich alle, nicht nur die von meinem Bot!), wenn das hilfreich ist. Grüße, Magnus Manske (talk) 17:26, 18 July 2014 (UTC)
Wir haben zwar auf instance of (P31): geeignit, aber das ist technisch inkorrekt. inception (P571) bedeutet ein materiales Buch, und so ist nicht für Texte geignet. P31: literary work (Q7725634) sieht viel besser aus. Help:Sources soll wahrscheinlich geändert werden. Siehe Wikidata:Project chat#Issue with "instance of" for texts. --Zolo (talk) 17:39, 18 July 2014 (UTC)
@Zolo: Wir haben uns falsch geeinigt, weil du inception (P571) neu/anders interpretierst? Mit "materiales Buch" meinst vermutlich gedrucktes Buch, das bekanntlich aber auch immateriell als E-Book gelesen und zitiert werden darf ... Ich denke, es hilft nicht weiter, wenn wir jetzt alles verwirren und behaupten, dass die Definitionen der Eigenschaften anders gemeint als sie formuliert sind. @Magnus: Danke für die schnelle Rückmeldung. Ich gebe die Frage an Wikidata talk:Books task force#Buch vs. literarisches Werk weiter. --Kolja21 (talk) 19:43, 18 July 2014 (UTC)
Tippfehler, entschuldigung. Ich meinte book (Q571), nicht P571. Ich interpriere es nicht neu. Q571 = en:Book = de:Buch bedeutet "eine mit einer Bindung und meistens auch mit Bucheinband (Umschlag) versehene Sammlung von bedruckten, beschriebenen, bemalten oder auch leeren Blättern aus Papier oder anderen geeigneten Materialien" (so kein e-book).
Ich denke eine Diskussion auf dem englischen Project Chat ist besser als eine Diskussion auf Deutsch auf Wikidata talk:Books task force. Es gibt schon ein Link auf Wikidata talk:Books task force#Instance_of_books. --Zolo (talk) 20:51, 18 July 2014 (UTC)

Autolist2 failing

Hi Magnus, I'm having a bit of trouble loading lists on Autolist2. I'm using a WDQ "claim[225] AND claim[31] AND noclaim[31:16521]" with "either category or WDQ" selected and I'm getting this message:

"Getting WDQ data... Warning: file_get_contents(http://wikidata-wdq-mm.eqiad.wmflabs/api?q=claim%5B225%5D+AND+claim%5B31%5D+AND+noclaim%5B31%3A16521%5D): failed to open stream: HTTP request failed! in /data/project/wikidata-todo/public_html/autolist2.php on line 136 Notice: Trying to get property of non-object in /data/project/wikidata-todo/public_html/autolist2.php on line 137 0 items loaded."

I'm not sure what is wrong with the code, so would appreciate help if possible. Thanks. Delsion23 (talk) 18:01, 19 July 2014 (UTC)

Very strange. Gateway error. Should be back now. --Magnus Manske (talk) 19:23, 19 July 2014 (UTC)
Yes, it does appear to work now. Cheers :) Delsion23 (talk) 20:43, 19 July 2014 (UTC)

Duplicate claims

Hi, your bot create a lot of duplicate claims (example). — Ivan A. Krestinin (talk) 08:19, 20 July 2014 (UTC)

Thanks. There is a delay between generating the statement and setting it on Wikidata, which could cause these doubles. The OAuth API code already filters out attempts to create duplicate strings and items "links"; I've now added dates a well. Shouldn't happen again. --Magnus Manske (talk) 11:23, 20 July 2014 (UTC)
Ok, thanks. My bot clean existing duplicates. — Ivan A. Krestinin (talk) 11:36, 20 July 2014 (UTC)

Another issue: ~1200 invalid Library of Congress authority ID (P244) values. Please see Wikidata:Database reports/Constraint violations/P244#"Format" violations. — Ivan A. Krestinin (talk) 11:40, 20 July 2014 (UTC)

Bot should be fixed for this now. Is there a bot that fixes the ~1200? Or at least removes them? I will add the corrected ones soon, but I can't remove specific entries at the moment. --Magnus Manske (talk) 12:11, 20 July 2014 (UTC)
Ok, I start removing these values. — Ivan A. Krestinin (talk) 12:40, 20 July 2014 (UTC)
Thanks, I have added the "corrected" ones where I could figure out the correct schema ("n" and "sh" escape me though...). --Magnus Manske (talk) 13:01, 20 July 2014 (UTC)
One wish: please add imported from Wikimedia project (P143) for bot-added values. It is needed for error source tracking. It is difficult to review all linked pages to find error source. — Ivan A. Krestinin (talk) 13:10, 20 July 2014 (UTC)
I'll look into it. --Magnus Manske (talk) 13:23, 20 July 2014 (UTC)
OK, I have experimental source addition enabled. Please tell me if you see something funny with them... --Magnus Manske (talk) 18:57, 20 July 2014 (UTC)

testcase for autolist bug

Hi! tools.wmflabs.org/wikidata-todo/autolist.html?q=claim[131:16144] AND claim[190] AND noclaim[1036] lists Cigole (Q104007) which contains a Dewey Decimal Classification (P1036) statement since many days.
Please do not modify the item but fix the bug or state what is going wrong here. If so I might post some more / other strange result for other queries. regards לערי ריינהארט (talk) 20:48, 16 July 2014 (UTC)

Any news on this? I looked in the version history. There where no multiple edits for Dewey Decimal Classification (P1036) (which should not matter at all). לערי ריינהארט (talk) 23:42, 19 July 2014 (UTC)

Another testcase: http://tools.wmflabs.org/wikidata-todo/autolist.html?q=claim[17:414] AND claim[190] AND noclaim[1036] Q17296763 does not contain twinned administrative body (P190) any more. Regards לערי ריינהארט (talk) 15:53, 21 July 2014 (UTC)

Biografisch Portaal number dupes

Hi Magnus, please take a look at this list. The same id "85041920" has been added to multiple items by your bot. I assume this is from mix'n'match. Something went wrong here. Can you look into it? Multichill (talk) 17:35, 22 July 2014 (UTC)

Very odd. It's only once in mix'n'match. I'll remove them here and see what happens on the next update... --Magnus Manske (talk) 22:26, 22 July 2014 (UTC)
It sure is weird. Put some of the items on my watchlist. Let's see what happens. Multichill (talk) 18:45, 23 July 2014 (UTC)

Quick statements and qualifiers

Hi Magnus, I want to add start time (P580): 1840 as a qualifier of instance of (P31): classified historical monument (Q10387684) to a list of items. I put the following line in quick_statements :

Q1765966	P31	Q10387684	P580	+00000001840-01-01T00:00:00Z/9

but it added start time (P580): 1840 as a regular statement (not as a qualifier). Could you tell me where I've done an error please? Thanks in advance. — Ayack (talk) 08:47, 23 July 2014 (UTC)

Minor bug, should be fixed now. --Magnus Manske (talk) 09:43, 23 July 2014 (UTC)
Yes, it's working now. Thanks! — Ayack (talk) 09:53, 23 July 2014 (UTC)

Abfrage mit fehlendem Qualifier

Hallo Magnus, mit TREE[14560][][171] bekomme ich heraus, welche Einträge zu den Kakteengewächsen existieren. TREE[14560][][171] and CLAIM[225]{CLAIM[405]} verrät mir, welche davon einen Qualifier taxon author (P405) für taxon name (P225) besitzen. So weit wunderbar. Nun interessieren mich aber genau die Einträge bei denen taxon author (P405) noch fehlen. TREE[14560][][171] and CLAIM[225]{NOCLAIM[405]} liefert leider kein Ergebnis. Mache ich was falsch? Gruß --Succu (talk) 14:08, 23 July 2014 (UTC)

Das geht leider (im Moment noch!) nicht direkt. Schneller Hack: in autolist2 die Abfrage mit qualifier laufen lassen, auf "Download" klicken; die gleiche Abfrage ohne qualifier (TREE[14560][][171] and CLAIM[225]) laufen lassen, nochmal "Download"; der diff der beiden Listen (oder sort|uniq -u oder so was) gibt Dir die gewünschte Liste. Kannst Du dann auch wieder in autolist2 pasten :-) --Magnus Manske (talk) 16:05, 23 July 2014 (UTC)
Danke. Es ist kein Problem für mich, mir das Ergebnis aus zwei Abfragen zusammenzubasteln. BTW: Hast du schon konkretere Pläne auch das Abfragen von bestimmten Nachweisen zu ermöglichen? Ich hätte da mindestens zwei Anwendungsfälle... Aber es geht auch anders, nur halt nicht so elegant. :) Gruß --Succu (talk) 18:23, 23 July 2014 (UTC)

OpenPlaques - bot issue

This edit is about a theatre, not a person (but thanks for a your other great OpenPlaques edits). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 23:18, 24 July 2014 (UTC)

Well, it still has a plaque... Why limit this to humans? You can filter for humans, if you want. --Magnus Manske (talk) 07:57, 25 July 2014 (UTC)

Invalid identifiers

Are edits such as these (1; 2) intentional? Gabbe (talk) 19:55, 25 July 2014 (UTC)

Yes, they obviously are; it is my aim to destroy Wikidata! --Magnus Manske (talk) 20:10, 25 July 2014 (UTC)

wrong edits

[7], [8], [9]. Greetings, --UV (talk) 22:15, 25 July 2014 (UTC)

Hello, Magnus Manske. You have new messages at UV's talk page.
You can remove this notice at any time by removing the {{Talkback}} or {{Tb}} template.

Hi Magnus, We have been using mix'n'match to match MEP's MEP directory ID (P1186). I just finished the auto matched items. Out of the total of 3,593 pages, we have matched 3,320 (92.5%) items. That leaves us with 273 (7.6%) MEP's that haven't been matched. I've been clicking through them and occasionally I'm able to find a match, but most of the time we just don't have an item yet. Would you be willing to just create these missing items? That's probably easiest. We can just merge the few duplicates this would create. Multichill (talk) 15:22, 26 July 2014 (UTC)

Running now. --Magnus Manske (talk) 17:51, 26 July 2014 (UTC)
@Multichill: All done: Q17420654,Q17420656,Q17420657,Q17420658,Q17420659,Q17420660,Q17420661,Q17420663,Q17420664,Q17420665,Q17420666,Q17420667,Q17420668,Q17420669,Q17420670,Q17420671,Q17420672,Q17420673,Q17420674,Q17420675,Q17420676,Q17420678,Q17420679,Q17420680,Q17420681,Q17420682,Q17420683,Q17420685,Q17420686,Q17420687,Q17420688,Q17420689,Q17420690,Q17420691,Q17420692,Q17420693,Q17420694,Q17420695,Q17420696,Q17420697,Q17420698,Q17420699,Q17420700,Q17420701,Q17420702,Q17420703,Q17420704,Q17420706,Q17420707,Q17420708,Q17420709,Q17420710,Q17420711,Q17420712,Q17420713,Q17420714,Q17420715,Q17420716,Q17420717,Q17420718,Q17420719,Q17420720,Q17420721,Q17420722,Q17420723,Q17420724,Q17420726,Q17420727,Q17420728,Q17420729,Q17420730,Q17420731,Q17420732,Q17420733,Q17420734,Q17420735,Q17420736,Q17420737,Q17420738,Q17420739,Q17420740,Q17420741,Q17420742,Q17420743,Q17420744,Q17420745,Q17420746,Q17420747,Q17420748,Q17420749,Q17420750,Q17420751,Q17420753,Q17420754,Q17420755,Q17420756,Q17420757,Q17420758,Q17420759,Q17420760,Q17420761,Q17420762,Q17420763,Q17420764,Q17420765,Q17420766,Q17420767,Q17420768,Q17420769,Q17420770,Q17420771,Q17420772,Q17420773,Q17420775,Q17420776,Q17420777,Q17420778,Q17420779,Q17420780,Q17420781,Q17420782,Q17420783,Q17420784,Q17420785,Q17420786,Q17420787,Q17420788,Q17420789,Q17420790,Q17420791,Q17420792,Q17420793,Q17420794,Q17420795,Q17420796,Q17420797,Q17420798,Q17420799,Q17420800,Q17420801,Q17420802,Q17420803,Q17420804,Q17420805,Q17420806,Q17420807,Q17420808,Q17420809,Q17420810,Q17420811,Q17420812,Q17420813,Q17420814,Q17420815,Q17420816,Q17420818,Q17420819,Q17420820,Q17420821,Q17420822,Q17420823,Q17420824,Q17420825,Q17420826,Q17420827,Q17420828,Q17420829,Q17420830,Q17420831,Q17420832,Q17420833,Q17420834,Q17420835,Q17420836,Q17420837,Q17420839,Q17420840,Q17420841,Q17420842,Q17420843,Q17420844,Q17420845,Q17420846,Q17420847,Q17420848,Q17420849,Q17420850,Q17420851,Q17420852,Q17420853,Q17420854,Q17420855,Q17420856,Q17420857,Q17420858,Q17420859,Q17420860,Q17420861,Q17420862,Q17420863,Q17420864,Q17420865,Q17420866,Q17420867,Q17420869,Q17420870,Q17420871,Q17420872,Q17420873,Q17420874,Q17420875,Q17420876,Q17420877,Q17420878,Q17420879,Q17420880,Q17420881,Q17420882,Q17420883,Q17420884,Q17420886,Q17420887,Q17420888,Q17420889,Q17420890,Q17420891,Q17420892,Q17420893,Q17420894,Q17420895,Q17420896,Q17420898,Q17420899,Q17420900,Q17420901,Q17420902,Q17420903,Q17420904,Q17420905,Q17420906,Q17420907,Q17420908,Q17420909,Q17420910,Q17420911,Q17420912,Q17420913,Q17420914,Q17420915,Q17420916,Q17420917,Q17420918,Q17420919,Q17420920,Q17420921,Q17420923,Q17420924,Q17420925,Q17420926,Q17420927,Q17420928,Q17420929,Q17420930,Q17420931,Q17420932,Q17420933,Q17420934,Q17420935,Q17420936,Q17420937,Q17420938,Q17420939,Q17420940. Label and basic properties added. Also inserted into Mix'n'match. Over to you. --Magnus Manske (talk) 18:01, 26 July 2014 (UTC)
Great! Did you also flush out mix'n'match so that Wikidata here is all up to speed?
Than I can start adding the easy claims to reduce the report. Multichill (talk) 18:13, 26 July 2014 (UTC)
All done now. --Magnus Manske (talk) 20:45, 26 July 2014 (UTC)

Autolist2 and search?

It would be interesting if one could cross autolist with search. Sample: Special:Search/Lucy not in (claim[735:13365715] or claim[734:17379071] or claim[138]) .

I tried just pasting the search results into the manual list, but these can't be crossed with WDQ. --- Jura 11:31, 25 July 2014 (UTC)

Search on Wikidata, or search on Wikipedia? Both, obviously! :-) --Magnus Manske (talk) 14:04, 25 July 2014 (UTC)
OK, I have changed the Autolist2 interface a bit to allow any combination of sources. Next, I'll add new sources, such as Wikidata and Wikipedia search. Will take a little while... --Magnus Manske (talk) 16:02, 25 July 2014 (UTC)
Great! The current version works for me. --- Jura 17:18, 25 July 2014 (UTC)
Hmm .. now it has even a search option. Cool!
BTW In [10] "Lucy" currently matches only "Lucy" and not "Lucy ASDF". --- Jura 04:37, 26 July 2014 (UTC)
On another issue: labels are currently not loaded for items in Autolist2/Autolist and Reasonator is off. --- Jura 08:35, 26 July 2014 (UTC)
Figured it out. --- Jura 17:35, 27 July 2014 (UTC)

Invalid IMDb identifiers

Reinheitsgebot (talkcontribslogs) is adding invalid IMDb identifiers. See this edit for example. See also Special:AbuseFilter/17 for how the invalid ones are defined. Gabbe (talk) 09:32, 23 July 2014 (UTC)

Should be fixed now, for future edits. --Magnus Manske (talk) 09:37, 23 July 2014 (UTC)
I think you should look at Wikidata:Database reports/Constraint violations/P345#"Format" violations. --putnik 15:40, 27 July 2014 (UTC)
It's still doing it. See this edit, for example. Gabbe (talk) 10:32, 29 July 2014 (UTC)

The imported data for VIAF ID (P214), Library of Congress authority ID (P244) and NDL Authority ID (P349) were incorrect. -- Vlsergey (talk) 10:28, 29 July 2014 (UTC)

Widar date error

Hi, please take a look at Wikidata:Contact the development team#Invalid time value. --JulesWinnfield-hu (talk) 11:01, 29 July 2014 (UTC)

Added value "1631" is not date of death (P570), but last known year of active work (as stated in English Wikipedia), so it's obvious bot bug. -- Vlsergey (talk) 11:03, 29 July 2014 (UTC)

It is the date of death, according to English Wikipedia. Bot is correct. Wikipedia may be wrong. --Magnus Manske (talk) 18:16, 29 July 2014 (UTC)

Autolist2: two request

Is possible to add a "NOT" operator? example: All the page in en:Category:Films by year AND NOT claim[31:11424]. Second request: is possible add something to detect empty Label/alias/description? --ValterVB (talk) 20:20, 28 July 2014 (UTC)

NOT is already there; it, actually, the default setting for WDQ. Your example. I tried a query for blank labels, but it does take too many resources. Maybe I'll find a way around that, but for no, no luck. --Magnus Manske (talk) 22:09, 28 July 2014 (UTC)
Thanks I need most powerful glasses :). --ValterVB (talk) 19:25, 29 July 2014 (UTC)

Deaths in July 2014 (Q17301037), Reasonator and list of: people (qualifier date of death: July 2014)

Might be interesting if this could work. Dates are tricky though. --- Jura 14:49, 1 August 2014 (UTC)

There is already date mode, which can be day, month, or year, and has events, births, deaths. --Magnus Manske (talk) 15:09, 1 August 2014 (UTC)

Q5 removed from James VI and James VII

Why did Reinheitsgebot remove instance of (P31):human (Q5) from James VI and I (Q79972) and James II of England (Q126188)? Each was a king of Great Britain. (Diffs: [11], [12].) --Closeapple (talk) 02:10, 3 August 2014 (UTC)

False positives from an attempt to remove false instance of (P31):human (Q5) claims on groups "X and Y". I thought I'd caught all false positives; apparently not. --Magnus Manske (talk) 09:27, 3 August 2014 (UTC)

Adding date of birth "20 century"

Hi,

Your bot made a number of edits like this one. As a result, infoboxes in articles contain contradictory information, for example, a person was born in 2000 and discovered some stars in 1997 and 1998.

I have two questions regarding this: 1) Why is it neccesary to add such a fake date of birth if no article contains a real one? 2) Why the edit and its description contradict each other? January 1, 2000 does not belong to the 20th century, it was the first day of the 21st century. --Michgrig (talk) 08:10, 7 August 2014 (UTC)

The date added is 20th century, not January 1, 2000. Nothing contradictory. It's the way Wikidata stores centuries (see precision indicator). --- Jura 08:19, 7 August 2014 (UTC)
So, do you want to say that it's not the problem of Wikidata but the problem of the information processing by infoboxes that do not account precision? --Michgrig (talk) 08:24, 7 August 2014 (UTC)
I don't think it's a problem for infoboxes, but they need take into account precision. Dates with a precision of days, months, years, decades and centuries can have the same ISO timestamp. For a sample of a year, see this. --- Jura 08:32, 7 August 2014 (UTC)
I don't think we understand the ISO format the same way. --- Jura 08:36, 7 August 2014 (UTC)

Monuments notes

Commons:User:Multichill/Monuments_notes#United_Kingdom. Multichill (talk) 14:52, 7 August 2014 (UTC)

Quick statements

Nice tool. BTW in the explanation+sample precision 9 and 11 seem inverted. --- Jura 17:34, 9 August 2014 (UTC)

Merge game

It happens quite regularly now that users of the game merge items on the administrative units in Thailand, which just have the name in common, but are totally different - different administrative type (confusingly there are quite a lot pairs of two different administrative units sharing the same name and area, luckily only few have items so far) or even a totally different location. It is quite annoying to revert the changes, especially if incoming links were also changed. Is it possible to add a "white list" to the game, items within that group are known to be unique and should never be shown as candidates for merge? I could easily create such a list for the Thai administrative units as I store them in XML files myself - in fact I only noticed these wrong merges due to that. Apparently many gamers don't check the suggestion enough to recognize that they are different. 12:31, 20 July 2014 (UTC)

There is no "white list" mechanism per se, but if you have an item they all link to (e.g. "administrative unit in Thailand", if that exists), I can auto-"resolve" pairs where at least one of the pair links to that item. --Magnus Manske (talk) 12:33, 20 July 2014 (UTC)
They all have instance of (P31) point to a subclass of administrative divisions of Thailand (Q1077333). Ahoerstemeier (talk) 14:04, 20 July 2014 (UTC)
I had same request some time ago: User talk:Ivan A. Krestinin/To merge#Checked items. Now User:Pasleim/whitelist is used for my bot and Pasleim`s bot. I think it is good idea to rename it it something like Wikidata:Don`t merge and use for all merge list generation algorithms. — Ivan A. Krestinin (talk) 12:54, 20 July 2014 (UTC)
I have "whitelisted" items with links to administrative divisions of Thailand (Q1077333) for now. Can revisit for "official", detailed list. --Magnus Manske (talk) 14:29, 20 July 2014 (UTC)
At Wikidata talk:Database reports/Constraint violations/P225 there is also quite a list of taxon items that shouldn't be merged, perhaps something to add to the whitelists. Kind regards, Lymantria (talk) 08:57, 23 July 2014 (UTC)
As I wrote a few lines above, there is no mechanism to whitelist a large number of items. However, apparently there is a proposed "homonym" property; the Game will not suggest merging items that link to each other, so once these taxa link to each other as "homonym", this issue will solve itself. --Magnus Manske (talk) 09:27, 23 July 2014 (UTC)

It seems the whitelist of the Thai administrative units doesn't work, I have spotted some new wrong merges using the game, e.g. Bang Lamung (Q1390973) with Bang Lamung (Q15980634). Ahoerstemeier (talk) 12:41, 13 August 2014 (UTC)

Autolist2 BUG?

I don't know if I wrong something but Permalink and Download don't "remember" the mode (AND/OR/NOT), the string have always &mode=undefined. It's a my problem or a bug? --ValterVB (talk) 13:50, 13 August 2014 (UTC)

Some of the newer features don't work correctly through the permalink. You need to add them manually to the url.
BTW a permalink option for the item creator would be nice. --- Jura 18:27, 13 August 2014 (UTC)
My problem is that I use Autolist for cross search in Wikipedia category and Wikidata statements but I need the results with Q number to use with my bot or with Quick Statements. Download can be useful but don't work correctly, maybe can be useful a flag to show only Q number in results. --ValterVB (talk) 19:13, 13 August 2014 (UTC)

Hello,

As you may already know, I've recently been working on an update to the Main page; I am hoping to launch this page in the next two weeks. I wanted to give you a heads up that your Wikidata tempo-spatial display tool is slated to be the first featured content in the new "Discover" section (note: this will only be temporary as this section's content is to be updated regularly as per discussions found here). Can you let me know if you have any objections or revisions to having your tool included? I'm really excited about including it as an example of some of the interesting applications and work coming out of the community! Cheers. -Thepwnco (talk) 18:24, 13 August 2014 (UTC)

Cool, thanks for the heads-up! And, no objections :-) --Magnus Manske (talk) 19:41, 13 August 2014 (UTC)
excellent, thanks for the speedy reply! -Thepwnco (talk) 21:57, 13 August 2014 (UTC)

Improvements to Wikidata useful

Hey there!

I am using the Wikidata useful tool to update tons of Hebrew Wikidata items without male / female indication. Great tool.

However, I encounter 2 issues which are taking out the fun...

1. Working with Chrome 10, the links do not show on the right or left side as in the picture but rather in the bottom. So instead of having it handy, you need to scrol all the way down to get it, which adds up when you update bunch of them

2. Each time I select and update, a new window pops up. So after updating many of them, the browser is crowded with many useless open screens and it is slow due to memory usage. I suggest to open a new screen on the first use, and than each additional use will just reopen the same open screen and populate it with new data.

I hope you can fix it soon. Thanks. בורה בורה (talk) 08:41, 14 August 2014 (UTC)

Hi, I'm afraid I can't check this, as the current Chrome version is 37, and I wouldn't know where to get 10, let alone if it runs on my machine. Chrome 10 was released over three years ago. I suggest you upgrade to a current version, or try Firefox, and tell me is the problems persist. --Magnus Manske (talk) 17:54, 16 August 2014 (UTC)
Actually, my mistake! I checked the version:

Version 36.0.1985.143 m

Google Chrome is up to date. בורה בורה (talk) 08:07, 17 August 2014 (UTC)

Thanks for looking in on User:Micru's talk page a couple of days ago.

The question was how to check how many commons links that ought to go to Category pages (because they belong to items that satisfy CLAIM[31:4167836] AND LINK[commonswiki]) actually in reality are not pointing to Commons Category pages, but are pointing to Commons galleries.

And also, to check how many commons links that ought not to go to Category pages (because they belong to items that satisfy LINK[commonswiki] AND NOCLAIM[31:4167836]) actually in reality are not pointing to Commons gallery pages, but are pointing to Commons galleries. (Even though the items are supposed to be article-like, not category-like).

Thread now moved to Wikidata talk:WikiProject Structured Data for Commons.

Thank you so much for looking in. All best, Jheald (talk) 13:50, 17 August 2014 (UTC)

Item not showing up in wdq

Hi Magnus, any idea why Portrait of a man, probably Xaverius Philippus Christiani (1787-1867) (Q17523954) is not showing up in this query? Something else, how to easily see the replication lag of wdq again? Multichill (talk) 16:34, 18 August 2014 (UTC)

I noticed some edits went "missing" from the perpetual update cycle. That shouldn't happen, but... I'll have to look at the code, but currently juggling too many things at once. The next Wikidata dump should be in a week or so, when I'll re-seed the database. Meanwhile, "reported" lag is here. --Magnus Manske (talk) 17:56, 18 August 2014 (UTC)
Ok, so it wasn't me. Wikidata was rather unstable around that time. I had quite a few api errors, that might explain it.
I know the feeling. I'll just wait for the next dump and do a rerun to find the missing items. Any suggestion on how to make a list that have the same collection (collection (P195)) and the same inventory id (inventory number (P217))? I'll probably need that to hunt down the duplicates I created. Multichill (talk) 18:54, 18 August 2014 (UTC)
Until I have time to introduce variables a la SQL to WDQ (so, next millennium ;-) you'll have to do a script. Add "&props=195,217" for a convenient JSON list. One can probably do a jq one-liner. I so need to check that one out in detail! --Magnus Manske (talk) 19:21, 18 August 2014 (UTC)
That was my plan B, I'll just do that. Multichill (talk) 19:43, 18 August 2014 (UTC)

ORCID/ ISNI issues

Hi,

The value your bot added in this edit was an ISNI, not an ORCID.

And in this one you added an ORCID as space-separated quads; the required separator is a dash (ISNI uses spaces). Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 19:50, 19 August 2014 (UTC)

Hi, I'll look into the formatting issue. As for the first example, the bot imported it from en.wp. --Magnus Manske (talk) 20:27, 19 August 2014 (UTC)
Thanks. I've fixed the instance on en.WP. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 11:54, 23 August 2014 (UTC)

Autolist - table edition

Hi Magnus, just in case you were thinking what awesome tool to do next, I will explain the difficulties I found while working on this tree. I am trying to enter values for a minimal set of properties (tonality, date of creation, date of publication, IMSL, musicbrainz), but I don't know which ones are already in some items, and which ones are missing from others. I can do queries but it is cumbersome to work with.

What it would help is to be able to perform a query and to show the results in a table with some chosen properties as columns (one value per property column is enough), and then be able to edit this spreadsheet cell by cell. I have found some components, I don't know if they could be used for this purpose (SlickGrid, EditableGrid, EditableTable, etc).--Micru (talk) 08:10, 23 August 2014 (UTC)

I have tried something like this before, but it's not really finished. Sneak preview. Can kill your browser for thousands of items. May stop working at any time. --Magnus Manske (talk) 11:18, 23 August 2014 (UTC)
Thanks, that works really well, it is exactly what I had in mind. If some day you manage to make the cells editable, that will be my editing interface of choice for this kind of tasks.--Micru (talk) 23:00, 23 August 2014 (UTC)

Question

Any idea why this is taking so long? Am I working too hard? Sjoerd de Bruin (talk) 21:40, 19 August 2014 (UTC)

Still slow, any idea? Sjoerd de Bruin (talk) 09:08, 1 September 2014 (UTC)
Nope. --Magnus Manske (talk) 09:48, 1 September 2014 (UTC)

English Heritage import

Hi Magnus, I see you started importing before you had some people clean up. The number of constraint violations is now really massive. Are you going to work on this after the initial import? It wouldn't be good to leave it in the state it's currently in. Multichill (talk) 10:49, 31 August 2014 (UTC)

Hi Multichill. First, I am but one guy; I'm hard-pressed to auto-filter and create items, and I now need to create the Welsh ones as well. And the NI ones. By tomorrow. Second, most of the "violations" I've seen are bogus. Having a church with a National Heritage List for England number (P1216) is a violation? Ridiculous. Also, some other bot ingeniously added National Heritage List for England number (P1216) to list items, which is where most of the duplicate "violations" come from. Third, yes, in time I hope I will be able to fix some of the actual violations. My own database contains over 160K entries right now, most of which should/will be Wikidata items. Expecting me to keep these in perfect state on Wikidata would be hilarious if that were my full-time job; as it is, I'm not even discussing this. If there is some big problem with what I do, please talk to WMUK, and if they tell me to stop, I will do so immediately. Otherwise, more items. And more bogus "violations". Today. --Magnus Manske (talk) 11:47, 31 August 2014 (UTC)
Hi Magnus, like my bot did by mistake, yours is also "ingeniously" (sorry ;) ) adding English Heritage ID to lists, even when they are marked as such. See for example [13]. — Ayack (talk) 17:29, 1 September 2014 (UTC)

Wikidata item creator

Hi, it was nice talking to you at Wikimania – like I said there, I'm in love with your tools. :-)

I have a request about this tool. When I create articles from nowiki, it automatically adds labels in language "no", but the language should be "nb". Would you be able to make it so the labels are added in "nb" instead? "nb" is the content language of nowiki. If you would like a more generalised solution, the $wgContentLanguage of nowiki is "nb", so maybe the script could fetch that, since this may be an issue for other languages as well (als, zh-yue and be-x-old come to mind). Jon Harald Søby (talk) 00:48, 1 September 2014 (UTC)

It should use "nb" instead of "no" for language now. Please give it a try. --Magnus Manske (talk) 08:05, 1 September 2014 (UTC)
Yes. Awesome, thank you! :-) Jon Harald Søby (talk) 10:27, 1 September 2014 (UTC)

Mistake report

this edit is an error. The item is indeed a book but is a dead-serious rabbinical commentary on an earlier rabbinical book, nothing close to a book written for " aesthetic or recreative purposes". DGtal (talk) 06:58, 1 September 2014 (UTC)

You may wish to look up the definition of "error". literary work (Q7725634) is the highest class of written word on Wikidata, AFAIK. The next higher class is creative work (Q17537576), which encompasses other forms of art. Therefore, if it's written down, it's literary work (Q7725634), which means the edit was correct. There may be a more precise subclass like "angry rabbinical commentary" somewhere. Feel free to change the instance of the item to that specific subclass; in fact, it would have been quicker to do that rather than complaining on my talk page. Of course, my bot could have read the article and found the correct subclass on its own; that is, right after it achieves sentience. I'll get back to you on that one later. --Magnus Manske (talk) 07:53, 1 September 2014 (UTC)
For Norwegian and Danish the translations for creative work (Q17537576) were "skjønnlitterært verk", which means "(literary) fiction". Maybe this is a problem in the labels for other languages as well (like Hebrew, DGtal)? Jon Harald Søby (talk) 11:01, 1 September 2014 (UTC)
Dear Magnus, User:Jon Harald Søby seems to have got the point: literary work is described in English as "creative work by a writer created with aesthetic or recreative purposes" which to the best of my understanding does not fit non-fiction written works. Therefore I commented to you in hope that you will be able to further perfect your work, not to attack you personally in any way. It is quite possible that the answer lies in rewording. DGtal (talk) 11:27, 1 September 2014 (UTC)

WiDaR and blank values

Hi, 'set_label' and 'set_description' currently requires non-blank values, but it would be nice if you could accept blank values as well. At least for deprecated languages, there is a need for removing labels and descriptions. Danmichaelo (talk) 20:12, 7 September 2014 (UTC)

They both now take blank text. --Magnus Manske (talk) 21:02, 7 September 2014 (UTC)

I was wondering if you moved the tool that was located here? Regards, --AmaryllisGardener talk 16:44, 9 September 2014 (UTC)

That would be here; not sure if it still works. You can find tools best through Hay's directory. --Magnus Manske (talk) 17:02, 9 September 2014 (UTC)

Removing coordinates with autolist2

Hi Magnus, is there a way to remove coordinates (coordinate location (P625)) with autolist2? When I put -P625 in the "Add/remove statements" box, I've got an error message saying "Put something in the box above!". Thanks. — Ayack (talk) 19:05, 10 September 2014 (UTC)

No, it only works with a specific item as "target". Giving it the ability to mass-delete statements indiscriminately seemed ... risky. --Magnus Manske (talk) 20:40, 10 September 2014 (UTC)
Ok, thanks. — Ayack (talk) 07:51, 11 September 2014 (UTC)

This page is broken, as well as bootstrap in other tools.--GZWDer (talk) 09:01, 13 September 2014 (UTC)

Seems autolist2 too. by Revicomplaint? at 09:37, 13 September 2014 (UTC)
user:Yuvipanda was so nice to restart the webservice for magnustools. Tools seem to work again. Multichill (talk) 14:53, 13 September 2014 (UTC)

Wikidate - The Game - Thanks and some suggestions :)

  • This is a splendid tool to find Persons in all items without P31... :)

One question : is there a place, a list, where items tagged as "not a person" can be explored to find other P31 values ?

Knowing that a whole list of items is NOT human (Q5) is already a great start - filtering it with language links would be even better ;)

  • No-item is also really a great tool, and your recent input, that allows to add directly to an item is MAJOR improvement... - could you please display instance of (P31) next to every item name (when existing) ?  :)
  • I also use image game to add images, using human (Q5) filtering... it is very efficient this way, much more than without filtering :)

Do you think it would be possible to note items like Renzo Revoredo (Q919683), where the image is not situated on Commons, so that it would be possible to search later if the image can be imported to commons ? or remove such items from the Game ?

Thanks for all the inventivity and work you input to help and have pleasure in editing wikidata :) --Hsarrazin (talk) 08:45, 13 September 2014 (UTC)

Piggybacking on this, I have a question about the configuration for various languages. For example, for the date game, dates in Espreanto aren't marked properly (the days are missing). I'd love to be help with this and other issues (such as gender pronouns for Norwegian), but am not sure where/how. Is the code in a git repo or something? If not, maybe an idea could be to have such configuration in e.g. User:Magnus Manske/wikidata-game.js so that it can be edited on-wiki? Jon Harald Søby (talk) 10:02, 13 September 2014 (UTC)
@Jon Harald Søby: - here : https://bitbucket.org/magnusmanske/wikidata-game/issues?status=new&status=open :) - I'm unable to help with code, but it's also a bug report place... :) --Hsarrazin (talk) 20:13, 13 September 2014 (UTC)

Item Creator - existing items with same label

enwiki:"Vid Cencic" Item(s) exists with this label/alias: Q9368671
enwiki:"Santiago Cepeda" Item(s) exists with this label/alias: Q6120860
enwiki:"Charo Soriano" Item(s) exists with this label/alias: Q5765150
enwiki:"Brent Wright" Item(s) exists with this label/alias: Q3644275
enwiki:"Cheng Changjie" Item(s) exists with this label/alias: Q11963508
enwiki:"Chi-chi Nwanoku" Item(s) exists with this label/alias: Q5095025
enwiki:"Chiang Chen" Item(s) exists with this label/alias: Q9182115
enwiki:"Luis M. Chiappe" Item(s) exists with this label/alias: Q15990383
enwiki:"Chris Manchester" Item(s) exists with this label/alias: Q11690196
enwiki:"Chucky Jeffery" Item(s) exists with this label/alias: Q16025060

When creating items, at some point I end up with lists like the above. Generally, the article should be added to the existing item so creating additional items for these wouldn't be worth it.

When there are just a few items, it fairly easy to open article and item, check both and add the article.

For longer lists, it might be worth feeding them into an interface like the one of the Wikidata merge "game". --- Jura 04:03, 5 September 2014 (UTC)

Hi Jura, automatic addition of the article to the item would be a bad idea, as there is no guarantee that the article and the item actually describe the same topic. As for an "adding game", I actually have already most of the backend code up and running; however, the interface may become so complicated that it's not worth it. That said, "un-itemized" articles are becoming an issue IMO, so we should do something. --Magnus Manske (talk) 07:52, 5 September 2014 (UTC)
Yeah, automatic addition would be a bad idea. As I usually add "P31:Q5" given the categories I use to select articles, it might be worth creating the items, even if there are already items with the same label. Eventually the "merge game" would pick them up.
Once in a while I come across a category in a Wikipedia with a fairly large number of old "un-itemized" articles. I'm wondering what is the extent of these. We could try to work these more systematically. --- Jura 09:38, 6 September 2014 (UTC)
Try this! --Magnus Manske (talk) 22:07, 6 September 2014 (UTC)
this is good.... :)
may I suggest you add the P31 value (in game prefered language / English / language of the selected wp ) to help identify existing items ? --Hsarrazin (talk) 22:59, 6 September 2014 (UTC)
  • It might a heavy dose. I tend to work from categories in a given language. This avoids me tons of pages on "Eurovision prelimary for the 15th participating country in 200x". --- Jura 16:29, 7 September 2014 (UTC)
@Jura1, considering your original question, it is possible to add links using WiDaR the following way: Create new items with Item Creator, and then merge using Quick Statements. It would be even more convenient if one could add language links by Quick Statements, but this is okay. Kind regards, Lymantria (talk) 09:58, 21 September 2014 (UTC)

Autolist error when trying to get items in a frwiki category

Hello Magnus when I get this message "Getting Wikipedia category tree... There was an error running the query "Table 'frwiki_p.page' doesn't exist" when I try to get items in a fr.wikipedia category. I have no issue for en or de. --Zolo (talk) 09:00, 21 September 2014 (UTC)

Also for es wiki. --ValterVB (talk) 13:10, 21 September 2014 (UTC)
Actually, this is the same for catscan, it may be more of a wmflabs issue than a tool issue. --Zolo (talk) 15:32, 21 September 2014 (UTC)

New game proposal

There are quite many pages on Wikiquotes which has not been associated with Wikidata items, for example in Russian Wikiquote: >4000 pages. The task is quite simple but tedious. Many pages should be connected to pages in Wikipedia which titled similarly, but sometimes parentheses should be omitted or added. I suppose it can be successfully gamified. May be it worked for all other languages too. Thanks in advance. Infovarius (talk) 09:41, 21 September 2014 (UTC)