skip to main content
10.1145/2882903.2882944acmconferencesArticle/Chapter ViewAbstractPublication PagesmodConference Proceedingsconference-collections
research-article

Query Planning for Evaluating SPARQL Property Paths

Published:26 June 2016Publication History

ABSTRACT

The extension of SPARQL in version 1.1 with property paths offers a type of regular path query for RDF graph databases. Such queries are difficult to optimize and evaluate efficiently, however. We have embarked on a project, Waveguide, to build a cost-based optimizer for SPARQL queries with property paths. Waveguide builds a query plan--- which we call a waveplan (WP)--- which guides the query evaluation. There are numerous choices in the construction of a plan, and a number of optimization methods, so the space of plans for a query can be quite large. Execution costs of plans for the same query can vary by orders of magnitude. A WGP's costs can be estimated, which opens the way to cost-based optimization. We demonstrate that the plan space of Waveguide properly subsumes existing techniques and that the new plans it adds are relevant.

References

  1. S. Abiteboul, R. Hull, and V. Vianu. Foundations of databases, volume 8. Addison-Wesley, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. S. Abiteboul, D. Quass, J. McHugh, J. Widom, and J. L. Wiener. The Lorel query language for semistructured data. International Journal on Digital Libraries, 1(1):68--88, 1997.Google ScholarGoogle ScholarCross RefCross Ref
  3. R. Agrawal. Alpha: An extension of relational algebra to express a class of recursive queries. Software Engineering, IEEE Transactions on, 14(7):879--885, 1988. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. P. Barcelo, L. Libkin, A. W. Lin, and P. T. Wood. Expressive languages for path queries over graph-structured data. Transactions on Database Systems, 37(4):31, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. M. Bojanczyk. Automata for data words and data trees. In RTA, pages 1--4, 2010.Google ScholarGoogle ScholarCross RefCross Ref
  6. P. Buneman, S. Davidson, G. Hillebrand, and D. Suciu. A query language and optimization techniques for unstructured data. SIGMOD Record, 25(2):505--516, 1996. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. D. Calvanese, G. De Giacomo, M. Lenzerini, and M. Y. Vardi. Rewriting of regular expressions and regular path queries. In Proceedings of the Symposium on Principles of Database Systems, pages 194--204. ACM, 1999. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. J. J. Carroll, I. Dickinson, C. Dollin, D. Reynolds, A. Seaborne, and K. Wilkinson. Jena: implementing the semantic web recommendations. In Proceedings of the 13th international World Wide Web conference on Alternate track papers & posters, pages 74--83. ACM, 2004. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. M. P. Consens, A. O. Mendelzon, D. Vista, and P. T. Wood. Constant propagation versus join reordering in datalog. In Rules in Database Systems, pages 245--259. Springer, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. The DBpedia knowledge base. http://dbpedia.org/.Google ScholarGoogle Scholar
  11. S. Dey, V. Cuevas-Vicenttın, S. Köhler, E. Gribkoff, M. Wang, and B. Ludascher. On implementing provenance-aware regular path queries with relational query engines. In Proceedings of the Joint EDBT/ICDT 2013 Workshops, pages 214--223. ACM, 2013. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. O. Erling and I. Mikhailov. Virtuoso: RDF Support in Native RDBMS. Semantic Web Information Management, 1:501, 2010.Google ScholarGoogle ScholarCross RefCross Ref
  13. D. Florescu, A. Y. Levy, and A. O. Mendelzon. Database techniques for the world-wide web: A survey. SIGMOD Record, 27(3):59--74, 1998. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. S. Harris and A. Seaborne. SPARQL 1.1 query language. W3C working draft. http://www.w3.org/TR/sparql11-query/, November 2012.Google ScholarGoogle Scholar
  15. K. J. Kochut and M. Janik. Sparqler: Extended sparql for semantic association discovery. In The Semantic Web: Research and Applications, pages 145--159. Springer, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. A. Koschmieder and U. Leser. Regular path queries on large graphs. In Scientific and Statistical Database Management, pages 177--194. Springer Berlin Heidelberg, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  17. K. Losemann and W. Martens. The complexity of evaluating path expressions in SPARQL. In Proceedings of the 31st symposium on Principles of Database Systems, pages 101--112. ACM, 2012. Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. A. Mendelzon and P. Wood. Finding regular simple paths in graph databases. SIAM Journal on Computing, 24(6):1235--1258, 1995. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. J. Pérez, M. Arenas, and C. Gutierrez. nSPARQL: A navigational language for rdf. Web Semantics: Science, Services and Agents on the World Wide Web, 8(4):255--270, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library
  20. E. Prud'Hommeaux, A. Seaborne, et al. SPARQL query language for RDF. W3C Recommendation, 15, 2008.Google ScholarGoogle Scholar
  21. W3C: Resource Description Framework (RDF). http://www.w3.org/TR/rdf-concepts/, 2004.Google ScholarGoogle Scholar
  22. L. Segoufin. Automata and logics for words and trees over an infinite alphabet. In Computer Science Logic, pages 41--57. Springer, 2006. Google ScholarGoogle ScholarDigital LibraryDigital Library
  23. L. Segoufin. Static analysis of XML processing with data values. ACM Sigmod Record, 36(1):31--38, 2007. Google ScholarGoogle ScholarDigital LibraryDigital Library
  24. YAGO2s: A high-quality knowledge base. http://yago-knowledge.org/resource/. Max Planck Institut Informatik.Google ScholarGoogle Scholar
  25. N. Yakovets, P. Godfrey, and J. Gryz. Evaluation of SPARQL property paths via recursive SQL. In L. Bravo and M. Lenzerini, editors, AMW, volume 1087 of CEUR Workshop Proceedings. CEUR-WS.org, May 2013.Google ScholarGoogle Scholar
  26. N. Yakovets, P. Godfrey, and J. Gryz. WAVEGUIDE: evaluating SPARQL property path queries. In Proceedings of the 18th International Conference on Extending Database Technology, EDBT 2015, Brussels, Belgium, March 23--27, 2015., pages 525--528, 2015.Google ScholarGoogle Scholar
  27. H. Zauner, B. Linse, T. Furche, and F. Bry. A RPL through RDF: expressive navigation in RDF graphs. In Web Reasoning and Rule Systems, pages 251--257. Springer, 2010. Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Query Planning for Evaluating SPARQL Property Paths

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in
    • Published in

      cover image ACM Conferences
      SIGMOD '16: Proceedings of the 2016 International Conference on Management of Data
      June 2016
      2300 pages
      ISBN:9781450335317
      DOI:10.1145/2882903

      Copyright © 2016 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 26 June 2016

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article

      Acceptance Rates

      Overall Acceptance Rate785of4,003submissions,20%

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader