<!DOCTYPE article PUBLIC "-//NLM//DTD JATS (Z39.96) Journal Archiving and Interchange DTD v1.0 20120330//EN" "JATS-archivearticle1.dtd">
<article xmlns:xlink="http://www.w3.org/1999/xlink">
  <front>
    <journal-meta />
    <article-meta>
      <title-group>
        <article-title>An Ontology for Ice Hockey</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Robin Keskisarkka</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Huanyu Li</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sijin Cheng</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Niklas Carlsson</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Patrick Lambrix</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Linkoping University</institution>
          ,
          <addr-line>Linkoping</addr-line>
          ,
          <country country="SE">Sweden</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>Ice hockey is a highly popular sport that has seen signi cant increase in the use of sport analytics. To aid in such analytics, most major leagues collect and share increasing amounts of play-by-play data and other statistics. Additionally, some websites specialize in making such data available to the public in user-friendly forms. However, these sites fail to capture the semantic information of the data, and cannot be used to support more complex data requirements. In this paper, we present the design and development of an ice hockey ontology that provides improved knowledge representation, enables intelligent search and information acquisition, and helps when using information from multiple databases. Our ontology is substantially larger than previous ice hockey ontologies (that cover only a small part of the domain) and provides a formal and explicit representation of the ice hockey domain, supports information retrieval, data reuse, and complex performance metrics.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>While sports analytics in the past was limited to simple high-level statistics
based on manually extracted data, the development of new technologies (e.g.,
optical object tracking) supporting the automatic annotation of games has led to
increasing amounts of available play-by-play data, containing details about each
play event and its context (e.g., detailed game state, player positions, puck/ball
position, and timestamps). To gain a competitive advantage many teams are
already continually analyzing this data, looking for an edge on their competitors.</p>
      <p>Today, play-by-play data and other statistics are provided by many of the
