Abstract
In this tutorial we address the problem of ontology querying, that is, the problem of answering queries against a theory constituted by facts (the data) and inference rules (the ontology). A varied landscape of ontology languages exists in the scientific literature, with several degrees of complexity of query processing. We argue that Datalog\(^\pm \), a family of languages derived from Datalog, is a powerful tool for ontology querying. To illustrate the impact of this comeback of Datalog, we present the basic paradigms behind the main Datalog\(^\pm \) as well as some recent extensions. We also present some efficient query processing techniques for some cases.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Notice that here we deviate from the classic Datalog notation \( head \leftarrow body \) or \( head \texttt {:-} body \); instead, we use the notation \( body \rightarrow head \). Notice also that in Datalog the head is composed of a single atom.
References
Abiteboul, S., Hull, R., Vianu, V.: Foundations of Databases. Addison-Wesley, Reading (1995)
Alviano, M., Pieris, A.: Default negation for non-guarded existential rules. In: Proceeding of PODS, pp. 79–90 (2015)
Andréka, H., Németi, I., van Benthem, J.: Modal languages and bounded fragments of predicate logic. J. Philos. Logic 27(3), 217–274 (1998)
Arenas, M., Gottlob, G., Pieris, A.: Expressive languages for querying the semantic web. In: Proceeding of PODS, pp. 14–26 (2014)
Baader, F., Calvanese, D., McGuinness, D.L., Nardi, D., Patel-Schneider, P.F. (eds.): The Description Logic Handbook: Theory, Implementation, and Applications. Cambridge University Press, Cambridge (2003)
Baget, J.-F., Leclère, M., Mugnier, M.-L., Salvat, E.: On rules with existential variables: walking the decidability line. Artif. Intell. 175(9–10), 1620–1654 (2011)
Baumgartner, R., Gatterbauer, W., Gottlob, G.: Monadic datalog and the expressive power of web information extraction languages. In: Liu, L., Tamer Özsu, M. (eds.) Encyclopedia of Database Systems, pp. 3465–3471. Springer, New York (2009)
Beeri, C., Vardi, M.Y.: The implication problem for data dependencies. In: Even, S., Kariv, O. (eds.) ICALP 1981. LNCS, vol. 115, pp. 73–85. Springer, Heidelberg (1981). doi:10.1007/3-540-10843-2_7
Bourhis, P., Morak, M., Pieris, A.: The impact of disjunction on query answering under guarded-based existential rules. In: Proceeding of IJCAI, pp. 796–802 (2013)
Calì, A., Console, M., Frosini, R.: On separability of ontological constraints. In: Proceeding of AMW, pp. 48–61 (2012)
Calì, A., Gottlob, G.: Taming the infinite chase: query answering under expressive relational constraints. J. Artif. Intell. Res. (JAIR) 48, 115–174 (2013)
Calì, A., Gottlob, G., Lukasiewicz, T.: A general datalog-based framework for tractable query answering over ontologies. J. Web Sem. 14, 57–83 (2012)
Calì, A., Gottlob, G., Lukasiewicz, T., Marnette, B., Pieris, A.: Datalog\(^\pm \): a family of logical knowledge representation and query languages for new applications. In: Proceeding of LICS, pp. 228–242 (2010)
Calì, A., Gottlob, G., Pieris, A.: Towards more expressive ontology languages: the query answering problem. Artif. Intell. 193, 87–128 (2012)
Calì, A., Lembo, D., Rosati, R.: On the decidability and complexity of query answering over inconsistent and incomplete databases. In: Proceeding of PODS, pp. 260–271 (2003)
Ceri, S., Gottlob, G., Tanca, L.: Logic Programming and Databases. Springer, Heidelberg (1990)
Dantsin, E., Eiter, T., Georg, G., Voronkov, A.: Complexity and expressive power of logic programming. ACM Comput. Surv. 33(3), 374–425 (2001)
Furche, T., Gottlob, G., Grasso, G., Gunes, O., Guo, X., Kravchenko, A., Orsi, G., Schallhart, C., Sellers, A., Wang, C.: DIADEM: domain-centric, intelligent, automated data extraction methodology. In: Proceeding of WWW (Companion Volume), pp. 267–270 (2012)
Gottlob, G., Hernich, A., Kupke, C., Lukasiewicz, T.: Stable model semantics for guarded existential rules and description logics. In: Proceeding of KR (2014)
Hajiyev, E., Verbaere, M., Moor, O.: codeQuest: scalable source code queries with datalog. In: Thomas, D. (ed.) ECOOP 2006. LNCS, vol. 4067, pp. 2–27. Springer, Heidelberg (2006). doi:10.1007/11785477_2
Milani, M., Calì, A., Bertossi, L.E.: A hybrid approach to query answering under expressive Datalog\(^\pm \). In: Proceeding of RR, pp. 144–158 (2016)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this chapter
Cite this chapter
Calì, A. (2017). Ontology Querying: Datalog Strikes Back. In: Ianni, G., et al. Reasoning Web. Semantic Interoperability on the Web. Reasoning Web 2017. Lecture Notes in Computer Science(), vol 10370. Springer, Cham. https://doi.org/10.1007/978-3-319-61033-7_3
Download citation
DOI: https://doi.org/10.1007/978-3-319-61033-7_3
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-61032-0
Online ISBN: 978-3-319-61033-7
eBook Packages: Computer ScienceComputer Science (R0)