On the formulation of performant SPARQL queries

Antonis Loizou, Renzo Angles, Paul Groth

Research output: Contribution to journalArticlepeer-review

10 Scopus citations

Abstract

Abstract The combination of the flexibility of RDF and the expressiveness of SPARQL provides a powerful mechanism to model, integrate and query data. However, these properties also mean that it is nontrivial to write performant SPARQL queries. Indeed, it is quite easy to create queries that tax even the most optimised triple stores. Currently, application developers have little concrete guidance on how to write "good" queries. The goal of this paper is to begin to bridge this gap. It describes 5 heuristics that can be applied to create optimised queries. The heuristics are informed by formal results in the literature on the semantics and complexity of evaluating SPARQL queries, which ensures that queries following these rules can be optimised effectively by an underlying RDF store. Moreover, we empirically verify the efficacy of the heuristics using a set of openly available datasets and corresponding SPARQL queries developed by a large pharmacology data integration project. The experimental results show improvements in performance across six state-of-the-art RDF stores.

Original languageEnglish
Article number354
Pages (from-to)1-26
Number of pages26
JournalWeb Semantics
Volume31
DOIs
StatePublished - Mar 1 2015
Externally publishedYes

Keywords

  • Biomedical data
  • Data integration
  • Heuristics
  • Optimisation
  • RDF store
  • SPARQL

Fingerprint

Dive into the research topics of 'On the formulation of performant SPARQL queries'. Together they form a unique fingerprint.

Cite this