Wikidata:Bot requests/Archive/2017/04

From Wikidata
Jump to navigation Jump to search

Labels

Deleteion of "Formuła 1 - " and "Formuła 1 – " from labels under this link. Eurohunter (talk) 09:23, 2 April 2017 (UTC)

Done, only needed PetScan to search labels containing those words, make some parsing using Notepad++, and get item names tool to get Polish labels for items. And finally made the list suitable to QuickStatements to run. Stryn (talk) 10:35, 2 April 2017 (UTC)
This section was archived on a request by: Matěj Suchánek (talk) 11:02, 2 April 2017 (UTC)

We have 2 items for marketplaces

This section was archived on a request by: Matěj Suchánek (talk) 15:25, 21 April 2017 (UTC)

Replace instance "national sports team" with "national badminton team"

Is it possible to replace the instance (P31) "national sports team" (Q1194951) with "national badminton team" (Q29292775) for all teams with sport (P641)=badminton (Q7291) and description="national badminton team" by a bot. Thanks a lot. --Florentyna (talk) 19:47, 10 April 2017 (UTC)

✓ Done using PetScan. Shinnin (talk) 23:33, 27 April 2017 (UTC)
This section was archived on a request by: Shinnin (talk) 23:40, 27 April 2017 (UTC)

ia:Appendice:Lista de taxones del ordine Carnivora - some in this list are connected, some 300 are not. Please add all article links if unconnected. 85.180.174.34 11:49, 12 April 2017 (UTC)

@85.180.174.34: I see only red links in "Article" column - missing articles; they must be created on wiki first, and after that they can be connected to WD items. Or you are talking about entries in the "taxon superior immediate" column (but checked several of them and seems to be connected all)? XXN, 15:45, 28 April 2017 (UTC)
:This section was archived on a request by: Succu (talk) 20:25, 16 May 2017 (UTC)

Import from Allgemeine Deutsche Biographie on dewikisource

There are about 26.000 biographical articles in the Allgemeine Deutsche Biographie (Q590208) which are all transcribed, proofread, and linked in a Wikisource project (s:de:Allgemeine Deutsche Biographie). All of those articles have Wikidata items, but most of the items have only the most basic information: instance of (P31) = biographical article (Q19389637) (or cross-reference (Q1302249)), part of (P361) = Allgemeine Deutsche Biographie (Q590208).

There is a way to harvest more statements from Wikisource. A lot of data is available in an infobox, s:de:Vorlage:ADBDaten. For example s:de:ADB:Heyne, Christian Gottlob has:

WS parameter value WD equivalent
TITEL Heyne, Christian Gottlob title (P1476)Heyne, Christian Gottlob (German)
VORIGER Heynatz, Johann Friedrich follows (P155)Heynatz, Joh. Friedr. (Q21251870)
NÄCHSTER Heynlin de Lapide, Johannes followed by (P156)Heynlin, Johann (Q27582972)
BAND 12 volume (P478)12
ANFANGSSEITE 375 page(s) (P304)375-378
ENDSEITE 378
ART Biographie instance of (P31)biographical article (Q19389637)
AUTORENKÜRZEL1 Bursian. author (P50)Conrad Bursian (Q87123) AND/OR author name string (P2093)Bursian
WIKIPEDIA Christian Gottlob Heyne main subject (P921)Christian Gottlob Heyne (Q63182)
WIKISOURCE Christian Gottlob Heyne

Some of these might be simple to transclude from Wikisource to Wikidata, some more elaborate. The authors (AUTORENKÜRZEL1, AUTORENKÜRZEL2) are listed in s:de:Modul:ADB/Autoren which is pretty comprehensive, although not perfect. Not every author has a Wikisource author page, so Wikidata items are not always available.

I would really appreciate the help of the community on this. Jonathan Groß (talk) 07:33, 10 April 2017 (UTC)

