Wikidata:Bot requests/Archive/2022/09

Request to correct description "v Kladnu" (2022-09-07)

Request date: 7 September 2022, by: ŠJů

Task description

Please find items with cs description containing "v Kladnu" and replace it with "v Kladně". 579 files affected, 563 of them "ulice v Kladnu", 16 of them "náměstí v Kladnu".

Discussion

@Frettiebot, Frettie, Matěj Suchánek, Ben Skála, Mike Peel:

  • "Kladně" is the only admissible form of locative case (6. pád) of the name Kladno, see Internetová jazyková příručka ÚJČ as well as the referred Slovník spisovného jazyka českého
  • RSO and RÚIAN suggest "Kladně" for the 6. pád: detail RÚIAN
  • Google search "v Kladně" vs. "v Kladnu" 730000 : 1940, "na Kladně" vs. "na Kladnu" 551000 : 1240, "o Kladně" vs. "o Kladnu" 8850 : 1340

Btw., the preposition "v" can be kept as more neutral, even though the historical local usage prefers "na" (see this article from 1924, this undated in Jazyková poradna ÚJČ, Internetová jazyková příručka etc.): "S předložkou na se častěji setkáváme v místním úzu, kde roli hraje tradice a znalost prostředí. Kolísání je zpravidla velmi staré a není neměnné v čase. (…) …i v případech variant jako v Mělníku / na Mělníku, v Kladně / na Kladně, v Ruzyni / na Ruzyni v celkovém současném úzu frekvenčně výrazně převažuje v 6. p. předložka v(e) jako varianta stylově bezpříznaková, univerzální, komunikativně neutrální." --ŠJů (talk) 14:33, 7 September 2022 (UTC)

Zajímavý, že to nechytl ten předchozí běh změn – aspoň u ulic. Mrknu se na to v dohledný době, nevím, jestli hned nebo v následujících dnech, před pár chvílema jsem se vrátil po 14 dnech z dovolený a dost toho na mě čeká, ale nechám si to tady otevřený. --Frettie (talk) 17:58, 9 September 2022 (UTC)
Tak jo, předchozí běh to nechytl, pač jsem měl staženou starší verzi dat, kde byly ještě termíny "Kladnu", ne "Kladně". Tohle jsem upravil ručně, stahovat novou verzi a transformovat ji do nějakýho rozumnýho formátu se mi nechce, to by bylo na dlouho a na to nemám čas.--Frettie (talk) 08:25, 11 September 2022 (UTC)
Request process

Accepted by (Frettie (talk) 17:58, 9 September 2022 (UTC)) and under process
Task completed (09:08, 11 September 2022 (UTC))

I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Matěj Suchánek (talk) 10:13, 11 September 2022 (UTC)

Fix local dialing code (P473) wrongly inserted

Request date: 7 November 2019, by: Andyrom75

Task description

Several entities has a wrong value for the local dialing code (P473) according to the format as a regular expression (P1793) specified in it: [\d\- ]+, as clarified "excluded, such as: ,/;()+"

Typical examples of wrong values, easily identified are the following two:

  1. local dialing code (P473) that includes at the beginning the country calling code (P474)
  2. local dialing code (P473) that include at the beginning the "optional" zero
  • Case 1 can be checked looking for "+", when present, should be compared with the relevant country calling code (P474) and if matched, it should be removed
  • Case 2 can be checked looking for "(" and ")" with zeros inside. If matched it should be removed
Discussion

@Andyrom75: Prehistoric task completed; there are some values with "(" remaining but these will have to be done manually. 08:01, 24 September 2022 (UTC)

Thank you so much! Andyrom75 (talk) 15:39, 26 September 2022 (UTC)
I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Vojtěch Dostál (talk) 08:01, 24 September 2022 (UTC)

Request to correct description "v Královu Dvoru" (2022-09-21)

Request date: 21 September 2022, by: ŠJů

Task description

Please find items with cs description "ulice v Králově Dvoru" and replace it with "ulice v Králově Dvoře". 77 items affected.

Discussion

@Frettiebot, Frettie, Matěj Suchánek, Ben Skála:

  • "Králově" is the very preferred form of locative case (6. pád) of the adjective Králův in the name "Králův Dvůr".
  • "Dvoře" is the preferred form of locative case (6. pád) of the word Dvůr.

Internetová jazyková příručka ÚJČ ČAV ([1]) states as admissible forms of locative case only "Králově Dvoře" (as the first variant) and "Králově Dvoru". However, it is cited there that Naše místní jména a jak jich užívat (A. Polívková, 2007) mentions also forms "Královu Dvoru" and "Královu Dvoře" which are really not used.

