User:IagoQnsi/sports

Sports data sandbox/planning page

Sporting events edit

Property Values Qualifiers
instance of (P31)
part of (P361)
sports season of league or competition (P3450) optional: a subclass of final (Q1366722)
follows (P155)
optional: last year's iteration
followed by (P156)
optional: next year's iteration
sport (P641) required: the sport played
point in time (P585) required: date of the match
country (P17) required: country where match was played
location (P276) optional: venue where match was played
attendance (P1110) optional: announced attendance
referee (P1652) optional: referees for the match
object has role (P3831)
optional: a subclass of sports official (Q15986539)
participating team (P1923) required: teams playing

(not required for solo sports)

object has role (P3831)
required: one of these:
(may be occasionally omitted, but in many sports, even games played at neutral sites have home/away teams named for technical reasons)
ranking (P1352)
optional: current standing at time of match, or seed in tournament
number of points/goals/set scored (P1351)
required: self-explanatory (see property page for details)
competition class (P2094)
optional: self-explanatory (see property page for details)
points/goal scored by (P1363) optional: person who scored
member of sports team (P54)
required: one of the participating teams
match time of event (P1390)
optional: minute at which took place
score method (P1443)
optional: how it was scored
winner (P1346) required: team/person that won

(for draws, must be set to 'no value')

statistical leader (P3279) TODO TODO
participant (P710) optional: players/people who participated (not teams)
member of sports team (P54)
required: one of the participating teams
(not required for solo sports)
entered match (new property)
optional: time at which they were subbed in
exited match (new property)
optional: time at which they were subbed out
described at URL (P973) optional: links to official match reports from the league or teams
penalty given to (new property) optional: person who was penalized
penalty type (new property)
required: the type of penalty given
line-up diagram (new property) optional: image of the player line-ups
P (P) Example
P (P) Example
P (P) Example
P (P) Example
P (P) Example
Commons category (P373) self-explanatory
Commons gallery (P935) self-explanatory
hashtag (P2572) hashtag for the match (typically it's just the code for both teams mashed together or separated by a "v")

Known issues/caveats edit

  • match time of event (P1390) isn't very flexible. It can't represent extra time in soccer (e.g. how do you distinguish 45+2' from 47'?), and it isn't ideal for sports where the clock counts down (not up) and/or is reset between halves/quarters.
  • Representing draws/ties as "winner: none" is ambiguous with matches that had no winner for other reasons. Perhaps we need an "outcome" property?

Missing support for edit

  • Multi-leg matches
  • Postponed/cancelled match
  • Points/goals broken down by period/half/quarter (relevant for basketball, American football, hockey, etc)
  • Representing what kit a team wore. (Wikidata is lacking in support for kits in general -- I think every kit a team has ever had should have its own item with all the images of each part attached, and then we can just link to that item with a qualifier on participating team (P1923))

Laws of the game edit

match time of event (P1390) is a bit of a useless property right now, because timing mechanics vary greatly between sports (and even between leagues of the same sport). We need a way to express any given sport's rules in data.

First, we need to get a wide sample of the types of rules that exist:

American football
  • Clock counts down
  • Periods:
  1. 4× 15 min period, ends when time runs out
  2. game ends unless it's tied
  3. 1× 15 min period, ends when time runs out or someone scores
  4. game ends
Association football
  • Clock counts up
  • Periods:
  1. 45 min period, ends when time runs out
  2. stoppage time, ends when referee decides
  3. 45 min period, ends when time runs out
  4. stoppage time, ends when referee decides
  5. game ends, unless a tournament game and it's tied
  6. 15 min period, ends when time runs out
  7. stoppage time, ends when referee decides
  8. 15 min period, ends when time runs out
  9. stoppage time, ends when referee decides
  10. game ends unless it's tied
  11. 5× shots from the mark
  12. game ends unless it's tied
  13. 1× shots from the mark
  14. go to #12
Baseball
  • No clock
  • Periods:
  1. 9× inning, ends after 3 outs
  2. game ends unless it's tied
  3. 1× inning, ends after 3 outs
  4. go to #2
Basketball
NCAAM
  • Clock counts down
  • Periods:
  1. 2× 20 min period, ends when time runs out
  2. game ends unless it's tied
  3. 1× 5 min period, ends when time runs out
  4. go to #2

Wow this is getting way too complicated, maybe a general model for sports timing rules is not worth implementing...