<!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>Assistive Query Building for Semantic Data ?</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Vangelis Kritsotakis</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>Yannis Roussakis</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>Theodore Patkos</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>Maria Theodoridou</string-name>
          <email>mariag@ics.forth.gr</email>
          <xref ref-type="aff" rid="aff0">0</xref>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Institute of Computer Science</institution>
          ,
          <addr-line>FORTH, Heraklion</addr-line>
          ,
          <country country="GR">Greece</country>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Metadata Querying for Interdisciplinary Research</institution>
        </aff>
      </contrib-group>
      <abstract>
        <p>We present A-QuB, a platform that facilitates the exploration, discovery and management of semantic metadata. A-QuB incorporates a multitude of features on top of an intuitive and user friendly environment, in order for both novice and expert users to create and execute complex queries. The platform is agnostic of the underlying conceptual model and con gurable on di erent aspects.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>-</title>
      <p>At the other extreme, one can nd custom UIs developed in the context
of VREs, such as EPOS, iMarine, Bluebridge, Lifewatch Greece, and others.
Despite their capacity to exploit the underlying models, such systems are often
too tightly coupled to the domain or schema of interest, hindering portability
and restricting the opportunities for collaboration among disciplines beyond the
ones originally designed for. It is also not uncommon for such systems to sacri ce
expressive features of SPARQL for simplicity in design. Finally, researchers can
also rely on traditional SPARQL endpoints provided by widely used triplestores,
such as Blazegraph, GraphDB etc, which are usually suited for more expert users.</p>
      <p>
        A-QuB does not only aim at o ering (another) simple query interface for
providing access to the underlying metadata, hiding the complexity of writing
expressive SPARQL queries. Although the look'n'feel resembles similar query
building systems with the goal of reducing the learning curve for the novice user,
the features incorporated are based on a thorough analysis of the requirements of
existing VREs and Research Infrastructures (RIs) (see [
        <xref ref-type="bibr" rid="ref3">3</xref>
        ]), o ering a repertoire
of solutions for various bene ciaries. Overall, the goal is to support both
{ Query writing for the expert, exploiting the capacity of the underlying
conceptual models and gathering best practices from similar systems,
{ Discovery of metadata (exploratory search) for the novice user, to
help researchers search across domains and data that they are not
familiar with, guiding them in the process of creating a query, thus promoting
interoperability and cooperation among research communities.
2
      </p>
    </sec>
    <sec id="sec-2">
      <title>Main Features of A-QuB</title>
      <p>The current A-QuB implementation o ers an experimental metadata catalogue
containing metadata from a liated RIs. Imagine a user searching for the projects
involving a researcher named Jeremy, whose last name cannot be recalled. The
only information is that Jeremy was member of a health organization located
around central Europe between 2010 and 2015, and that the metadata for these
projects can be found in the EPOS and EKT VREs. Apparently, apart from
its simplicity for demonstration purposes, this query is rather vague, calling for
some assistance by the system, in order not to overwhelm the user with results.</p>
      <p>One key characteristic of A-QuB is that it dynamically executes sub-queries
and presents partial results on-the- y, while the user builds her query. The goal is
twofold. On the one hand, it helps exploration by presenting results and allowing
the user to limit the scope of the query. For instance, once the user nds the
Jeremy she is looking for while adding lters, she can select the appropriate
instance, without having to re-execute the query from scratch. On the other
hand, it helps avoid meaningless queries that return no results. This is achieved
by transparently altering the options available during the query building process,
eliminating choices that can lead to an empty search space.</p>
      <p>A-CuB o ers a combination of di erent ways for searching relevant metadata
within the same query. It enables the user to compose queries using keyword
search (a person named Jeremy), entity-based search (an entity \Person" with
Assistive Query Building for Semantic Data
a relation \is member of" on entity \Organization"), time range-queries, if
supported by the metadata (the "is member of" relation is restricted between 2010
and 2015), lter-based search (the lter \a project has contact person Jeremy"
and the lter \a person is member of an organization unit" are nested
conjunctive lters), or geo-spatial queries (the user can interact with a map, in order to
select a region in central Europe or give coordinates).</p>
      <p>Filter-based search occurs based on an intuitive interaction model (Figure
1(a)) and may involve conjunctive and disjunctive nested queries. As excessive
use of nested lters may lead to di cult to comprehend queries, there is an
option to limit the depth and/or width of lters.</p>
      <p>Geo-spatial queries are constructed with the help of an interactive map
(Figure 1(b)), o ering most of the features expected, such as searching by toponyms
or geographical regions, selecting speci c instances, etc. Note that in most
existing systems, this is a standalone feature, whereas in A-CuB it is incorporated
as a simple partial step.</p>
      <p>The platform also gives the user the ability to store queries for later use.
This is a handy option, enabling the retrieval of complex queries, to be used as
templates for constructing competency queries with multiple lters or for making
minor adaptations to complex exploration tasks.</p>
      <p>Every step performed while constructing the query (i.e. every lter applied,
instance selected, search-term used or region set, etc.), is analyzed by the system
to construct SPARQL building blocks. These blocks are merged appropriately
together, creating the nal QUERY that is executed.</p>
      <p>After executing a query, the results can be examined through an internal
resolver, allowing simple navigation from any instance of the targeted entity to
any of the instances of the related entities. In that way, end users can even
continue their discovery after the results are retrieved. For instance, in the running
example, the user can explore more information about Jeremy from the returned
results, in order to make sure this is the person originally intended.</p>
      <p>Finally, the platform provides a number of peripheral functionalities that
complement its operation. A multi-factor authentication mechanism is used for
granting access to the end users, while Role-Based Access Control ensures that
users actions are properly regulated. Importing metadata is also supported,
coupling the process with the acquisition of relevant provenance information for
facilitating trust and versioning. Also, the platform is con gurable on many
different levels, in order to enhance exibility, robustness and simplicity.
2.1</p>
      <p>Implementation
A-QuB is a modern web platform, implemented in Spring Boot at the back-end,
and the MVC AngularJS framework at the front-end. It is executed from the
command line as a standalone Maven application, which embeds a Jetty server
container (by default) and does not require any prior installed software, which
makes it completely portable.</p>
      <p>The design of the system is based on the Service-Oriented Architecture. The
back-end, which is responsible for the management of Semantic (RDF) Data has</p>
      <p>V. Kritsotakis et al.
(a) Multiple nested lters
(b) Map-based interaction
been implemented using a RESTful API on top of the open source version of
Virtuoso Universal Server. Any other triple store providing the basic operations
(e.g., query, insert etc.) can be used as well; an initial version operated on the
Blazegraph triple store. Finally, a lightweight and portable H2 Database Engine
is used for storing con guration options and saved queries.</p>
    </sec>
    <sec id="sec-3">
      <title>Current and Future Work</title>
      <p>As part of the H2020 VRE4EIC project, A-QuB currently operates using the
CERIF2 standard conceptual model, enabling interoperability among diverse
research infrastructures. A series of task-based evaluation sessions have been
conducted in the course of the project in several events with satisfactory results,
as reported in the project's deliverables3</p>
      <p>Our future implementation tasks involve the addition of features, such as the
ability to export results in various formats and the linking of data with external
sources. A more ambitious objective is to seamlessly feed resources retrieved by
querying into external tools, e.g., work ow engines, data visualizers etc.
2 https://www.eurocris.org/cerif/main-features-cerif
3 https://www.vre4eic.eu/publications/public-deliverables</p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1.
          <string-name>
            <surname>Dastgheib</surname>
            ,
            <given-names>S.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>McSkimming</surname>
            ,
            <given-names>D.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Natarajan</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          ,
          <string-name>
            <surname>Kochut</surname>
            ,
            <given-names>K.</given-names>
          </string-name>
          :
          <article-title>Sparqling: A graphical interface for sparql</article-title>
          . In: International Semantic Web Conference'
          <volume>15</volume>
          (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2. e Zainab,
          <string-name>
            <given-names>S.S.</given-names>
            ,
            <surname>Hasnain</surname>
          </string-name>
          ,
          <string-name>
            <given-names>A.</given-names>
            ,
            <surname>Saleem</surname>
          </string-name>
          ,
          <string-name>
            <given-names>M.</given-names>
            ,
            <surname>Mehmood</surname>
          </string-name>
          ,
          <string-name>
            <given-names>Q.</given-names>
            ,
            <surname>Zehra</surname>
          </string-name>
          ,
          <string-name>
            <given-names>D.</given-names>
            ,
            <surname>Decker</surname>
          </string-name>
          ,
          <string-name>
            <surname>S.</surname>
          </string-name>
          :
          <article-title>Fedviz: A visual interface for sparql queries formulation and execution</article-title>
          . In: ISWC (
          <year>2015</year>
          )
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <surname>Zuiderwijk</surname>
            ,
            <given-names>A.</given-names>
          </string-name>
          :
          <article-title>Analysing open data in virtual research environments: New collaboration opportunities to improve policy making</article-title>
          .
          <source>Int. J. Electron. Gov. Res</source>
          .
          <volume>13</volume>
          (
          <issue>4</issue>
          ),
          <volume>76</volume>
          {
          <fpage>92</fpage>
          (
          <year>2017</year>
          )
        </mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>