Internetová jazyková příručka ([2]) mentions some criteria for competition of -u to -e/-ě for the locative case of the words of the paradigm "hrad". Generally, -e/-ě is more often preferred:

  • for locative meaning (na dvoře, ve dvoře, po dvoře) compared to the propositive use (o dvoru) or other non-locative meanings
  • for such words which use -a or alternate -u/-a in the genitive case (bez dvoru / bez dvora)
  • for some originally old frequent names (usually with locative meaning): ve dvoře, v chlévě, v klášteře, v kostele, v lese, ve mlýně, na obědě, na ostrově, v potoce, na venkově, o životě. (Generally, old toponymes tend to keep more archaic forms.)
  • for concreta (compared to abstracta) and for local words (compared to borrowed words)

The ending -u for the locative case of the paradigm "otcův" is discussed in the article: Robert Adam: Máte něco proti mámině sezení v tátovu křesle? (Dativ a lokál singuláru maskulina a neutra přídavných jmen přivlastňovacích), Naše řeč, volume 88 (2005), issue 2, pp. 67-70. Although according to the formal grammar codification, both forms are equivalent in the locative, the language corpuses and a survey among students of Bohemian Studies show that the -u ending is quite completely unacceptable for the locative case. As cited in the article, I. Nebeská in Jazyk ― norma ― spisovnost, UK, Praha 1996, s. 99, even wrote: „pro 6. pád singuláru přivlastňovacích adjektiv je ve spisovné normě pouze koncovka -ě (ve strýčkově a tetině pokoji)“.

Google test:

  • "v Králově Dvoře": 47100
  • "v Královu Dvoru": 1010
  • "v Králově Dvoru": 269
  • "v Královu Dvoře": 4

RSO prefers "Královu Dvoru" for the locative case but this choice is in marked contrast to the linguistic literature and the common language usage, especially in the locative meaning (a bit more acceptable it is in the propositive meaning – "o Královu Dvoru"). Unfortunately, declension according to the RSO register cannot be taken as a completely reliable recommendation and must still be corrected by language sensitivity of native speakers and - if needed - also by linguistic literature, usage survey etc. --ŠJů (talk) 20:39, 21 September 2022 (UTC)

@ŠJů: Čistě ze zvědavosti, kdybys to naklikal ručně, netrvalo by to kratší dobu, než dohledat a sepsat tohle? :) --Frettie (talk) 07:06, 22 September 2022 (UTC)
@Frettie: Prověřovat, jestli se nemýlím, bych to musel tak jako tak, zejména v tomto případě, kde se ani příručky zcela neshodují a RSO má ve své tabulce špatné sklońování. Taky už se mi stalo, že se můj jazykový cit mýlil. Ručné jsem tentokrát udělal dvě královodvorská náměstí, aby pro bot zbyly už jen ty ulice. Řekněme tak do počtu 10–15 ulic by mi přišlo efektivnější to opravovat ručně, při větším počtu už mi připadá lepší nechat to botovi, zvlášť když je to úloha, jaká se už několikrát opakovala, takže není třeba nic vymýšlet. 77 výskytů už mi přijde na ruční opravu celkem dost – mám možná naivní představu, že botem to jde mnohem rychleji. --ŠJů (talk) 11:53, 22 September 2022 (UTC)
Ale asi bych teda příště ta zdůvodnění mohl psát česky, protože to stejně nikdo, kdo česky neumí, nemůže posuzovat a řešit. --ŠJů (talk) 11:55, 22 September 2022 (UTC)
@ŠJů: Jo, to chápu. A klidně to piš česky, jak píšeš, tak to stejně nikdo jinej asi neudělá. --Frettie (talk) 14:04, 22 September 2022 (UTC)
Request process

Accepted by (Frettie (talk) 07:06, 22 September 2022 (UTC)) and under process
Task completed (07:06, 22 September 2022 (UTC))

I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Matěj Suchánek (talk) 18:19, 25 September 2022 (UTC)

Request to add ISO dates as aliases for items about calendar dates (2022-08-16)

Request date: 16 August 2022, by: Andy Mabbett (Pigsonthewing)

Task description

It is not currently possible to find most items about dates by simply searching for them using ISO format. For example, https://www.wikidata.org/w/index.php?search=2022-08-16 does not, currently, find August 16, 2022 (Q69306523).

For every calendar date, please add the ISO equivalent as an alias (if not already present); for example for June 17, 1874 (Q69238906) the alias "1874-06-17" was added in this diff. https://www.wikidata.org/w/index.php?search=1874-06-17 now finds that item as the first result.

@Mike Peel:, to whom I have mentioned this in the past.


