On 2013-12-30, at 12:29 PM, Jason Johnson <jasjo...@gmail.com> wrote:
>
> - introduced a proposed subclass naming scheme of '[Sport][Team/Player]Statistics' akin to '[domain][type]Statistics'
Player and team stats are generally the same. SportsML uses the same sets for each. We could simplify by just have, for example, AmericanFootballStatistics. The context would be implied in the markup, right?
> - identified and illustrated a likely need to leverage 'domainIncludes' to apply statistics like 'turnOvers' across multiple parallel statistic subclasses like 'american football' and 'basketball'
So turnovers will just appear under both football and basketball sets? We're not going to create a special category of stats that are used in more than one sport, are we?
I think we still need 'score'. I think this is an understood term, as in "the final score was five, nil." It's often rendered as a single string, please see the example here: https://gist.github.com/tfgrahame/7583212
I'm not sure of the need for 'domainIncludes'. Could not each subclass simply use the same vocabulary term? This will happen anyway when different sports use the same term with different semantics. For example, I understand 'saves' means something different in Baseball to Hockey but both statistics classes will need exactly the same syntactic property.
Is Division a suitable term? Is it interchangeable with League, for example? If not I would expect to see rankInLeague etc too.
On Friday, January 3, 2014 7:16:17 AM UTC-8, Tom Grahame BBC wrote:I think we still need 'score'. I think this is an understood term, as in "the final score was five, nil." It's often rendered as a single string, please see the example here: https://gist.github.com/tfgrahame/7583212This is supported via the proposed 'CompetitionResult' in the sports event proposal, right? I have added an example to the google document to illustrate.
I'm not sure of the need for 'domainIncludes'. Could not each subclass simply use the same vocabulary term? This will happen anyway when different sports use the same term with different semantics. For example, I understand 'saves' means something different in Baseball to Hockey but both statistics classes will need exactly the same syntactic property.There are two options to support these scenarios. Use 'domainIncludes' or maintain those properties in a superclass of all classes that will need them. For example, to support the latter option for 'saves', we would need to define the 'saves' property within a superclass of hockey and baseball statistics. Using 'domainIncludes' is a more elegant solution as it doesn't require creating arbitrary superclasses to support organizing properties - something Schema.Org in general has tried to avoid.
Is Division a suitable term? Is it interchangeable with League, for example? If not I would expect to see rankInLeague etc too.Potentially there is a need for both. If we can think of a more elegant solution than creating '_InLeague' and '_InDivision' versions of a bunch of stats, I'm happy to hear it.