Skip to main content

\(\textsf {GQA}_{\textsf {RDF}}\): A Graph-Based Approach Towards Efficient SPARQL Query Answering

  • Conference paper
  • First Online:
Database Systems for Advanced Applications (DASFAA 2020)

Part of the book series: Lecture Notes in Computer Science ((LNISA,volume 12113))

Included in the following conference series:

  • 1806 Accesses

Abstract

Due to the increasing use of RDF data, efficient processing of SPARQL queries over RDF datasets has become an important issue. In graph-based RDF data management solution, SPARQL queries are translated into subgraph patterns and evaluated over RDF graphs via graph matching. However, answering SPARQL queries requires handing RDF reasoning to model implicit triples in RDF data, which is largely overlooked by existing graph-based solutions. In this paper, we investigate to equip graph-based solution with the important RDF reasoning feature for supporting SPARQL query answering. (1) We propose an on-demand saturation strategy, which only selects an RDF fragment that may be potentially affected by the query. (2) We provide a filtering-and-verification framework to efficiently compute the answers of a given query. The framework groups the equivalent entity vertices in the RDF graph to form semantic abstracted graph as index, and further computes the matches according to the multi-grade pruning supported by the index. (3) In addition, we show that the semantic abstracted graph and the graph saturation can be efficiently updated upon the changes to the data graph, enabling the framework to cope with dynamic RDF graphs. (4) Extensive experiments over real-life and synthetic datasets verify the effectiveness and efficiency of our approach.

X. Wang and Q. Zhang—Both authors contributed equally to this work.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 119.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 159.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Notes

  1. 1.

    https://www.w3.org/RDF/.

  2. 2.

    https://www.w3.org/TR/sparql11-query/.

  3. 3.

    In this paper, we may use SPARQL BGP query" and RDF query" interchangeably.

  4. 4.

    https://www.w3.org/TR/rdf-sparql-query/#BasicGraphPatterns.

References

  1. Neumann, T., Weikum, G.: The RDF-3X engine for scalable management of RDF data. VLDB J. 19(1), 91–113 (2010)

    Article  Google Scholar 

  2. Sakr, S., Wylot, M., Mutharaju, R., Phuoc, D.L., Fundulaki, I.: Linked Data: Storing, Querying, and Reasoning. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-73515-3

    Book  Google Scholar 

  3. Wylot, M., Hauswirth, M., Cudré-Mauroux, P., Sakr, S.: RDF data storage and query processing schemes: a survey. ACM Comput. Surv. 51, 84:1–84:36 (2018)

    Article  Google Scholar 

  4. Kim, J., Shin, H., Han, W., Hong, S., Chafi, H.: Taming subgraph isomorphism for RDF query processing. PVLDB 8(11), 1238–1249 (2015)

    Google Scholar 

  5. Zou, L., Mo, J., Chen, L., Özsu, M.T., Zhao, D.: gStore: answering SPARQL queries via subgraph matching. PVLDB 4(8), 482–493 (2011)

    Google Scholar 

  6. Ingalalli, V., Ienco, D., Poncelet, P., Villata, S.: Querying RDF data using a multigraph-based approach. In: EDBT 2016, Bordeaux, France, 15–16 March 2016, pp. 245–256 (2016)

    Google Scholar 

  7. Harris, S., Gibbins, N.: 3store: efficient bulk RDF storage. In: PSSS1, Sanibel Island, Florida, USA, 20 October 2003

    Google Scholar 

  8. Bishop, B., Kiryakov, A., Ognyanoff, D., Peikov, I., Tashev, Z., Velkov, R.: OWLIM: a family of scalable semantic repositories. Semant. Web 2(1), 33–42 (2011)

    Article  Google Scholar 

  9. Calvanese, D., De Giacomo, G., Lembo, D., Lenzerini, M., Rosati, R.: Tractable reasoning and efficient query answering in description logics: the DL-Lite family. J. Autom. Reasoning 39(3), 385–429 (2007)

    Article  MathSciNet  Google Scholar 

  10. Gottlob, G., Orsi, G., Pieris, A.: Ontological queries: rewriting and optimization. In: ICDE 2011, 11–16 April 2011, Hannover, Germany, pp. 2–13 (2011)

    Google Scholar 

  11. Zou, L., Özsu, M.T.: Graph-based RDF data management. Data Sci. Eng. 2(1), 56–70 (2017)

    Article  Google Scholar 

  12. Bloom, B.H.: Space/time trade-offs in hash coding with allowable errors. Commun. ACM 13(7), 422–426 (1970)

    Article  Google Scholar 

  13. Bi, F., Chang, L., Lin, X., Qin, L., Zhang, W.: Efficient subgraph matching by postponing cartesian products. In: SIGMOD Conference 2016, San Francisco, CA, USA, 26 June–01 July 2016, pp. 1199–1214 (2016)

    Google Scholar 

  14. Zou, L., Özsu, M.T., Chen, L., Shen, X., Huang, R., Zhao, D.: gstore: a graph-based SPARQL query engine. VLDB J. 23(4), 565–590 (2014)

    Article  Google Scholar 

  15. Zeng, L., Zou, L.: Redesign of the gstore system. Front. Comput. Sci. 12(4), 623–641 (2018)

    Article  Google Scholar 

  16. Abadi, D.J., Marcus, A., Madden, S., Hollenbach, K.: Sw-store: a vertically partitioned DBMS for semantic web data management. VLDB J. 18(2), 385–406 (2009)

    Article  Google Scholar 

  17. Neumann, T., Weikum, G.: x-RDF-3X: Fast querying, high update rates, and consistency for RDF databases. PVLDB 3(1), 256–263 (2010)

    Google Scholar 

  18. Weiss, C., Karras, P., Bernstein, A.: Hexastore: sextuple indexing for semantic web data management. PVLDB 1(1), 1008–1019 (2008)

    Google Scholar 

  19. Huang, J., Abadi, D.J., Ren, K.: Scalable SPARQL querying of large RDF graphs. PVLDB 4(11), 1123–1134 (2011)

    Google Scholar 

  20. Udrea, O., Pugliese, A., Subrahmanian, V.S.: GRIN: a graph based RDF index. In: AAAI, 22–26 July 2007, Vancouver, British Columbia, Canada, pp. 1465–1470 (2007)

    Google Scholar 

  21. Lyu, X., Wang, X., Li, Y.-F., Feng, Z., Wang, J.: GraSS: an efficient method for RDF subgraph matching. In: Wang, J., et al. (eds.) WISE 2015. LNCS, vol. 9418, pp. 108–122. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-26190-4_8

    Chapter  Google Scholar 

  22. Carroll, J.J., Dickinson, I., Dollin, C., Reynolds, D., Seaborne, A., Wilkinson, K.: Jena: implementing the semantic web recommendations. In: WWW 2004, New York, USA, 17–20 May, pp. 74–83 (2004)

    Google Scholar 

  23. Broekstra, J., Kampman, A., van Harmelen, F.: Sesame: a generic architecture for storing and querying RDF and RDF schema. In: Horrocks, I., Hendler, J. (eds.) ISWC 2002. LNCS, vol. 2342, pp. 54–68. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-48005-6_7

    Chapter  Google Scholar 

  24. Goasdoué, F., Manolescu, I., Roatis, A.: Efficient query answering against dynamic RDF databases. In: EDBT Genoa, Italy, 18–22 March, pp. 299–310 (2013)

    Google Scholar 

  25. Bursztyn, D., Goasdoué, F., Manolescu, I.: Optimizing reformulation-based query answering in RDF. In: EDBT 2015, Brussels, Belgium, 23–27 March, pp. 265–276 (2015)

    Google Scholar 

Download references

Acknowledgement

This work is partially supported by National Natural Science Foundation of China under Grant No. 61872446, Natural Science Foundation of Hunan Province under Grant No. 2019JJ20024, National key research and development program under Grant Nos. 2018YFB1800203 and 2018YFE0207600.

Author information

Authors and Affiliations

Authors

Corresponding authors

Correspondence to Deke Guo or Xiang Zhao .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2020 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Wang, X., Zhang, Q., Guo, D., Zhao, X., Yang, J. (2020). \(\textsf {GQA}_{\textsf {RDF}}\): A Graph-Based Approach Towards Efficient SPARQL Query Answering. In: Nah, Y., Cui, B., Lee, SW., Yu, J.X., Moon, YS., Whang, S.E. (eds) Database Systems for Advanced Applications. DASFAA 2020. Lecture Notes in Computer Science(), vol 12113. Springer, Cham. https://doi.org/10.1007/978-3-030-59416-9_33

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-59416-9_33

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-59415-2

  • Online ISBN: 978-3-030-59416-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics