Skip to content

Use Cases

Paul Kelly edited this page Feb 14, 2023 · 25 revisions

IPTC Sport Model Use Cases

To manage scope, these use cases are restricted to team sports for now. The questions are for data directly available within the samples, not derivative post-processing or analysis.

Use cases are divided among scope (event, season, all-time) and sub-divided by entity (player, team, league).

All time

Player

  1. Career stats (Goals, assists, etc.)
  2. Biographical details (Height, weight, nationality, place and date of birth, etc.)
  3. Which teams did this player play for during their career?

Team

  1. Overall record
  2. Championships/Competitions won
  3. Which players were on this team at this particular time (including "right now")?
  4. Handling teams that move cities and change names - e.g. New Orleans Jazz became Utah Jazz - all players were the same, it was the same legals entity, but the name and home stadium changed

Season Questions

Player

  1. Season stats (Goals, assists, etc.)

Team

  1. Who plays for the team? (Includes jersey number, position, etc.)
  2. What is the team's record so far? (Games played, wins, losses, ties, clean sheets/shutouts, etc.)
  3. What is the team record broken down into home and away events?
  4. Scoring for and against in current season?
  5. How many penalty shots against and allowed?
  6. Infractions committed, broken down by type (yellow/red, fouls, TK, particular for other sports)

League

  1. What are the current standings? (Includes games played, wins, losses, ties, etc.)
  2. Who is the scoring leader?
  3. Who are the top 20 scorers?
  4. What is the full league schedule (including fixtures and results)?
  5. What are the teams in a competition or league?
  6. Infractions leaders
  7. What is the structure of the seasonal competition? (league competition, regular and post-season, groups/knockout, etc.)

Event Questions

Player

  1. Was this player in the starting line up?

  2. Which players scored goals and when? (requires Actions)

  3. How many minutes did this player play?

  4. Did this player score a goal?

  5. What type of goal? (Penalty, freekick, power-play, three-pointer, field goal, etc.)

  6. What method of goal? (Header, left foot, rush, pass, etc.)

  7. Did the player assist a goal?

  8. Was the player substituted? - Y/N and time they went off (NB: this is same as "1. Who were the subs for each team in this match?" Right?

  9. Was this player penalized and what for? (Includes penalty level: straight red, major, minor, etc. Includes time)

  10. How many sets was the tennis match?

Team

  1. What is the starting lineup? (including position slated) IN PROGRESSlink to live query

  2. Which team won the game? IN PROGRESS link to live query

  3. What was the score of the game? IN PROGRESS live link to query

  4. Who were the substitutes and positions played? (baseball, soccer, American football)

  5. Who got penalized?

  6. What are the stats for each team? IN PROGRESS link to live query

  7. What was the score at half-time of the soccer match? or What was the inning-by-inning score of the baseball game?

League

  1. What are the current scores? (Scoreboard) DONE link to live query
  2. What is the current status of an event (pre-, mid-, post-, postponed, suspended, canceled, etc.) DONE link to live query
  3. What was the result the last time these two teams met? Across all competitions this season - MORE DATA NEEDED
  4. Where are today's matches being played? DONE link to live query
  5. What time does the game begin? DONE link to live query
  6. Who are the referees? DONE link to live query
  7. What was the attendance for this match? DONE link to live query

Other

  1. Show linking from event action to description, article, photo and video.

Corrections

  1. How does the model cope, if the data supplier makes a mistake and sends through a correction several minutes after the original data was published? + This happens frequently - either a goalscorer was named incorrectly in football or the wrong person was named as a substitute etc
  2. Eg Harry Kane was named as the goalscorer in the 85th minute of a Spurs v West Ham EPL match + After a VAR review in the 87th minute, a correction is sent through from Opta saying it has been designated an own goal.
  3. As a Football Editor, I need the data model to cope with multiple corrections to data sent to us from external suppliers, during the course of a match and post match. + So I can ensure we are showing the correct information to users
  4. Real world example - December 2020 PSG v Istanbul Basaksehir Champions league match was abandoned 14 mins into the match and then rescheduled for the next day: https://www.bbc.co.uk/sport/football/55242656 https://www.bbc.co.uk/sport/football/55219529 The incident happened just 14 minutes into the Group H tie, which was still goalless. The match recommenced from the 14th minute the following day's kick-off at 17:55 GMT. Opta reused the same match ID (g2170557) over both days with different kick off times, the status moved from mid-event through abandoned then pre-event when rescheduled.

Edge Cases

  1. Disciplinary action before event started. Real world example - 2017-11-02 Vitória Guimarães v Marseille in Europa League. Evra, starting on the bench for Marseille, received red card ejection before the soccer match started.
  2. Score recorded after the event concluded. Real world example - 2020-10-26 Brighton and Hove Albion v Manchester United, English Premier League. Bruno Fernandes scored a penalty that was awarded (by the video assistant referee) after the final whistle.

eSports (aka "Competitive Gaming")

Positions

  1. Where is player X at time Y?
  2. Where is the hockey puck at time Y?

Objects

  1. What horse was jockey X riding?