Abstract
Query rewriting is a popular approach for ontology based data access and in general for first order rewritable knowledge bases. The algorithms defined in the field are based on conjunctive queries with no use of negation over the atoms that are part of them. Also, the constraints present in the knowledge base are ignored in the process of rewriting a query and they are only used to check the consistency of the data. In this paper, we study the problem of answering queries that allow negated atoms. Our approach uses a rewriting algorithm as a black box and the constraints in the system to find a set of conjunctive queries without negated atoms that is equivalent to the original query containing negated atoms. A system (Completo) was implemented with the proposed method and compared to another system (Rebsir) that is able to rewrite negated concepts. In the experimental evaluation Completo performed better than Rebsir for most of the datasets in the benchmark and it portrayed a more scalable performance i.e. describing a faster relative performance with respect to Rebsir’s performance with the increase of the size of assertions in the dataset.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
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, New York (2003)
Baget, J.-F., Leclère, M., Mugnier, M.-L., Rocher, S., Sipieter, C.: Graal: a toolkit for query answering with existential rules. In: Bassiliades, N., Gottlob, G., Sadri, F., Paschke, A., Roman, D. (eds.) RuleML 2015. LNCS, vol. 9202, pp. 328–344. Springer, Cham (2015). doi:10.1007/978-3-319-21542-6_21
Baget, J.F., Leclère, M., Mugnier, M.L., Salvat, E.: DL-SR: a lite DL with expressive rules: preliminary results. In: Baader, F., Lutz, C., Motik, B. (eds.) Description Logics, vol. 353. CEUR Workshop Proceedings (2008). CEUR-WS.org
Baget, J.F., Leclere, M., Mugnier, M.L., Salvat, E.: On rules with existential variables: walking the decidability line. Artif. Intell. 175(9), 1620–1654 (2011)
Bárány, V., Cate, B.T., Otto, M.: Queries with guarded negation (full version). CoRR, abs/1203.0077 (2012)
Bizer, C., Lehmann, J., Kobilarov, G., Auer, S., Becker, C., Cyganiak, R., Hellmann, S.: Dbpedia - a crystallization point for the web of data. Web Semant. 7(3), 154–165 (2009)
Calvanese, D., Giacomo, G., Lembo, D., Lenzerini, M., Rosati, R.: Tractable reasoning and efficient query answering in description logics: the DL-Lite family. J. Autom. Reason. 39(3), 385–429 (2007)
Du, J., Pan, J.Z.: Rewriting-based instance retrieval for negated concepts in description logic ontologies. In: Arenas, M., et al. (eds.) ISWC 2015. LNCS, vol. 9366, pp. 339–355. Springer, Cham (2015). doi:10.1007/978-3-319-25007-6_20
Gottlob, G., Orsi, G., Pieris, A.: Query rewriting and optimization for ontological databases. ACM Trans. Database Syst. 39(3), 25:1–25:46 (2014)
Guo, Y., Pan, Z., Heflin, J.: LUBM: a benchmark for OWL knowledge base systems. Web Semant. 3(2–3), 158–182 (2005)
Gutiérrez-Basulto, V., Ibañez-GarcÃa, Y., Kontchakov, R., Kostylev, E.V.: Conjunctive queries with negation over DL-Lite: a closer look. In: Faber, W., Lembo, D. (eds.) RR 2013. LNCS, vol. 7994, pp. 109–122. Springer, Heidelberg (2013). doi:10.1007/978-3-642-39666-3_9
König, M., Leclère, M., Mugnier, M.-L., Thomazo, M.: Sound, complete and minimal ucq-rewriting for existential rules. Semant. Web 6(5), 451–475 (2015)
Trivela, D., Stoilos, G., Chortaras, A., Stamou, G.: Optimising resolution-based rewriting algorithms for owl ontologies. Web Semant. Sci. Serv. Agents World Wide Web 33, 30–49 (2015)
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2017 Springer International Publishing AG
About this paper
Cite this paper
Alfonso, E.M., Stamou, G. (2017). Rewriting Queries with Negated Atoms. In: Costantini, S., Franconi, E., Van Woensel, W., Kontchakov, R., Sadri, F., Roman, D. (eds) Rules and Reasoning. RuleML+RR 2017. Lecture Notes in Computer Science(), vol 10364. Springer, Cham. https://doi.org/10.1007/978-3-319-61252-2_11
Download citation
DOI: https://doi.org/10.1007/978-3-319-61252-2_11
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-319-61251-5
Online ISBN: 978-3-319-61252-2
eBook Packages: Computer ScienceComputer Science (R0)