Wikidata:WikiProject Cycling/Documentation/Propertiesoverview
Many wikidata properties are used in the module, this page tends to give an overview.
Properties | Used in functions | Purpose | Discussion |
---|---|---|---|
country (P17) | Many | Define the country for a place or a race. Not to be confused with country of citizenship (P27) | |
image (P18) | getImage, jersey_infobox | Define an image to be displayed in the infobox or the jersey | |
place of birth (P19) | getBirthDeathDate | Place of birth | |
country of citizenship (P27) | getNationality | Define the nationality of a rider. Because of cases like Hong-Kong, Taiwan or Scottland, country for sport (P1532) is also needed | |
instance of (P31) | Many | Define the parent race (Tour de France (Q33881)), team category, the stage type (plain stage (Q20646667)) | See here, it used to define also classes on one side and category of team category in a team season. |
member of sports team (P54) | getTeam, getTeamCode, teamroster, listofTeam, presentTeam | Define the team of a rider | |
follows (P155) | getPreviousNextLine | Link to the previous stage or previous edition of a race | Could be within sports season of league or competition (P3450) as qualifier |
followed by (P156) | getPreviousNextLine | Link to the next stage or next edition of a race | Could be within sports season of league or competition (P3450) as qualifier |
locator map image (P242) | getMap | Define a map to be displayed in the infobox | There was a proposal to replace it with another property |
location (P276) | infoGetParticipants | Define the place in the context as beginning (Q529711) or end (Q12769393) | |
subclass of (P279) | getClass | Define the class of a race | |
part of (P361) | getParentID, and others | Define the parent or the UCI circuit | Is replaced by season of club or team (P5138) for teams |
Commons category (P373) | wdDoc | Commons category | |
edition number (P393) | infobox_main | Define the edition number for a race | |
position played on team / speciality (P413) | riderinfobox | Speciality of a rider | |
has part(s) (P527) | Many | Define the child element, like the editions of a race, or the stages in a stage race | |
date of birth (P569) | teamroster, getBirthDeathDate | Birth date of a rider | |
date of death (P570) | getBirthDeathDate | Death date of a rider | |
start time (P580) | Many | Define the start date of a stage race | |
end time (P582) | Many | Define the end date of a stage race | |
point in time (P585) | Many | Define the date of a single day race or of a stage | |
sport (P641) | infoboxes | Define the sport, typically road bicycle racing (Q3609) | |
sponsor (P859) | teaminfobox, teamseasoninfobox | Define the sponsors | |
winner (P1346) | stageinfobox, listofwinners_main, winnerjersey, winner | Winner of a stage or race | |
ranking (P1352) | new_classification, infobox_main, startlist_sub | Rank of a rider or a team in the race | |
points for (P1358) | stageinfobox, new_classification | Points gained by a rider or a team in a certain ranking | |
start point (P1427) | listofstages, stagetitle, infoGetStartEnd | Start place of a stage or race | |
destination point (P1444) | listofstages, stagetitle, infoGetStartEnd | End place of a stage or race | |
official name (P1448) | getRiderLink, getMainRaceLink, raceinfobox, getFormerNames | Official name of a rider or a race. For display in infobox | |
nickname (P1449) | riderinfobox | Nick name of a rider. For display in infobox | |
birth name (P1477) | riderinfobox | Birth name of a rider. For display in infobox | |
country for sport (P1532) | getNationality | Define the nationality of a rider when this "country" cannot use country of citizenship (P27). Has the priority over country of citizenship (P27). | |
end cause (P1534) | getReason, new_classification | Define the reason for the rider to stop, like DNF | |
series ordinal (P1545) | stageinfobox, startlist_sub, commaStage | Designate the stage number | |
acquisition transaction (P1642) | getReason | Define the reason for the transfer of a rider | |
departure transaction (P1643) | getReason | Define the reason for the leave of a rider | |
short name (P1813) | getRiderLink, getFormerNames | Short name of rider. Has priority over official name (P1448). | |
vessel (P1876) | teaminfobox, teamseasoninfobox | Define the bike brand used by the team | |
participating team (P1923) | infobox_main, listofteams | List the teams participating to a race | |
length (P2043) | getDistance | Distance of a stage or race, depracated use event distance (P3157) | Deprecated, removed |
height (P2048) | getHeight | Define the height of a rider | |
speed (P2052) | getSpeed, stageinfobox | Define the speed of a stage, a team in case of TTT or a race | Can also be calculated but inserting it save some processing time |
mass (P2067) | getWeight | Define the weight of a rider | |
competition class (P2094) | infobox_main, isWomenrace | Is used with women's cycling (Q1451845) to determine if it is a women race and to set age categories like U23, juniors see here and also team category | |
capital cost (P2130) | infobox_main | Display the cost of a race | |
ProCyclingStats race ID (P2327) | race_reference | Procyclingstats ID for sourcing | |
Cycling Archives race ID (archived) (P2330) | race_reference | Cycling Archives ID for sourcing | |
name (P2561) | getMainRaceLink | Name of a race, typically used to make disappear the "women" of the race names in the display. | |
CQ Ranking men's race ID (P2648) | race_reference | Cycling Quotient ID for sourcing | |
CQ Ranking women's race ID (P2708) | race_reference | Cycling Quotient ID women for sourcing | |
sectional view (P2713) | getSectionalView | Used to display the profile of a race or stage | |
race time (P2781) | new_classification, getSpeed, stageinfobox | Race time of a team or a rider, normally used only for the first one, except during TTT | |
time gap (P2911) | stageinfobox, new_classification | Time separating this rider or team from the first one | |
distinctive jersey (P2912) | startlist_sub, new_classification | Link a jersey to a result / rider | |
event distance (P3157) | getDistance | Distance of a stage or race | |
sports season of league or competition (P3450) | raceLink, getMainRaceLink, getPreviousNextLine, infobox_main | Define the parent race | Is an alternative to instance of (P31) for races. Not privileged. |
season of club or team (P5138) | getParentID | Return the parent for a team | Replace part of (P361) for the team. |
Other properties that could be used: sports discipline competed in (P2416)