<!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>Automatic SPARQL Benchmark Generation Using FEASIBLE</article-title>
      </title-group>
      <contrib-group>
        <contrib contrib-type="author">
          <string-name>Muhammad Saleem</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Qaiser Mehmood</string-name>
          <email>qaiser.mehmood@insight-centre.org</email>
          <xref ref-type="aff" rid="aff0">0</xref>
        </contrib>
        <contrib contrib-type="author">
          <string-name>Axel-Cyrille Ngonga Ngomo</string-name>
          <xref ref-type="aff" rid="aff1">1</xref>
        </contrib>
        <aff id="aff0">
          <label>0</label>
          <institution>Insight Center for Data Analytics, National University of Ireland</institution>
          ,
          <addr-line>Galway</addr-line>
        </aff>
        <aff id="aff1">
          <label>1</label>
          <institution>Universita ̈t Leipzig, IFI/AKSW</institution>
          ,
          <addr-line>PO 100920, D-04009 Leipzig</addr-line>
        </aff>
      </contrib-group>
      <abstract>
        <p>Benchmarking is indispensable when aiming to assess technologies with respect to their suitability for given tasks. In this demo, we present the interface of FEASIBLE, an automatic approach for the generation of benchmarks out of the sets of queries. The generation is achieved by selecting prototypical queries of a user-defined size from an input set of queries. In our demo, we focus on the functionality offered by the interface, especially for pre-selecting the queries to be considered while generating the benchmark. We evaluate the usability of the interface by using the standard system usability scale questionnaire. Our overall usability score of 74.06 suggests that FEASIBLE's interface is easy to use, consistent, and the various functions in the system are well integrated.</p>
      </abstract>
    </article-meta>
  </front>
  <body>
    <sec id="sec-1">
      <title>Introduction</title>
      <p>
        Most Linked Data applications rely on triple stores for data storage [
        <xref ref-type="bibr" rid="ref10 ref6">6</xref>
        ]. The performance
