Skip to main content

A Partial Materialization-Based Approach to Scalable Query Answering in OWL 2 DL

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

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

Included in the following conference series:

Abstract

This paper focuses on the efficient ontology-mediated querying (OMQ) problem. Compared with query answering in plain databases, which deals with fixed finite database instances, a key challenge in OMQ is to deal with the possibly infinite large set of consequences entailed by the ontology, i.e., the so-called chase. Existing techniques mostly avoid materializing the chase by query rewriting to address this issue, which, however, comes at the cost of query rewriting and query evaluation at runtime, and the possibility of missing optimization opportunity at the data level. Instead, pure materialization technology is adopted in this paper. The query-rewriting is unnecessary at materialization. A query analysis algorithm (QAA) is proposed for ensuring the completeness and soundness of OMQ over partial materialization for rooted queries in \(\textit{DL-Lite}^{\mathcal {N}}_{ horn } \). We also soundly and incompletely expand our method to deal with OWL 2 DL. Finally, we implement our approach as a prototype system SUMA by integrating off-the-shelf efficient SPARQL query engines. The experiments show that SUMA is complete on each test ontology and each test query, which is the same as Pellet and outperforms PAGOdA. In addition, SUMA is highly scalable on large data sets.

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 84.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 109.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://github.com/SUMA-2019/SUMA.