major ice hockey leagues, including the National Hockey League (NHL) in North
America (US+Canada) and the Swedish Hockey League (SHL). There are also
public websites that present statistics based on such data in human friendly
formats; e.g., Corsica (http://corsica.hockey) and Natural Stat Trick (http:
//www.naturalstattrick.com). These sites typically show a limited range of
performance metrics, and cannot support complex query requirements or
detailed insights of play-by-play data.</p>
      <p>Ontologies provide a formal and explicit representation of the domain
knowledge, which can greatly bene t information retrieval and data reuse, and support
?? Copyright c 2019 for this paper by its authors. Use permitted under Creative
Commons License Attribution 4.0 International (CC BY 4.0).
advanced performance metrics, such as those proposed in recent research on ice
hockey analytics (e.g., [3,4,1,2,5]). Prior work focusing on ice hockey ontologies
is very limited, and existing ontologies cover only a small part of the domain.</p>
      <p>In this paper, we present the development of an ice hockey ontology that
extends the coverage of previous e orts, map play-by-play data to the Resource
Description Framework (RDF), and validate that our solution easily can be
used to e ectively answer example questions (otherwise not easily accessible)
using SPARQL queries. The ontology enables semantics-based access to existing
data, as well as the integration of di erent data sources. In addition to being
available on the web, the ontology will be used in applications related to ice
hockey analytics and data visualization in cooperation with a professional ice
hockey team. The design and development of the ontology and its current state
are discussed in Sections 3 and 4, respectively.
2</p>
    </sec>
    <sec id="sec-2">
      <title>Related work</title>
      <p>There is little ontology-related work focusing on ice hockey. The International
Press Telecommunications Council, which develops industry standards for the
exchange of news data, has developed a sports ontology (https://iptc.org/
std/SportsML/3.0/documentation/). The ontology de nes general sports-related
concepts. While the ontology bene ts from many concepts being shared across
sports, some terms end up being overloaded, leading to the exact interpretation
often being dependent on the actual sport under consideration. The ice
hockeyspeci c part of the ontology deals with traditional player and team statistics,
and simple event states related to power play and scoring. Similarly, BBC
developed a lightweight ontology (https://www.bbc.co.uk/ontologies/sport) for
representing sports events with a focus on the organization of competitions.
Finally, DBpedia (https://wiki.dbpedia.org/) contains some ice hockey-related
terms such as ice hockey league and ice hockey player.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Ontology design and development</title>
      <p>
        The design and development of the ontology included four high-level steps: (
        <xref ref-type="bibr" rid="ref1">1</xref>
        )
description of use cases, (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) speci cation of competency questions, (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
formalization, and (
        <xref ref-type="bibr" rid="ref4">4</xref>
        ) validation. The process was implemented in an iterative fashion,
with refactoring, revisions, and re nements to ensure that the ontology was
expressive enough to capture the competency questions.
      </p>
      <p>Use cases: The use cases aim at providing ice hockey knowledge to general
users and to support professionals in the domain, including head coaches,
players, general managers, and team scouts. This includes role-speci c uses cases
requiring support for advanced data analytics of play-by-play data.</p>
      <p>
        Competency questions: According to the use cases, a set of competency
questions (CQs) were speci ed and categorized as either game related, event
related, or performance-metrics related. Examples of representative CQs were:
(
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) How many games end during the regular-time period?, (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) When did the
winning goal happen for a speci c game?, and (
        <xref ref-type="bibr" rid="ref3">3</xref>
        ) What is the faceo winning
percentage in the last X games of a speci c player?. The CQs were used both
to provide the scope of the ontology, and to provide some way of validating the
ontology with respect to the use cases.
      </p>
      <p>Formalization: Based on the use cases and CQs, we conceptualized ice
hockey related concepts, starting from NHL play-by-play data and the NHL
rule book. We then used OWL to formalize the ontology in Protege. Starting
from a set of general concepts in ice hockey (e.g., game, event, person, team), we
extended the concept hierarchy by specializing these concepts. For example, the
event concept was specialized into penalty event, action event, etc. Furthermore,
we de ned class properties and constructed semantic relationships.</p>
      <p>Validation: We validated the ontology using the OOPS! service, the HermiT
reasoner, and RepOSE. We then mapped the play-by-play data to RDF using
the RDF Mapping Language (RML), converted the data to RDF, and provided
validation tests for each CQ using one or more SPARQL queries.
4</p>
    </sec>
    <sec id="sec-4">
      <title>Current coverage</title>
      <p>
        The current version of the ontology can be used to represent: (
        <xref ref-type="bibr" rid="ref1">1</xref>
        ) basic knowledge
about the ice hockey domain, (
        <xref ref-type="bibr" rid="ref2">2</xref>
        ) game events and game sequences, and (
        <xref ref-type="bibr" rid="ref3">3</xref>
        )
describe the game context of events.
      </p>
      <p>The ontology currently contains 125 concepts, 100 relations, and 892 axioms.
Figure 1 shows an overview of the concept hierarchy, and a detailed description
of Shot-event. The general concepts covered in the domain include, for example,
Arena, Game, League, Penalty, Period, Person, Team, as well as concepts on
the event level such as Game-event, with Action-event and Faceo -event as
subconcepts, and Game-state to represent the event context.</p>
      <p>Shot-event is de ned as a sub-concept of Action-event which in turn is a
sub-concept of Game-event. As shown by the axioms on the right-hand side of</p>
    </sec>
    <sec id="sec-5">
      <title>Conclusion</title>
      <p>We have presented ongoing work on developing an ice hockey ontology that
conceptualizes general ice hockey domain knowledge and events in play-by-play data.
Based on the proposed ontology, we provided a mapping of play-by-play data to
RDF using RML, and validated the ontology against a set of SPARQL queries
solving competency questions derived from di erent role-speci c use case. The
ontology provides a formal and explicit representation of the domain knowledge
that supports information retrieval, data reuse, and can help in the retrieval of
more advanced performance metrics from play-by-play data in ice hockey.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Liu</surname>
            ,
            <given-names>G.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schulte</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>Deep reinforcement learning in ice hockey for context-aware player evaluation</article-title>
          .
          <source>In: IJCAI</source>
          . pp.
          <volume>3442</volume>
          {
          <issue>3448</issue>
          (
          <year>2018</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Ljung</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Carlsson</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Lambrix</surname>
            ,
            <given-names>P.</given-names>
          </string-name>
          :
          <article-title>Player pairs valuation in ice hockey</article-title>
          .
          <source>In: Machine Learning and Data Mining for Sports Analytics, LNCS 11330</source>
          . pp.
          <volume>82</volume>
          {
          <issue>92</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Macdonald</surname>
            ,
            <given-names>B.</given-names>
          </string-name>
          :
          <article-title>An Expected Goals Model for Evaluating NHL Teams and Players</article-title>
          . In: MIT Sloan Sports Analytics Conference (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Routley</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Schulte</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          :
          <article-title>A Markov Game Model for Valuing Player Actions in Ice Hockey</article-title>
          . In: UAI. pp.
          <volume>782</volume>
          {
          <issue>791</issue>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <given-names>Sans</given-names>
            <surname>Fuentes</surname>
          </string-name>
          ,
          <string-name>
            <given-names>C.</given-names>
            ,
            <surname>Carlsson</surname>
          </string-name>
          ,
          <string-name>
            <given-names>N.</given-names>
            ,
            <surname>Lambrix</surname>
          </string-name>
          ,
          <string-name>
            <surname>P.</surname>
          </string-name>
          :
          <article-title>Player impact measures for scoring in ice hockey</article-title>
          . In: MathSport International. pp.
          <volume>307</volume>
          {
          <issue>317</issue>
          (
          <year>2019</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>