User talk:Vanbasten 23/aosbot
The aosbot does work for Wikidata.
https://github.com/vanbasten-23/aosbot/blob/master/deporte.py
Careful mass-operation edit
Qualifiers edit
Are to giving attention to any qualifiers or sources listed for the sport, you probably want to stay away or preserve all of that.
consulta edit
What's the purpose of FILTER here? Will it not list the "page" if sport (P641) have more than one sport? You don't want to remove the entire P, but not possible to handle the relevant part of it?
Consistency edit
- Is sport (P641) guaranteed not to change definition? Perhaps checking that should be part of setup.
You have hard-coded lists of problems and how to solve it. Make sure bot is not offending any current WD structure consensus.
- Problem: Work title instead of Sport. Consistency: Double check that the suggested sport identifies the title in practiced by (P3095).
- Problem: Sport competition. Consistency: Check the sport property, see Crashed Ice (Q31668).
- Problem: Sport related things. Consistency: Check that it has not been made an "instance of" type of sport (Q31629) or sports discipline (Q2312410).
- Problem: Considered non-sport. Consistency: Check that it has not been made an "instance of" type of sport (Q31629) or sports discipline (Q2312410). Or subclass of Sport.
step 1 - deletion edit
Items that are currently assumed incorrect for sport (P641) and removed. Discuss here if they can be treated differently.
more edit
- actor (Q33999) = remove
- pornographic actor (Q488111) = remove
- coach (Q41583) = It is a sports occupation, but not a sport. Suggest to leave it and let the community reclassify. Comment for me, i prefer delete
- 1 point player (Q4596040) = wheelchair basketball (Q1128216) should be sport or disciplin under wheelchair sport (Q2626600)
- Aleutian kayak (Q539632) = canoeing (Q20856109) or disciplin under canoeing and kayaking (Q213934) or subclass
- canoe (Q171529) = kayaking (Q2094083) or disciplin under canoeing and kayaking (Q213934) or subclass
- qigong (Q204368) = didn't find any sport classification immediately, but perhaps considered a sport in some countries?
- memory (Q492) = memory sport (Q1497658) is actually labeled sport.
- Burger King (Q177054) = remove
- bullfighting (Q184940) = Marked as "spectator sport" so should be kept. Should be a "type of sport" in that case.
- regatta (Q126701) = sailing (Q14085739) Comment it´s the same name to rowing and sailing
- baseball (Q791187) = baseball (Q5369) obviously
- model (Q4610556) = remove. Could be related to body building.
- physical fitness (Q309252) = Actually links to gymnastics (Q43450) but I would have guessed body building.
- roller skating (Q1707432) = Could be a type of sport, or a subtype of skating (Q14300548) Comment this is about the "skating", no the sport, many sports use this.
more edit
- winter sport (Q204686) =
- athletics (Q11047409) =
- contact sport (Q2284014) =
- motorsport (Q5367) =
- Crashed Ice (Q31668) = Template:QQ1122526 is disciplin for ice skating.
- Q21061444 =
- grappling (Q906297) =
- water sport (Q61065) =
- circus performer (Q17307272) =
- Asociación de Fútbol de Santiago (Q4807521) =
- ice dancer (Q17361147) =
- Bob (Q18105736) =
- hunting (Q36963) =
- bicycle touring (Q564606) =
- circus (Q47928) =
- Gimnasia y Esgrima La Plata (Q18640) =
more edit
- Q3001254 =
- Cresta Run (Q647714) =
- draughts player (Q16402890) =
- strength training (Q12834857) =
- stunt performer (Q465501) =
- stadion (Q675770) =
- Fallar (Q5432200) =
- sports official (Q15986539) =
- rancher (Q1524582) =
- Kobudō (Q857972) =
- physician (Q39631) =
- balkline and straight rail (Q4851143) =
- multisport sport (Q43767805) =
- naginata (Q546116) =
- fishing (Q14373) =
- fly fishing (Q898886) =
- spearfishing (Q765706) =
more edit
Step 2 - replace obvious mistakes edit
- foil (Q471447) is now a disciplin. Not formally correct to be both tool and sport, but let's agree to that for now. fencing (Q12100) is the sport, but don't replace it because you will loose the disciplin information.
- rapier (Q816745) type of sword. Probably a disciplin even if not marked as it?
- sprint (Q352749) similar. Can you sort out the items that are marked as "type of sport" or "disciplin" for review?