of triple stores is hence of central importance for Linked-Data-based software. Several
benchmarks have been proposed to assess the performance of triple stores [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. However,
many of these benchmarks rely either on synthetic data or synthetic queries. Previous
works [
        <xref ref-type="bibr" rid="ref2 ref3 ref7 ref9">3,2,7,9</xref>
        ] point out that artificial benchmarks are mostly unable to reflect the
characteristics of real datasets and queries (i.e., query logs). The DBpedia SPARQL
Benchmark (DBPSB) [
        <xref ref-type="bibr" rid="ref10 ref6">6</xref>
        ] addresses a portion of these drawbacks partly by evaluating the
performance of triple stores based on real DBpedia query logs. The main drawback of this
benchmark is still that it does not consider important query features (e.g., number of join
vertices, triple patterns selectivities or query execution times etc.) which greatly affect
the performance of triple stores [
        <xref ref-type="bibr" rid="ref1 ref4">1,4</xref>
        ] during the query selection process. Furthermore, it
only considers one of the four SPARQL query forms (i.e., SELECT).
      </p>
      <p>
        These problems are addressed by FEASIBLE [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ],3 a benchmark generation
framework able to generate benchmarks from a set of queries (in particular from query logs).
FEASIBLE aims to generate customized benchmarks for given use cases or needs of
an application. To this end, FEASIBLE assumes that it is given a set of queries as
well as the number of queries (e.g., 25) to be included into the benchmark as input.
With the FEASIBLE interface, which is the focus of this paper, users are then enabled
to choose the queries that they deem relevant for the benchmark generation through
3 Accepted in the ISWC 2015 research track
(a) Clauses
      </p>
      <p>(b) Features
a series of filters. For example, the users can choose to only include queries with a
result size greater than 50 and between 2 and 5 triple patterns. A simple click then
launches FEASIBLE on the selected subset of queries and returns a benchmark tailored
towards the user’s need and requirements. FEASIBLE is open-source and available
online at https://code.google.com/p/feasible/. A demo can be found
at http://feasible.aksw.org/. In the following, we present and evaluate the
features of FEASIBLE’s demo interface.
2</p>
    </sec>
    <sec id="sec-2">
      <title>The FEASIBLE Interface</title>
      <p>In the demo, we will explain and present the features of the FEASIBLE interface. The
main interface comprises three main panels: the clause filter panel, the feature selection
panel, and (3) the form selection panel. In the following, we explain each of these panels
in details.
2.1</p>
      <p>
        Clause Filter Panel
This panel is used for selecting queries based on the the most commonly used SPARQL
clauses [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ]. To this end, the user is enable to write a disjunctive normal form of clauses.
Only queries which abide by these filters are given the FEASIBLE as input for the
benchmark generation. An example filter ((DISTINCT AND FILTER) OR (LIMIT)) is
shown in Figure 1a. By applying this filter, all of the benchmark queries will either
contain both DISTINCT and FILTER clauses or the LIMIT clause.
2.2
      </p>
      <p>
        Feature Selection Panel
This panel is used for applying filters on those query features which have been shown
to greatly affect the performance of triple stores [
        <xref ref-type="bibr" rid="ref1 ref4">1,4</xref>
        ]. Like in the previous panel, the
(a) Query forms selection panel
(b) Voronoi diagram of the benchmark
user can create a disjunction of any conjunction of the query features. In addition, the
user can specify the minimum and maximum ranges on the selected feature. An
example filter ((TriplePatternsCount &gt;= 2 AND TriplePatternsCount
&lt;= 10) OR (ResultSize &gt;= 50) is shown in Figure 1a. By applying this filter,
all of the benchmark queries will either contain between 2 and 10 triple patterns or the
size of their result set will be at least 50.
This panel is used to select the basic query forms to use in the benchmark, i.e., SELECT,
CONSTRUCT, DESCRIBE, and ASK. The number of queries to be included in the
benchmark can also be selected. The form selection panel shown in Figure 2a will
generate a 5-query benchmark with no SPARQL CONSTRUCT and DESCRIBE queries.
      </p>
      <p>The Voronoi diagram shown in Figure 2b shows the generated 125-queries benchmark
along with benchmark queries (highlighted in red) for the DBpedia query log. During
the demo, we will present different configurations as well as allow participants to create
their own benchmarks. Additional features of our interface include uploading a set of
queries as well as downloading the resulting benchmark query by query or as one file.
3</p>
    </sec>
    <sec id="sec-3">
      <title>Evaluation</title>
      <p>
        An evaluation of FEASIBLE can be found in [
        <xref ref-type="bibr" rid="ref9">9</xref>
        ]. To assess the usability of our system,
we used the standardized, ten-item Likert scale-based System Usability Scale (SUS)
[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ] questionnaire4. The SUS is a reliable, low-cost usability scale that can be used for
global assessments of systems usability[
        <xref ref-type="bibr" rid="ref5">5</xref>
        ]. The survey was posted through Twitter with
the ISWC2015 hashtag and was filled by 16 users5 (by 30th June 2015). The results of
SUS usability survey is shown in Figure 3. We achieved a mean usability score of 74.06
indicating a high level of usability according to the SUS score. The responses to question
1 suggests that our system is adequate for frequent use (average score to question 1 =
4 Our survey can found at: http://goo.gl/forms/UEK4ZQSuYC
5 Summary of the responses can be found at: https://goo.gl/3h1Lkp
      </p>
      <p>I needed to learn a lot of things before I could get going with this system (10)</p>
      <p>I felt very confident using the system (9)</p>
      <p>I found the system very cumbersome to use (8)
I would imagine that most people would learn to use this system very quickly (7)</p>
      <p>I thought there was too much inconsistency in this system (6)</p>
      <p>I found the various functions in this system were well integrated (5)
I think that I would need the support of a technical person to be able to use this system (4)</p>
      <p>I thought the system was easy to use (3)</p>
      <p>I found the system unnecessarily complex (2)
I think that I would like to use this system frequently (1)
0
3.67 1.07) by users all of type. The responses to question 3 (average score 4.25
0.68) suggests that FEASIBLE is easy to use and the responses to question 5 indicates
that the various functions are well integrated (average score 4.18 1.04).
4</p>
    </sec>
    <sec id="sec-4">
      <title>Conclusion and Future Work</title>
      <p>
        In this paper we presented the FEASIBLE demo interface. Our SUS usability score
suggest that the majority of the users felt confident using our demo interface. As underlying
resource for our future work, we have converted linked data query logs into RDF and
made available through LSQ [
        <xref ref-type="bibr" rid="ref8">8</xref>
        ] endpoint6. Beside the key characteristics discussed in
Figure 1, we have attached many of the SPARQL 1.1 features to each of the queries. We
will extend FEASIBLE to query this SPARQL endpoint directly to gather queries for the
benchmark creation process.
      </p>
    </sec>
  </body>
  <back>
    <ref-list>
      <ref id="ref1">
        <mixed-citation>
          1. Gu¨nes¸ Aluc¸,
          <string-name>
            <given-names>Olaf</given-names>
            <surname>Hartig</surname>
          </string-name>
          ,
          <string-name>
            <surname>M Tamer</surname>
          </string-name>
          <article-title>O¨ zsu, and Khuzaima Daudjee</article-title>
          .
          <article-title>Diversified stress testing of rdf data management systems</article-title>
          .
          <source>In ISWC</source>
          .
          <year>2014</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref2">
        <mixed-citation>
          2.
          <string-name>
            <given-names>Mario</given-names>
            <surname>Arias</surname>
          </string-name>
          , Javier D.
          <article-title>Ferna´ndez, Miguel A. Mart´ınez-</article-title>
          <string-name>
            <surname>Prieto</surname>
          </string-name>
          , and
          <string-name>
            <surname>Pablo de la Fuente</surname>
          </string-name>
          .
          <article-title>An empirical study of real-world SPARQL queries</article-title>
          .
          <source>CoRR</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref3">
        <mixed-citation>
          3.
          <string-name>
            <given-names>Songyun</given-names>
            <surname>Duan</surname>
          </string-name>
          , Anastasios Kementsietsidis, Kavitha Srinivas, and
          <string-name>
            <given-names>Octavian</given-names>
            <surname>Udrea</surname>
          </string-name>
          .
          <article-title>Apples and oranges: A comparison of rdf benchmarks and real rdf datasets</article-title>
          .
          <source>In SIGMOD</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref4">
        <mixed-citation>
          4. Olaf Go¨rlitz, Matthias Thimm, and
          <string-name>
            <given-names>Steffen</given-names>
            <surname>Staab</surname>
          </string-name>
          . Splodge:
          <article-title>Systematic generation of sparql benchmark queries for linked open data</article-title>
          .
          <source>In ISWC</source>
          .
          <year>2012</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref5">
        <mixed-citation>
          5.
          <string-name>
            <surname>James R Lewis</surname>
            and
            <given-names>Jeff</given-names>
          </string-name>
          <string-name>
            <surname>Sauro</surname>
          </string-name>
          .
          <article-title>The factor structure of the system usability scale</article-title>
          .
          <source>In HCD</source>
          .
          <year>2009</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref6">
        <mixed-citation>
          6.
          <string-name>
            <given-names>Mohamed</given-names>
            <surname>Morsey</surname>
          </string-name>
          , Jens Lehmann,
          <article-title>So¨ren Auer, and Axel-Cyrille Ngonga Ngomo</article-title>
          .
          <article-title>Dbpedia sparql benchmark - performance assessment with real queries on real data</article-title>
          .
          <source>In ISWC</source>
          ,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref7">
        <mixed-citation>
          7.
          <string-name>
            <given-names>Francois</given-names>
            <surname>Picalausa</surname>
          </string-name>
          and
          <string-name>
            <given-names>Stijn</given-names>
            <surname>Vansummeren</surname>
          </string-name>
          .
          <article-title>What are real sparql queries like</article-title>
          ? In SWIM,
          <year>2011</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref8">
        <mixed-citation>
          8.
          <string-name>
            <given-names>Muhammad</given-names>
            <surname>Saleem</surname>
          </string-name>
          , Intizar Ali, Aidan Hogan, Qaiser Mehmood, and
          <article-title>Axel-Cyrille Ngonga Ngomo</article-title>
          . LSQ:
          <article-title>The linked sparql queries dataset</article-title>
          .
          <source>In ISWC</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref9">
        <mixed-citation>
          9.
          <string-name>
            <given-names>Muhammad</given-names>
            <surname>Saleem</surname>
          </string-name>
          , Qaiser Mehmood, and
          <article-title>Axel-Cyrille Ngonga Ngomo</article-title>
          .
          <article-title>FEASIBLE: A featured-based sparql benchmark generation framework</article-title>
          .
          <source>In ISWC</source>
          ,
          <year>2015</year>
          .
        </mixed-citation>
      </ref>
      <ref id="ref10">
        <mixed-citation>6 LSQ homepage: http://aksw.github.io/LSQ/</mixed-citation>
      </ref>
    </ref-list>
  </back>
</article>