<!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>Deploying National Ontology Services: From ONKI to Finto</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Osma Suominen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Sini Pessala</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Jouni Tuominen</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Mikko Lappalainen</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Susanna Nykyri</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Henri Ylikotila</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Matias Frosterus</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Eero Hyvonen</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>National Library of Finland</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Semantic Computing Research Group (SeCo), Aalto University</institution>
          ,
          <country country="FI">Finland</country>
        </aff>
      </contrib-group>
      <abstract>
        <p>In Finland, a major research initiative FinnONTO [3] was carried out in 2003{2012 with the goal of providing a national level semantic web ontology infrastructure based on centralized ontology services. Since 2008, a prototype of such a system, the ONKI Ontology Service [8,7] has been used in a living laboratory experiment with more than 400 daily human visitors and over 400 registered domains using its web services, including the ONKI mash-up widget for annotating content in legacy systems and semantic query expansion. The FinnONTO infrastructure also includes the notion of creating and maintaining a holistic Linked Open Ontology Cloud KOKO that covers di erent domains, is maintained in a distributed fashion by expert groups in di erent domains, and is provided as a national centralized service. In 2013 the Ministry of Education and Culture and the Ministry of Finance decided to nance the deployment of ONKI and its key ontologies into a sustainable free national service Finto, created and maintained by the National Library of Finland. Finto was opened in public in January 2014, and the API services of ONKI were redirected to Finto in June. This paper summarizes, from a technical standpoint, major ideas and components underlying Finto and lessons learned during the deployment process. Issues encountered in ontology engineering regarding, e.g., concept analysis and linguistic aspects have been discussed in a separate paper [4].</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        ONKI/Finto supports publication of ontologies by providing a centralized place for nding, accessing, and utilizing
ontologies|the key functions of ontology libraries [
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. Using ontologies and integrating them in applications is made
easier because di erent ontologies can accessed via the same user interfaces and APIs.
      </p>
      <p>User groups Finto ontologies are used by both humans and machines. We indenti ed three human client groups,
with slightly di erent needs in the user interface: full-time annotators (indexers working at, e.g., libraries and museums),
users performing annotation as part of their other duties (e.g., journalists publishing articles), and ontology developers.
The Finto user interface is designed to serve them all. For machine use and application developers, the service provides a
variety of APIs and documentation for their usage.</p>
      <p>
        Finto service utilizing Skosmos software The development of a successor system for ONKI started within the
FinnONTO Project. The rst step was a creation of ONKI Light [
        <xref ref-type="bibr" rid="ref5">5</xref>
        ], a lightweight prototype for an ontology browser on
top of a SPARQL endpoint. The software has since evolved into a production system called Skosmos1, a thesaurus and
vocabulary browser using SKOS and SPARQL, developed at the National Library. Skosmos provides a multilingual user
interface for browsing and searching the data and for visualizing concept hierarchies. The user interface has been developed
by analyzing the results of repeated usability tests. The Finto service2 is set up as a speci c installation of Skosmos, but
Skosmos can be used to provide an ontology service anywhere. Finto currently serves more than 400 human visitors per
day, of which 200 are returning users who use the service regularly.
      </p>
      <p>
        Skosmos relies on a SPARQL endpoint (Apache Jena Fuseki with the jena-text index) as its back-end and is written
mainly in PHP. The main bene ts of using a SPARQL endpoint is that the data provided by the service is always up to
date. This allows fast update cycles in vocabulary development. Vocabularies are pre-processed using Skosify [
        <xref ref-type="bibr" rid="ref6">6</xref>
        ] to ensure
that they are valid SKOS. The source code is available under the MIT license.
      </p>
      <p>
        Machine access to concepts The ONKI system o ers machine access to ontologies not only by publishing Linked
Data, but also custom APIs more suited for integration to e.g. document and collection management systems. ONKI
provides three main APIs: a SOAP API, a HTTP API, and a JavaScript widget [
        <xref ref-type="bibr" rid="ref7">7</xref>
        ]. These have been integrated to
systems used in museums, archives and libraries. For Finto and Skosmos, a new native REST API3 providing RDF/XML,
Turtle or JSON-LD serializations was developed and API wrapper code implemented to support the ONKI APIs. The
ONKI system is still available for browsing ontologies, but API calls to ONKI were redirected to Finto in June 2014. The
Finto API serves more than 100,000 accesses on a busy day, while the old APIs receive around 10,000 hits.
      </p>
      <p>Ontologies in ONKI and Finto At the heart of ONKI/Finto lies the General Finnish Ontology YSO. The National
Library took over the development of YSO in 2013. Since then, special attention has been paid to making YSO intuitive
and user-friendly without losing the bene ts of machine-readable semantic data. The top-level ontology has been reworked,
multilingual aspects have been re ned, and work is under way to link YSO to the Library of Congress Subject Headings
(LCSH). The original OWL representation was changed to SKOS, with some extensions mainly from ISO 259644.</p>
      <p>
        During the FinnONTO project, many YSO-based domain ontologies were created in collaboration with expert
organizations. YSO is used as the central hub or glue relating all the domain ontologies to one another while minimizing the
number of direct links between them. The aim here is to facilitate distributed development of the domain ontologies in the
expert organizations while allowing the domain ontology developers to worry only about links and changes to one other
ontology. Their content is aggregated into the single uni ed ontology KOKO [
        <xref ref-type="bibr" rid="ref2">2</xref>
        ].
      </p>
      <p>The work on this harmonized cloud of interlinked ontologies was begun during FinnONTO and has now been continued
at the National Library. The ultimate goal is to use KOKO to relate the annotations in the datasets of the various
organizations facilitating interoperability and breaking down silos. KOKO has been in pilot use as an annotation vocabulary
in, e.g., various museums and in the National Broadcasting Company YLE { i.e., in organizations that potentially deal
with material from all possible domains.</p>
      <p>In addition to YSO, KOKO and the YSO-based domain ontologies, a number of thesauri, classi cations and other
controlled vocabularies have been published in Finto, including Medical Subject Headings5, Iconclass6, and Lexvo7 language
codes. As of July 2014, 27 vocabularies are available and more are being prepared for publishing.
Experiences during deployment
The process of transitioning users from ONKI to Finto has generally been smooth. The ONKI name has already been used
for several related but distinct initiatives, so the name Finto was chosen for the new service to avoid confusion. The Finto
user interface has undergone multiple rounds of usability testing and is already well liked by users, but the implementation
could be further improved in terms of speed and scalability. The bottleneck is usually the SPARQL endpoint, especially
for non-exact label matches where the text index cannot always be used e ectively.</p>
      <p>The transition from ONKI APIs to Finto was managed by testing the new wrapper implementations both internally
and among major user organizations well in advance of their deployment. Nevertheless, there were some problems that had
to be resolved after the transition, e.g., browser cache and SSL issues. Since Finto hosts newer versions of some ontologies
including YSO and KOKO, users were simultaneously introduced to new versions, which caused some compatibility issues.
The change from OWL to SKOS caused some API queries to break, and the new version of KOKO was also di erent both
in terms of content and modeling. However, the transitioning problems were generally resolved in less than a week. In
future, we expect similar migration issues as ontologies evolve and new versions are published, but the changes are likely
to be incremental in nature.</p>
      <p>In future, we expect some growth in the usage of the Finto service, as well as more systems integrated to use the API
services. We also expect other organizations to deploy their own Skosmos instances for publishing their own vocabularies.</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>d'Aquin</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Noy</surname>
            ,
            <given-names>N.F.</given-names>
          </string-name>
          :
          <article-title>Where to publish and nd ontologies? a survey of ontology libraries</article-title>
          .
          <source>Web Semantics: Science, Services and Agents on the World Wide Web</source>
          <volume>11</volume>
          ,
          <issue>96</issue>
          {
          <fpage>111</fpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Frosterus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tuominen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Pessala</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          , Seppala,
          <string-name>
            <surname>K.</surname>
          </string-name>
          , Hyvonen, E.:
          <article-title>Linked Open Ontology Cloud KOKO|managing a system of cross-domain lightweight ontologies</article-title>
          .
          <source>In: The Semantic Web: ESWC 2013 Satellite Events</source>
          . pp.
          <volume>296</volume>
          {
          <fpage>297</fpage>
          . Springer-Verlag, Berlin Heidelberg (May
          <volume>26</volume>
          {30
          <year>2013</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3. Hyvonen, E.,
          <string-name>
            <surname>Viljanen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tuominen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Seppala,
          <string-name>
            <surname>K.</surname>
          </string-name>
          :
          <article-title>Building a National Semantic Web Ontology and Ontology Service Infrastructure|The FinnONTO Approach</article-title>
          .
          <source>In: Proc. of the European Semantic Web Conf. (ESWC</source>
          <year>2008</year>
          ). Springer-Verlag (
          <year>2008</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4.
          <string-name>
            <surname>Lappalainen</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Frosterus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Nykyri</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          :
          <article-title>Reuse of library thesaurus data as ontologies for the public sector</article-title>
          .
          <source>In: IFLA WLIC 2014 (August</source>
          <volume>16</volume>
          {
          <fpage>22</fpage>
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>Suominen</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Johansson</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ylikotila</surname>
            ,
            <given-names>H.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tuominen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Hyvonen, E.:
          <article-title>Vocabulary services based on SPARQL endpoints: ONKI Light on SPARQL</article-title>
          .
          <source>In: Poster proceedings of the 18th International Conference on Knowledge Engineering and Knowledge Management (EKAW</source>
          <year>2012</year>
          ) (
          <year>October 2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <surname>Suominen</surname>
            ,
            <given-names>O.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Mader</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          :
          <article-title>Assessing and improving the quality of SKOS vocabularies</article-title>
          .
          <source>J. on Data Semantics</source>
          <volume>3</volume>
          (
          <issue>1</issue>
          ),
          <volume>47</volume>
          {
          <fpage>73</fpage>
          (
          <year>2014</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <surname>Tuominen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Frosterus</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Viljanen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          , Hyvonen, E.:
          <article-title>ONKI SKOS Server for Publishing and Utilizing SKOS Vocabularies and Ontologies as Services</article-title>
          .
          <source>In: Proc. of the European Semantic Web Conf. (ESWC</source>
          <year>2009</year>
          ). Springer-Verlag (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <surname>Viljanen</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Tuominen</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          , Hyvonen, E.:
          <article-title>Ontology libraries for production use: The Finnish ontology library service ONKI</article-title>
          .
          <source>In: Proc. of the European Semantic Web Conf. (ESWC</source>
          <year>2009</year>
          ). Springer{Verlag (
          <year>2009</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>