Wikidata:Requests for permissions/Bot/JVbot
The following discussion is closed. Please do not modify it. Subsequent comments should be made in a new section. A summary of the conclusions reached follows.
Approved--Ymblanter (talk) 09:37, 2 February 2014 (UTC)[reply]
JVbot (talk • contribs • new items • new lexemes • SUL • Block log • User rights log • User rights • xtools)
Operator: John Vandenberg (talk • contribs • logs)
Task/s: Add instance of (P31) -> scientific journal (Q5633421) to all items that are scientific journals, as recommended at Help:Source#Scientific, newspaper or magazine article, and copies across ISSNs, as these are critical for journals, underpinning any other data import related to journals.
Code: User:JVbot/addjournalclaims.py
Function details: The bot will initially use the English Wikipedia en:Template:Infobox journal to determine which items are journals, but can easily be expanded to work for other languages, and can also find suitable items from stub templates(en:Template:Academic-journal-stub) and can find ISSNs which by looking for en:Template:ISSN.
The bot will not amend existing claims, or add new claims if a property has been added. This is because a human has may have already made a smarter decision than the bot.
The bot has made a few example edits to confirm everything is working as expected. I'll wait for feedback before doing any more edits. --John Vandenberg (talk) 01:46, 30 January 2014 (UTC)[reply]
Support. Looks good. Tpt (talk) 08:21, 31 January 2014 (UTC)[reply]
- [1]: Your bot added academic journal (Q737498) not scientific journal (Q5633421). --Succu (talk) 09:10, 31 January 2014 (UTC)[reply]
- @Succu:, Correct; that was the first edit of the bot. I changed the code because I saw that Help:Source recommends scientific journal (Q5633421) instead of academic journal (Q737498), and did two more edits. I personally think that academic journal (Q737498) is more appropriate, as not all journals are scientific, but they are very similar concepts, and humans will need to pick which is most appropriate. So I think it is simpler for the bot to add scientific journal (Q5633421). John Vandenberg (talk) 09:21, 31 January 2014 (UTC)[reply]
Support. But it would be fine if you could add at least P357 (P357) too. --Succu (talk) 11:51, 31 January 2014 (UTC)[reply]
- Thank you Succu. OK, I will add other metadata too, such as P357 (P357). official website (P856) is also easy to extract and useful for detecting duplicates. John Vandenberg (talk) 00:29, 1 February 2014 (UTC)[reply]
- What selection process are you using? Just basing it on Wikipedia categories, or some other way? Danrok (talk) 16:51, 31 January 2014 (UTC)[reply]
- @Danrok: For this bot task, I am firstly using the pywikibot generator
-transcludes:Infobox_journal
initially (for en.wp), as those have good ISSN (P236) data, and will do the same for other projects which have Template:Infobox journal (Q13256340). Then I will intersect Category:Scientific journals (Q7452853) with Template:ISSN (Q6961141) to find more existing journals ISSNs on Wikipedia that need to be added to Wikidata. John Vandenberg (talk) 00:29, 1 February 2014 (UTC)[reply]
- @Danrok: For this bot task, I am firstly using the pywikibot generator
Support. GerardM (talk) 08:19, 1 February 2014 (UTC)[reply]
Support Nice task! Go for it. --Denny (talk) 04:27, 2 February 2014 (UTC)[reply]