@PokestarFan: Do you have any idea how to do any of this? It needs to be translated into several bot tasks, I think. Jonathan Groß (talk) 12:50, 2 May 2017 (UTC)

I know nothing about bot coding. PokestarFan • Drink some tea and talk with me • Stalk my edits • I'm not shouting, I just like this font! 18:09, 6 May 2017 (UTC)
@Jonathan Groß: I can help you with this. A few questions:
  1. In Heyne, Christian Gottlob (Q23758767) somebody added object named as (P1932) as qualifier of author (P50). Should I also do it?
  2. page(s) (P304) is used as qualifier on published in (P1433). Is this okay or should it be an own statement?
  3. What about labels and descriptions? Is there some common format? --Pasleim (talk) 13:57, 2 May 2017 (UTC)

@Pasleim: Thanks for your offer. My answers to your questions:

  1. I don't think that's ideal. I would prefer to have to separate statements in each item, author (P50)Conrad Bursian (Q87123) AND author name string (P2093)Bursian without qualifiers. When there is no author page on Wikisource, only use P2093.
  2. I think it would be best to have page(s) (P304) as it's own statement. Qualifiers can be tricky to track down.
  3. Until now, there is no "authoritative" label and description standard. The label should make it clear that this is an item for a biographical article, not for a person. Maybe "ADB article 'Heyne, Christian Gottlob'"? The description could be modelled as "article about TITEL in the Allgemeine Deutsche Biographie (ADB)". Jonathan Groß (talk) 14:13, 2 May 2017 (UTC)
mostly done. For the momenent I left out the labels and descriptions but can add them if there is consensus for the format proposed by Jura1. --Pasleim (talk) 12:10, 9 May 2017 (UTC)
@Pasleim: Thank your very much! This is great! As for labels, I think according to Jura1's example we should use "Heyne, Christian Gottlob (ADB)" in any language, with English description "entry in the Allgemeine Deutsche Biographie", and German description "Artikel in der Allgemeinen Deutschen Biographie". Jonathan Groß (talk) 15:35, 9 May 2017 (UTC)
@Pasleim, Jonathan Groß: FYI items Felix von Kraus (Q26132951) and Franz Joseph Muxel (Q27518264) seem to be mixed. Matěj Suchánek (talk) 09:33, 12 May 2017 (UTC)
@Matěj Suchánek: Thanks! I fixed it. Jonathan Groß (talk) 08:07, 15 May 2017 (UTC)
I did a rerun to fill in missing data and I changed the labels and descritptions. --Pasleim (talk) 17:13, 23 August 2017 (UTC)
This section was archived on a request by: --Pasleim (talk) 17:13, 23 August 2017 (UTC)

Import original film titles (P1476) from Wikipedia

About 25-30% of film items have "title" set, but many don't. WD:WikiProject_Movies/Tools#Wikipedia_infobox_mapping lists infobox fields that include it, but Harvesttemplates doesn't allow import. If the language of the film isn't known, the language code can be set to "und" (=unknown).

Some languages have categories to add the original language of the film (P364), but others don't (notably frwiki for French-language films, itwiki for Italian-language films). Obviously, frequently we could assimilate the categories for the country of origin with a language.
--- Jura 15:24, 21 November 2016 (UTC)

French Wikipedia has the original title in a text block. This could easily be imported with "und" as language code, or, if the language in the same block can be decode, with the corresponding language code.
--- Jura 10:53, 10 April 2017 (UTC)

Alexa rankings

Could a bot automatically update Alexa rank (P1661) for a selected list of items and their websites, much like OKBot did on the English Wikipedia? (The bot was blocked in 2014 for introducing errors to pages, and was never fixed.) Thanks, Jc86035 (talk) 10:03, 15 April 2017 (UTC)

Add P3858 to items

Could route diagram template (P3858) be added to items based on the values in |2= of Template:Railway-routemap (Q21400400) and |1= of all the other templates on this page (in all languages)? Thanks, Jc86035 (talk) 10:48, 15 April 2017 (UTC)