<!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>Toward Better Debugging Support on Extended SPARQL queries with On-the-fly Ontology Mapping Generation</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Takuya Adachi</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Naoki Fukuta</string-name>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Department of Informatics, Shizuoka University</institution>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Faculty of Informatics, Shizuoka University</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>SPARQLoid is an extended syntax of SPAQL to utilize reliability degrees in weighted ontology mappings as well as some controls of priorities to be searched based on the weights associated to the mappings. In this paper, we demonstrate a debugging support system for the use of such an extended SPARQL queries. 1: PREFIX rdf: &lt;http://www.w3.org/1999/02/22-rdf-syntax-ns#&gt; 2: PREFIX own: &lt;http://example/ownOntology/&gt; 3: SELECT DISTINCT ?person ?name 4: WHERE { 5: ?person rdf:type own:student . 6: ?person own:belong own:ShizuokaUniversity . 7: ?person own:hasName ?name . 8: THRSHOLD { own:student &gt;= 0.6 , own:hasName &gt;= 0.4 } 9: CRITERIA ?c { ( ( own:student ) * 60 10: + ( own:hasName ) * 40 ) } 11: RANKING ?score { ?c } 12: } limit 100</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>
        Introduction
SPARQLoid[
        <xref ref-type="bibr" rid="ref3">3</xref>
        ] extends a functionality to SPARQL queries for utilizing ontology
mappings on the queries as well as the reliability degrees that are often supplied
as “weights”[
        <xref ref-type="bibr" rid="ref2">2</xref>
        ] in the mappings.
      </p>
      <p>Here, we consider the case that a user is going to write and execute a
SPARQLoid query shown in the above Listing with a certain ontology mapping.</p>
      <p>On SPARQLoid, users are allowed to make use of ontology mappings as well
as make some filterings based on the reliability degrees of the associated ontology
mapping data.</p>
      <p>For example, on the above SPARQLoid query, the THRESHOLD is set
and it means that the confidence value for own : student should be equal or
higher than 0.6, and the results of ?person will be some values associated with
the mapped data such as cs13000. The same thresholding will be applied for
own : hasN ame and ?name will be NakoOkuhama and 70310000, for
example. When the user is going to obtain the names of specified students such</p>
      <p>T. Adachi and N. Fukuta
as NakoOkuhama for the values of ?person, then the user should set 0.4 to
THRESHOLD for own : hasN ame, set the weight for hasStudentID to 0.2,
hasF ullN ame to 0.6, respectively. If we know the entire mappings and data
associated with them, we could specify appropriate threshold values. However,
such ontology mapping-specific values cannot be easily adjusted in case there
are huge amount of mappings in the specified ontology mapping.
2</p>
      <p>
        The Debugging Support System
We are implementing a query coding and debugging support system which is an
extension of our previously implemented system[
        <xref ref-type="bibr" rid="ref1">1</xref>
        ]. The structure of the system
is shown in Figure 1. Our system includes an “on-the-fly” ontology matcher
to evaluate the used ontology mappings and suggests which mappings will be
used in the query. Furthermore, the on-the-fly matcher can also be used to
interactively add one-time mappings that could produce more instances in the
results of the specified query, as well as adjusting weights of these mappings.
      </p>
      <p>EFF3
!"#$%&amp;'()*+*,
!A$2&amp;0*.'1*6$72&amp;
-.#/0120$'-34
!0"5%#0$
!0"5%#0$
!0"5%#0$
!0"5%#0$
=3-;&gt;? !0"5%#0$
80$%.%/9
(8%0B$%.,.%/9
(C%B.,
80$%.%/9
:*55#0/
(!D8-?,</p>
      <p>EFF3G=3-;&gt;?
80$%.%/9
:*55#0/
;25%&lt;#$%&amp;9</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Adachi</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Yamada</surname>
            ,
            <given-names>N.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fukuta</surname>
          </string-name>
          , N.:
          <article-title>Toward better query coding support utilizing ontology mappings</article-title>
          .
          <source>In: Proc. of 1st International Workshop on Platforms and Applications for Social problem Solving and Collective Reasoning (PASSCR2016)</source>
          (
          <year>2016</year>
          ), (to appear)
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <surname>Atencia</surname>
            ,
            <given-names>M.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Borgida</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Euzenat</surname>
            ,
            <given-names>J.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Ghidini</surname>
            ,
            <given-names>C.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Serafini</surname>
            ,
            <given-names>L.</given-names>
          </string-name>
          :
          <article-title>A formal semantics for weighted ontology mappings</article-title>
          .
          <source>In: Proc. of the 11th International Semantic Web Conference (ISWC2012)</source>
          . pp.
          <fpage>17</fpage>
          -
          <lpage>33</lpage>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Fujino</surname>
            ,
            <given-names>T.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Fukuta</surname>
          </string-name>
          , N.:
          <article-title>SPARQLoid - a querying system using own ontology and ontology mappings with reliability</article-title>
          .
          <source>In: Proc. of the 11th International Semantic Web Conference (Posters &amp; Demos) (ISWC2012)</source>
          (
          <year>2012</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>