iptc / sportsml-3

Development of SportsML 3
9 stars 1 forks source link

Action keys #67

Open pauljkelly opened 1 year ago

pauljkelly commented 1 year ago

I notice actions have no keys. This is an important ID, especially for Sport Schema and ought to be added to the spec. Example:

<action key="a4" sequence-number="4" team-idref="team_6134" type="spesaction:choose" comment="Train"/>

bquinn commented 1 year ago

but if the key for the action is effectively the unique ID that can be used to reference it in the future, don't we already have that as the subject URI of the triples?

bquinn commented 1 year ago

I think I've fixed this for now, in that the XSLT looks for @key, @id OR @sequence-number to generate the URI for an Action. Does that resolve the issue?

EDIT: I think I'm answering these for sport schema rather than for SportsML... I'll slow down now :-)

pauljkelly commented 1 year ago

Yeah, it's a SportsML omission. For Sport Schema it would be nice to not have to construct the URI