Wikidata:Property proposal/Total power play goals in career

From Wikidata
Jump to navigation Jump to search

Total power play goals in career[edit]

Originally proposed at Wikidata:Property proposal/Sports

   Not done
Descriptionhockey statistic
Representsgoal (Q18530)
Data typeNumber (not available yet)
Domaininstance of (P31)
Allowed values[\d+]
Allowed unitsnumbers
Example 1Wayne Gretzky (Q209518) → 204
Example 2Sergei Mozyakin (Q970861) → 138
  • of (P642)Kontinental Hockey League (Q190001)
  • start time (P580) → 2008
  • retrieved (P813) → 19 February 2019
  • Example 3Connor McDavid (Q2806736) → 19
  • of (P642)National Hockey League (Q1215892)
  • start time (P580) → 2015
  • retrieved (P813) → 19 February 2019
  • Sourcehttps://www.hockey-reference.com/
    Planned useto upload statistics for retired NHL players, to be available for use in other leagues
    Number of IDs in source6218
    Expected completenessalways incomplete (Q21873886), career statistics for retired players may be added, but there will always be new players retiring with static career statistics to add
    Robot and gadget jobsI will import these statistics through OpenRefine's Wikidata interface
    See alsototal goals in career (P6509)

    Motivation[edit]

    This proposal follows a successful property proposal for the property total goals in career (P6509). Please see that property proposal page for a fuller discussion: https://www.wikidata.org/wiki/Wikidata:Property_proposal/Total_goals_in_career

    I'd like to add basic statistical data for individual hockey players. Sports statistics such as these could be incredibly useful for ordering, sorting, and classifying players in SPARQL queries. This data is freely available online but not, anywhere I've found, in any structured data format that would allow for complex queries.

    Qualifiers for this property may include the league in which the statistic was recorded and the dates between which the statistic was recorded.

    As far as I know, this property would be applicable to the sport of ice hockey only, but I would be happy to amend my proposal if it would be useful for other sports too.  – The preceding unsigned comment was added by LesserJerome (talk • contribs) at 18:10, 19 February 2019‎ (UTC).[reply]

    Discussion[edit]

    @Сидик из ПТУ: That's a good idea, depending on how it is handled. Ideally, I'd love to see qualifiers under total goals that break down the total number into meaningful categories, like this:
    Gretzky --> Total goals --> 894
    • Qualifier: Even strength --> 617
    • Qualifier: Power play --> 204
    • Qualifier: Short handed --> 73
    • Qualifier: Game-winning --> 91
    This is one statement for goals with four qualifiers. The alternative, as I see it, would be to have five separate statements. This is less attractive to me, something like:
    Gretzky --> Total goals --> 894
    Gretzky --> Total goals --> 617
    • Qualifier: Type --> Even strength
    Gretzky --> Total goals --> 204
    • Qualifier: Type --> Power play
    Gretzky --> Total goals --> 73
    • Qualifier: Type --> Short handed
    Gretzky --> Total goals --> 91
    • Qualifier: Type --> Game-winning
    Sorry for the ugly formatting of my examples! But what do you think? LesserJerome (talk) 14:20, 27 February 2019 (UTC)[reply]
    Don't forget that league qulifer needed. I think it is more rational to try to allocate strictly one statement for each league. On the other hand, then we will lose the ability to specify the date of the first power play goal, so your second variant is more useful. In addition, for each statement there will be a separate verification date, that is, there will be less chance that one of the parameters will be spoiled during the update. Сидик из ПТУ (talk) 14:38, 27 February 2019 (UTC)[reply]
    Yes, definitely the league qualifier is important. I think, though, that if the best plan is to make a single statement for each kind of goal, the best thing would be to establish properties for each kind of goal, i.e. total power play goals in career, total short handed goals in career, etc. Otherwise, we'd still have to have a property to indicate the type of goal as a qualifier. I think separate properties would be clearer. If all kinds of goals used the property "total goals in career," if I was running a simple SPARQL query asking for "Gretzky -- Total goals in career -- ?", I'd get five different answers unless I specifically used qualifiers in my query. Also, since the statement for total goals in career is unqualified, you'd have to filter out all the other statements in order to receive the most basic answer. However if each statement had its own property, this would be much clearer - that query would return only one result, and I'd have to ask a different question for power play goals, short handed goals, etc.