References

  1. Artale, A., Calvanese, D., Kontchakov, R., Zakharyaschev, M.: The DL-Lite family and relations. J. Artif. Intell. Res. 36, 1–69 (2009). https://doi.org/10.1613/jair.2820

    Article  MathSciNet  MATH  Google Scholar 

  2. Bienvenu, M.: Ontology-mediated query answering: harnessing knowledge to get more from data. In: Proceedings of IJCAI 2016, pp. 4058–4061 (2016)

    Google Scholar 

  3. Bizer, C., Lehmann, J., Kobilarov, G., Auer, S., Becker, C., Cyganiak, R., et al.: DBpedia: a crystallization point for the web of data. J. Web Semant. 7(3), 154–165 (2009). https://doi.org/10.1016/j.websem.2009.07.002

    Article  Google Scholar 

  4. Botoeva, E., Calvanese, D., Santarelli, V., Fabio Savo, D., Solimando, A., Xiao, G.: Beyond OWL 2 QL in OBDA: rewritings and approximations. In: Proceedings of AAAI 2016, pp. 921–928 (2016)

    Google Scholar 

  5. Calvanese, D., Cogrel, B., Komla-Ebri, S., Kontchakov, R., Lanti, D., Rezk, M., et al.: Ontop: answering SPARQL queries over relational databases. Semant. Web 8(3), 471–487 (2017). https://doi.org/10.3233/SW-160217

    Article  Google Scholar 

  6. Guo, Y., Pan, Z., Heflin, J.: LUBM: a benchmark for OWL knowledge base systems. J. Web Semant. 3(2–3), 158–182 (2005). https://doi.org/10.1016/j.websem.2005.06.005

    Article  Google Scholar 

  7. Harris, S., Seaborne, A., Apache, T., Foundation, S., Prud, E.: SPARQL 1. 1 query language. W3C Recommendation (2013)

    Google Scholar 

  8. Han, X., Feng, Z., Zhang, X., Wang, X., Rao, G., Jiang, S.: On the statistical analysis of practical SPARQL queries. In: Proceedings of WebDB 2011, p. 2 (2016). https://doi.org/10.1145/2932194.2932196

  9. Horrocks, I., Tessaris, S.: Querying the semantic web: a formal approach. In: Horrocks, I., Hendler, J. (eds.) ISWC 2002. LNCS, vol. 2342, pp. 177–191. Springer, Heidelberg (2002). https://doi.org/10.1007/3-540-48005-6_15

    Chapter  MATH  Google Scholar 

  10. Horridge, M., Bechhofer, S.: The owl API: a java API for OWL ontologies. Semant. Web 2(1), 11–21 (2011)

    Article  Google Scholar 

  11. Kontchakov, R., Lutz, C., Toman, D., Wolter, F., Zakharyaschev, M.: The combined approach to query answering in DL-Lite. In: Proceedings of KR 2010 (2010)

    Google Scholar 

  12. Ma, L., Yang, Y., Qiu, Z., Xie, G., Pan, Y., Liu, S.: Towards a complete OWL ontology benchmark. In: Sure, Y., Domingue, J. (eds.) ESWC 2006. LNCS, vol. 4011, pp. 125–139. Springer, Heidelberg (2006). https://doi.org/10.1007/11762256_12

    Chapter  Google Scholar 

  13. Meng, C., Zhang, X., Xiao, G., Feng, Z., Qi, G.: gOWL: a fast ontology-mediated query answering. In: Proceedings of ISWC 2016 (P&D) (2018)

    Google Scholar 

  14. Lutz, C., Seylan, İ., Toman, D., Wolter, F.: The combined approach to OBDA: taming role hierarchies using filters. In: Alani, H., et al. (eds.) ISWC 2013. LNCS, vol. 8218, pp. 314–330. Springer, Heidelberg (2013). https://doi.org/10.1007/978-3-642-41335-3_20

    Chapter  Google Scholar 

  15. Lutz, C.: The complexity of conjunctive query answering in expressive description logics. In: Armando, A., Baumgartner, P., Dowek, G. (eds.) IJCAR 2008. LNCS (LNAI), vol. 5195, pp. 179–193. Springer, Heidelberg (2008). https://doi.org/10.1007/978-3-540-71070-7_16

    Chapter  Google Scholar 

  16. Motik, B., Cuenca Grau, B., Horrocks, I., Wu, Z., Fokoue, A., Lutz, C.: OWL 2 web ontology language profiles (second edition). W3C Recommendation, World Wide Web Consortium (2012)

    Google Scholar 

  17. Motik, B., Patel-Schneider, P.F., Parsia, B.: OWL 2 web ontology language structural specification and functional-style syntax (Second Edition). W3C Recommendation, World Wide Web Consortium (2012)

    Google Scholar 

  18. Motik, B., Shearer, R., Horrocks, I.: Hypertableau reasoning for description logics. J. Artif. Intell. Res. 36, 165–228 (2009)

    Article  MathSciNet  Google Scholar 

  19. Motik, B., Nenov, Y., Piro, R., Horrocks, I., Olteanu, D.: Parallel materialisation of datalog programs in centralised, main-memory RDF systems. In: Proceedings of AAAI 2014, pp. 129–137 (2014)

    Google Scholar 

  20. Nenov, Y., Piro, R., Motik, B., Horrocks, I., Wu, Z., Banerjee, J.: RDFox: a highly-scalable RDF store. In: Arenas, M., et al. (eds.) ISWC 2015. LNCS, vol. 9367, pp. 3–20. Springer, Cham (2015). https://doi.org/10.1007/978-3-319-25010-6_1

    Chapter  Google Scholar 

  21. Neumann, T., Weikum, G.: RDF-3X: a RISC-style engine for RDF. PVLDB 1(1), 647–659 (2008). https://doi.org/10.14778/1453856.1453927

    Article  Google Scholar 

  22. Pan, J., Ren, Y., Zhao, Y.: Tractable approximate deduction for OWL. Artif. Intell. 235, 95–155 (2016). https://doi.org/10.1016/j.artint.2015.10.004

    Article  MathSciNet  MATH  Google Scholar 

  23. Qin, X., Zhang, X., Feng, Z.: Optimizing ontology materialization with equivalent role and inverse role rewriting. In: Proceedings of WWW 2020 (Poster) (2020, accepted)

    Google Scholar 

  24. Sirin, E., Parsia, B., Grau, B., Katz, Y.: Pellet: a practical OWL-DL reasoner. J. Web Semant. 5(2), 51–53 (2007). https://doi.org/10.1016/j.websem.2007.03.004

    Article  Google Scholar 

  25. Zhou, Y., Grau, B., Nenov, Y., Kaminski, M., Horrocks, I.: PAGOdA: pay-as-you-go ontology query answering using a datalog reasoner. J. Artif. Intell. Res. 54, 309–367 (2015). https://doi.org/10.1613/jair.4757

    Article  MathSciNet  MATH  Google Scholar 

Download references

Acknowledgments

We thank Guilin Qi for valuable comments. This work is supported by the National Key Research and Development Program of China (2017YFC0908401), the National Natural Science Foundation of China (61972455, 61672377), and Shenzhen Science and Technology Foundation (JCYJ2017081609 3943197). Xiaowang Zhang is supported by the Peiyang Young Scholars in Tianjin University (2019XRX-0032).

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Xiaowang Zhang .

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

Qin, X., Zhang, X., Yasin, M.Q., Wang, S., Feng, Z., Xiao, G. (2020). A Partial Materialization-Based Approach to Scalable Query Answering in OWL 2 DL. 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 12114. Springer, Cham. https://doi.org/10.1007/978-3-030-59419-0_11

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-59419-0_11

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-59418-3

  • Online ISBN: 978-3-030-59419-0

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics