Wikidata:Bot requests/Archive/2017/11

Import data for TA98 Latin term (P3982)

Request date: 24 May 2017, by: ChristianKl

Link to discussions justifying the request

https://www.wikidata.org/wiki/Wikidata:Property_proposal/TA98_Latin_term

Task description

Currently, someone falsely imported values from enwiki into TA98 Latin term (P3982). The problem is that enwiki lists any Latin names. In 90% of the case that's the TA98 names but in many cases it isn't. The correct way to get the right names would be to import them from the source. Fortunately, we already have Terminologia Anatomica 98 ID (P1323) and there's a freely accessible table at http://www.unifr.ch/ifaa/Public/EntryPage/TA98%20Tree/Alpha/All%20KWIC%20W%20LA.htm that maps the ID's to the names.

It would be great if a bot can import that data and do the mapping for all items that have Terminologia Anatomica 98 ID (P1323) filled.

I think there's a good chance that multiple Wiki's will import TA98 Latin term (P3982) into their anatomy templates when it's provided with high quality data.


Licence of data to import (if relevant)

Their website speaks about "Free access to published terminologies" but doesn't specify what they mean with free. It's also questionable whether the data is protected by copyright.

Request process

The data was added by User:Andreasmperu, so this request can be closed. ChristianKl (talk) 01:37, 4 November 2017 (UTC)

This section was archived on a request by: Matěj Suchánek (talk) 08:42, 4 November 2017 (UTC)

Spelling: Febraury → February

There are a number of scientific articles with the word "Febraury" in the description: "scientific article (publication date: [XX] Febraury XXXX)" (Search).

I guess this could be done with QuickStatements but I'm not sure how to have a list of all items in question without getting a timeout error. Thanks, Korg (talk) 20:57, 12 November 2017 (UTC)

I have just sent a batch of 6000 descriptions to fix. Matěj Suchánek (talk) 08:46, 13 November 2017 (UTC)
Thank you! Out of curiosity, how did you get the list of items? Korg (talk) 14:46, 13 November 2017 (UTC)
Using WDQS:
SELECT (STRAFTER(STR(?item), STR(wd:)) AS ?1) ('Den' AS ?Den) (CONCAT('"', STR(REPLACE(?desc, 'Febraury', 'February')), '"') AS ?2) {
  ?item wdt:P31 wd:Q13442814; wdt:P577 ?date FILTER( MONTH( ?date ) = 2 ) .
  ?item schema:description ?desc FILTER( LANG( ?desc ) = 'en' && REGEX( ?desc, 'Febraury' ) ) .
} LIMIT 6000
Try it!
Now I will fix the rest. Matěj Suchánek (talk) 19:37, 13 November 2017 (UTC)
Thank you for this query and for the corrections! All descriptions are now fixed. Korg (talk) 23:45, 14 November 2017 (UTC)
This section was archived on a request by: Korg (talk) 23:47, 14 November 2017 (UTC)

Move claim

Request date: 18 November 2017, by: Zolo

Task description

Change collection (P195)Uffizi Gallery (Q51252) to collection (P195)Uffizi Gallery (Q16335227) (one item is about the building, the other about the institution). Qualifiers and references should be kept. I don't think we have any tool doing that yet, except bots ? --Zolo (talk) 11:50, 18 November 2017 (UTC)

Request process
  Done --Pasleim (talk) 12:35, 18 November 2017 (UTC)
This section was archived on a request by: --Pasleim (talk) 12:35, 18 November 2017 (UTC)

Import dioceses from itwiki

Request process

Request date: 29 November 2017, by: Rotpunkt

Link to discussions justifying the request
Task description

In itwiki we have it:Template:Edificio religioso for religious buildings. The template parameter "Diocesi" is used for the diocese. Many religious building items don't have property diocese (P708), so we ask a bot to import the "Diocesi" parameter values in diocese (P708) (only if the item doesn't already have diocese (P708)). Example for it:Abbazia di San Zeno (Verona): the bot should add Roman Catholic Diocese of Verona (Q877833) as diocese (P708) in Abbazia di San Zeno (Verona, Italy) (Q3603254).

Licence of data to import (if relevant)
Discussion

@Rotpunkt: You can add these values yourself by using this tool: https://tools.wmflabs.org/pltools/harvesttemplates/index.php?htid=96&load=1 --Pasleim (talk) 14:09, 29 November 2017 (UTC)

Hi, thanks, I remember someone saying I need a bot account for using it with thousand of pages (and it seems reasonable), am I wrong? --Rotpunkt (talk) 14:35, 29 November 2017 (UTC)
Request process

Accepted by (ValterVB (talk) 21:36, 1 December 2017 (UTC)) with User:ValterVBot and under process
Task completed, only 148 item. (07:45, 2 December 2017 (UTC))

Thanks ValterVB, what happened is that Yiyi made the job in the meantime :) (~9000). --Rotpunkt (talk) 09:27, 2 December 2017 (UTC)
This section was archived on a request by: ValterVB (talk) 10:47, 2 December 2017 (UTC)

Move P625 of organizations items to be qualifier of P159

Request date: 29 November 2017, by: Jklamo

Task description

Move coordinate location (P625) of items of instance of (P31) organization (Q43229) (or its subclasses) to be qualifier of headquarters location (P159).

SELECT DISTINCT ?item WHERE { ?item wdt:P31/wdt:P279* wd:Q43229; wdt:P625 []; wdt:P159 [] .
                             MINUS { ?item p:P159/pq:P625 [] } 
                             MINUS {?item wdt:P31/wdt:P279* wd:Q2221906 } 
                             MINUS {?item wdt:P31/wdt:P279* wd:Q618123 } }
LIMIT 100
Try it!

--Jklamo (talk) 03:38, 29 November 2017 (UTC)

Discussion

  Done --Pasleim (talk) 22:41, 16 December 2017 (UTC)

This section was archived on a request by: --Pasleim (talk) 22:41, 16 December 2017 (UTC)

Journal titles from Wikispecies

As this query:

SELECT ?item ?label ?issn ?specieslink ?title WHERE {
  ?item p:P236/ps:P236 ?issn .
  OPTIONAL { ?item wdt:P1476 ?title } .
  ?specieslink schema:about ?item; schema:isPartOf <https://species.wikimedia.org/> .
  ?item rdfs:label ?label .
  FILTER(LANG(?label) = 'en' && SUBSTR(STR(?label), 1, 4) = 'ISSN') .
}
Try it!

shows, we have a number of items about journals, with Wikispecies items, whose label in English is the ISSN, like "ISSN 0035-1822", rather than the title of the journal.

Can someone please import the titles, from Wikispecies? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 13:29, 12 November 2017 (UTC)

[Query updated] ...or from title (P1476)? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 22:10, 13 November 2017 (UTC)
I imported values from P1476. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:06, 15 November 2017 (UTC)
I'd like to have them imported to both label and title (P1476) but we don't know the language :/ Matěj Suchánek (talk) 07:46, 15 November 2017 (UTC)
Wikispecies' lack of structured, semantic markup strikes again :-( Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:01, 15 November 2017 (UTC)
Request process

  Done imported the titles to label. Import to title (P1476) is not possible due to lack of language information. --Pasleim (talk) 09:11, 17 December 2017 (UTC)

This section was archived on a request by: --Pasleim (talk) 09:11, 17 December 2017 (UTC)

Many arachnids are not spiders

Request date: 28 November 2017, by: Totodu74

Task description

Hello, is it possible to correct all items relative to arachnids (with English description: "species of arachnid") and change:

  • French descriptions such as "espèce d'araignées" into "espèce d'arachnides"
  • French descriptions such as "genre d'araignées" into "genre d'arachnides"
  • Italian descriptions such as "specie di ragno" into "specie di aracnidi"
  • Spanish descriptions such as "género de arañas" into "género de arácnidos"

Emijrpbot is responsible for all arachnids (including scorpions, pseudoscorpions, solifuges, etc.) being treated as spiders in many languages...
Emijrp did not respond to my call.
Thanks in advance! Totodu74 (talk) 15:33, 28 November 2017 (UTC)

Discussion
This looks to be a good idea. - Brya (talk) 17:22, 28 November 2017 (UTC)
@Totodu74: Would you please confirm this should be done? Looks like there will be 166,000 edits, so I need to be sure. Matěj Suchánek (talk) 18:44, 14 December 2017 (UTC)
@Matěj Suchánek: Yes, I confirm this has to be done. It might affect spiders (rather precise) to be treated as arachnids (a bit less precise), though if you only target pages with English description: "species of arachnid" it should be ok. Less precise labels would still be preferable to the rough mistakes present in the current situation anyway. :) Thanks for any help! Totodu74 (talk) 11:54, 21 December 2017 (UTC)
Request process
  Doing… Accepted by (Matěj Suchánek (talk) 14:28, 22 December 2017 (UTC)) and under process
  Done Task completed (16:09, 26 December 2017 (UTC))
This section was archived on a request by: Matěj Suchánek (talk) 16:09, 26 December 2017 (UTC)

Set preferred rank

Task description

Please set preferred rank for the P17 statement with the current country on the following list: [1]. Sample change, as at Q23683307#P17. Thanks.
--- Jura 21:07, 28 November 2017 (UTC)

Discussion
Several of the resulting countries no longer exist. Might make sense to filter those out. --Yair rand (talk) 21:32, 19 December 2017 (UTC)
I edited those 5 items manually. Of the 900 others, just Q10323306 should be skipped.
--- Jura 22:19, 19 December 2017 (UTC)
  Done I've added this to PreferentialBot, so it should be fixed soon. Laboramus (talk) 07:09, 29 December 2017 (UTC)
This section was archived on a request by: Thanks.
--- Jura 15:22, 7 January 2018 (UTC)

Request date: 5 November 2017, by: Fralambert

Link to discussions justifying the request
Task description

heritage designation (P1435) qualifier: described at URL (P973) --> "url" to heritage designation (P1435) reference : described at URL (P973) our reference URL (P854) --> "url"

Thanks. --Fralambert (talk) 16:41, 5 November 2017 (UTC)

Licence of data to import (if relevant)
Discussion
@Fralambert: I took a random example: City walls of Kairouan (Q3424616). The statement already has another reference URL (P854) as a reference. So how should this item be handled? Matěj Suchánek (talk) 08:54, 11 November 2017 (UTC)
@Matěj Suchánek: For one it's the url taken from the monument database, and the link put in described at URL (P973) is the bylaw of the designation. I looked in the constraints of P973, and you can't put this propperty as a qualifier or a reference. So I imagine the best will be as a another source with reference URL (P854)? --Fralambert (talk) 20:11, 11 November 2017 (UTC)
Request process

sync changes on commons with WD

Request date: 26 November 2017, by: Herzi Pinki

Link to discussions justifying the request
Task description

Is there a bot that cares for consistency regarding changed or deleted commons objects like categories / galleries / etc? Reason is that Commons:Category:Sankt Georgen an der Gusen was moved to Commons:Category:St. Georgen an der Gusen and the original category was deleted thereafter. But in Sankt Georgen an der Gusen (Q127604) under Commons category (P373) there is still the old commons category set. Now dangling. Is there already a bot doing this work for commons? If so, this might be a slip through case: How can we deal with these cases? Please leave error condition on Sankt Georgen an der Gusen (Q127604) as it is for the moment.. Calling @Krd: who does similar for de:WP.

Discussion
In the previous request, a bot operator stated his bot was doing this every day. Matěj Suchánek (talk) 08:26, 27 November 2017 (UTC)
Request process

Importing IRFU player numbers into P3848 property

Request date: 19 November 2017, by: Blackcat

Link to discussions justifying the request
Task description

Irish Rugby Football Union men's player ID (P3848) has recently been created. I created here a table with the data collected on irishrugby.ie containing players name and player number. I wanted to know whether a bot can import the player ID in the respective wikidata item.

Licence of data to import (if relevant)
Discussion

Hi Blackcat,

I think this task can be achieved using a bot. There are several questions in my mind:

--Tozibb (talk) 09:51, 22 November 2017 (UTC)

Hello Tozibb, the source is here. .. Blackcat (talk) 13:31, 22 November 2017 (UTC)
@Blackcat: Do you have a mapping of player names on irishrugby.ie and Q-Id's on Wikidata? --Pasleim (talk) 08:27, 17 December 2017 (UTC)
Hello @Pasleim:, I am not sure to have understood your question, could you please be so kind to show me an example? -- Blackcat (talk) 13:13, 17 December 2017 (UTC)
On the page you provided we get for each player name his irishrugby-ID. The problem is that there could be mulitple persons with the same name. So to add this irishrugby-IDs to Wikidata we need to know in addition which ID they have here on Wikidata. --Pasleim (talk) 15:00, 18 December 2017 (UTC)
It sounds like this might be better done in Mix'n;Match. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 09:33, 30 December 2017 (UTC)
@Blackcat: Does M'n'M meet your needs? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:05, 2 February 2018 (UTC)
@Pigsonthewing: Hello, sorry for the delay, I had some tasks in rl that kept me busy :-) I haven't had a look at it, let me see what's about. -- Blackcat (talk) 12:14, 2 February 2018 (UTC)

──────────────────────────────────────────────────────────────────────────────────────────────────── @Blackcat: Are we done here? Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 18:29, 16 June 2018 (UTC)

@Pigsonthewing:, I had a look at it but I am not very skilled at it. I raised the question here just because I thought there was someone that could solve this issue.. :) -- Blackcat (talk) 20:04, 16 June 2018 (UTC)
@Gerwoman:, who can hopefully help with scraping the website. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 20:19, 16 June 2018 (UTC)
@Blackcat, Pigsonthewing: Catalog created. 1327 Enjoy! --Gerwoman (talk) 09:21, 17 June 2018 (UTC)
@Gerwoman:, thanks and congratulations! -- Blackcat (talk) 09:49, 17 June 2018 (UTC)
This section was archived on a request by: Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 15:10, 1 September 2018 (UTC)