iptc update 2007 05 29
DESCRIPTION
description of SportsML 2.0 specification recommendationsTRANSCRIPT
SportsML www.SportsML.org
(presentation available at http://www.sportsml.org/dev)
Alan KarbenXML Team SolutionsTokyo / May 27, 2007
© IPTC – www.iptc.org 2
Agenda
• Welcome to our Guest
• SportsML 2.0: – Sports-Specific Improvements– Option to Use G2 Packaging
• Next Steps
• Open Forum
© IPTC – www.iptc.org 3
Welcome: Michael Westbay
• Owner of http://www.japanesebaseball.com• First (?) website to cover Japanese Baseball
– Started in 1995 as “Japan Pro Yakyu this Week”
• Frequent contributor to SportsML community
© IPTC – www.iptc.org 4
Sports-Specific Improvements
• Baseball play expansion
• American-Football position expansion
• Highly specific datatypes
• Additional stats absent from SportsML 1.8
• Other Potential Additions– Rugby Plug-In?– Improved / Streamlined / Internationalized
wagering line support?
© IPTC – www.iptc.org 5
<action-baseball-play>
1. Expand play-type to include wider variety of plays (see spreadsheet)
2. Expand hit-type to better modify play-types that are hits
3. Expand out-type to better modify play-types that are outs
4. Add new modifying attributes:• interference-type• base-stolen
© IPTC – www.iptc.org 6
<action-baseball-play>
Guiding Principle:
Enable SportsML attributes to describe play for top-level play events that are worthy of searching (via XQuery or SQL)
The RoSIN "play notation" is recordable to fully describe the play (www.rosin.org)
© IPTC – www.iptc.org 7
<action-baseball-pitch>
• Expand umpire-call attribute of <action-baseball-pitch> from:
(ball | strike | in-play)
to:
(ball | strike | in-play | no-pitch | unknown)
… and move to external vocabulary
• Add stolen-bases-attempted attribute to <stats-baseball-offensive>
© IPTC – www.iptc.org 8
American-Football Positions
• Allow for more specific positions(see spreadsheet)
• In General, allow for either Generic or Specific positions
• What to do when player takes multiple positions over the course of an event?– Comma-separated values?
© IPTC – www.iptc.org 9
Highly Specific Datatypes
• Most statistical datatypes are currently specified as “cdata” – Hadn’t gotten around to making them more specific
• Proposal made for more specific baseball datatypes– (see spreadsheet)
• Complete this effort for stats for our other sports, and for pieces of Core Schemae.g., Core <player-stats> has these attributes:– time-played-event (ISO time duration)– time-played-total (ISO time duration)– time-played-event-average (ISO time duration)– events-played (integer)– events-started (integer)
© IPTC – www.iptc.org 10
Additional Absent Stats
• Add stolen-bases-attempted attribute to <stats-baseball-offensive>
• Add rebounds-opponent-total attribute to <stats-basketball-rebounding>
• Add double-doubles attribute to <stats-basketball-offensive>
© IPTC – www.iptc.org 11
Rugby Plug-In
• Initial Inventory of Stats (see spreadsheet)
• Union vs. League
Question: Can both styles of play be covered by same Plug-In (like with American and Canadian football)?
Answer: Would be nice.
© IPTC – www.iptc.org 12
Better Wagering Structures
• Good banter on the Yahoo!Group about posting proposals that broaden our wagering-stats coverage to be applicable to more sports in more countries
• Nothing (yet) posted following initial surge in discussion
© IPTC – www.iptc.org 13
SportsML 2.0 / G2: Positioning
• G2 Compatibility for SportsML 2.0: Optional• Review: Why G2? Publisher can take
advantage of:– Additional packaging functionality– Additional rights-management functionality– Cleaner metadata structures, improved
versioning– Potential for content-neutral platforms for
permissioning and distribution of content
© IPTC – www.iptc.org 14
SportsML 2.0 / G2: Positioning
• Client can take advantage of:– Common metadata model, to determine
document routing and processing– Potential for content-neutral platforms for
receiving and processing/integrating content
© IPTC – www.iptc.org 15
SportsML 1.8 to SportsML G2
• XSL file can do conversion – (only ~400 lines of XSL code -- including
comments)• 1.8 metadata properties migrate to newsItem
metadata header• Inline conversions:
• date format• qcodes for controlled codes• name/@full• split out SportsML and Nitf content
© IPTC – www.iptc.org 16
Sample SportsML 2.0
• Samples validate against latest draft (0.16) except for:– Relationships (broader, narrower, related,
sameAs): need to see samples– Contenttype (mimetype?): Uncertain how to
express.• contenttype="application/sportsml+xml”• contenttype="application/nitf+xml”• Why is contenttype not camel-case?
© IPTC – www.iptc.org 17
Hybrid Documents
• Package of SportsML and NITF
• Topic in Cairo– Contains complementary inline:
• SportsML stats which supplement an NITF story
– Includes two inlineXML
• See sample files at sportsml.org/dev
© IPTC – www.iptc.org 18
SportsML “fixture” Resolution
• Finally resolved sing instanceOf and memberOf (says Paul: “Hooray!”):
<itemMeta><instanceOf qcode="fixture:pre-event-coverage">
<name>Game Preview</name>
• Agreed?
© IPTC – www.iptc.org 19
SportsML “fixture” (cont’d.)
• Also:
<contentMeta><genre type="sml-genre:docClass"
qcode="docClass:event-summary"><narrower qcode="fixture:pre-event-coverage"/>
<genre type="sml-genre:fixture" qcode="fixture:pre-event-coverage"><broader qcode="docClass:event-summary"/>
• Dit Paul: “D’accord?”
© IPTC – www.iptc.org 20
More Relationships
<subject type="subj:person" qcode="person:l.mlb.com-p.123"><name>Freddy Garcia</name>
<sameAs qcode="fssID:45680"/>
</subject>
• Dit Paul: “C’est bon ou mal?”
© IPTC – www.iptc.org 21
sports-metadata
• SportsML 1.8:<sports-metadata>
<sports-content-codes><sports-content-code code-type="team" code-key="l.mlb.com-t.19" code-name="Philadelphia Phillies"/>
• Becomes SportsML 2.0 / G2:<contentMeta><subject type="subj:team"
qcode="team:l.mlb.com-t.19"><name>Philadelphia Phillies</name>
© IPTC – www.iptc.org 22
Other Changes
• event-key=“l.mlb.com-2007-e. 19358” – Becomes:
event-key=“event:l.mlb.com-2007-e.19358”– Also: team, player, fixture and all other
controlled keys
• start-date-time=“20070528T190500-0400” – Becomes:
start-date-time=“2007-05-28T19:05:00-04:00”
© IPTC – www.iptc.org 23
Next Steps• Finalize Sports-specific improvements
• Validate G2 samples per ratified (?) NAR spec
• Fully document the recommended SportsML-within-G2 approach– Release SportsML 1.8-to-2.0/G2 XSL
• TAG urls? (Misha)
• Prepare SportsML 2.0 for vote
• Next meeting… in Prague in September
© IPTC – www.iptc.org 24
Open Forum
• Questions / Comments