Discussion
@Pigsonthewing: Coded up at [3], makes edits like [4], how does that look? If OK, I'll start a one-time run. Thanks. Mike Peel (talk) 11:58, 25 September 2022 (UTC)
Just the job. Thank you. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:41, 25 September 2022 (UTC)
OK, now running. Thanks. Mike Peel (talk) 16:11, 25 September 2022 (UTC)
This is going well, thank you. Pease also do similar for instances of calendar month of a given year (Q47018478), for example this month (Q61312992) is "2022-09"; January 1961 (Q3162144) is "1961-01", etc. Andy Mabbett (Pigsonthewing); Talk to Andy; Andy's edits 12:21, 27 September 2022 (UTC)
All done. I also did the months. Thanks. Mike Peel (talk) 07:40, 9 October 2022 (UTC)
Request process

Accepted by (Mike Peel (talk) 11:58, 25 September 2022 (UTC)) and under process
Task completed (07:40, 9 October 2022 (UTC))

I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Mike Peel (talk) 07:40, 9 October 2022 (UTC)

Request to change occupation=slaveholder to social classification=slaveholder (2022-09-23)

Request date: 23 September 2022, by: Emu

Link to discussions justifying the request
Task description

There are 3171 cases of occupation (P106)slave owner (Q10076267) at the moment. It is my understanding that consensus has been reached that social classification (P3716) is a more appropriate property. A bot job could change the statements to the new modeling, leaving sources intact.

CC RAN, Tagishsimon, DrThneed, Animalparty, Gamaliel, MassiveEartha, Infovarius --Emu (talk) 20:01, 23 September 2022 (UTC)

Discussion

This should be possible using Template:Autofix on occupation (P106) Vojtěch Dostál (talk) 20:07, 23 September 2022 (UTC)

@Emu ^^ Vojtěch Dostál (talk) 17:30, 2 October 2022 (UTC)

Existing use is moved except for a couple of cases that should be dealt with manually. Template:Autofix should nevertheless be used for future use. —MisterSynergy (talk) 18:31, 2 October 2022 (UTC)

Request process

Task completed —MisterSynergy (talk) 18:31, 2 October 2022 (UTC)

I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Vojtěch Dostál (talk) 08:47, 11 October 2022 (UTC)

Request to fix certain instances of imported from Wikimedia project (P143) (2022-09-25)

Request date: 25 September 2022, by: Huntster

Good day, I am requesting bot assistance to fix instances of imported from Wikimedia project (P143)Minor Planet Center (Q522039) to stated in (P248)Minor Planet Center Database (Q106600690). The reason is, obviously, that the MPC is not a Wikipedia project. The requested change remedies this to reflect that the data is imported from the MPC Database. Thanks! Huntster (t @ c) 17:04, 25 September 2022 (UTC)

I can modify the script I wrote for William Avery Bot 5 to do this.
The following SPARQL picks up 48503 references to be changed, on 18554 items.
SELECT DISTINCT  ?item ?itemLabel ?property ?object
WHERE
{
    ?item (wdt:P31/(wdt:P279*)) wd:Q6999;
    ?property  ?object .
    ?object prov:wasDerivedFrom ?provenance .
    ?provenance pr:P143 wd:Q522039 .
   
  SERVICE wikibase:label { bd:serviceParam wikibase:language "[AUTO_LANGUAGE],en" }
}
Try it!
William Avery (talk) 16:54, 28 September 2022 (UTC)
Thank you for handling this, William Avery. I admit I know nothing about SPARQL or this coding other than it somehow magically works, lol. Huntster (t @ c) 19:45, 28 September 2022 (UTC)
Request process

Accepted by William Avery (talk) 16:54, 28 September 2022 (UTC) and under process
Request filed at Wikidata:Requests for permissions/Bot/William Avery Bot 10. William Avery (talk) 13:47, 30 September 2022 (UTC)
Task completed (07:28, 11 October 2022 (UTC))

I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. William Avery (talk) 07:28, 11 October 2022 (UTC)

Ontario public school contact info

Request date: 27 December 2020, by: Jtm-lis

Link to discussions justifying the request
Task description

https://www.wikidata.org/wiki/Wikidata:Dataset_Imports/_Ontario_public_school_contact_information

Licence of data to import (if relevant)
Discussion

@Jtm-lis: Thank you for the proposal, but I think it is out of scope of Wikidata:Bot requests. It's rather a full-blown dataset import, something that's beyong mere bot maintenance work. It will require new properties, knowledge of the dataset, etc. We should probably close this section as it's been unattended for almost 2 years now.Vojtěch Dostál (talk) 08:08, 24 September 2022 (UTC)

I think that this discussion is resolved and can be archived. If you disagree, don't hesitate to replace this template with your comment. Vojtěch Dostál (talk) 16:34, 14 February 2023 (UTC)