{"type":"ScholarlyArticle","title":"Counting Query Answers over a DL-Lite Knowledge Base","authors":[{"name":"Diego Calvanese","slug":"diego-calvanese","given":"Diego","family":"Calvanese","affiliation":"Free University of Bozen- Bolzano , Italy; Umeå University , Sweden"},{"name":"Julien Corman","slug":"julien-corman","given":"Julien","family":"Corman","affiliation":"Free University of Bozen- Bolzano , Italy"},{"name":"Davide Lanti","slug":"davide-lanti","given":"Davide","family":"Lanti","affiliation":"Free University of Bozen- Bolzano , Italy"},{"name":"Simon Razniewski","slug":"simon-razniewski","given":"Simon","family":"Razniewski","affiliation":"Max-Planck-Institut für Informatik , Germany"}],"abstract":"Counting answers to a query is an operation supported by virtually all database management systems.\r\nIn this paper we focus on counting answers over a Knowledge Base (KB), which may be viewed as a database enriched with background knowledge about the domain under consideration.\r\nIn particular, we place our work in the context of Ontology-Mediated Query Answering/Ontology-based Data Access (OMQA/OBDA), where the language used for the ontology is a member of the DL-Lite family and the data is a (usually virtual) set of assertions.\r\nWe study the data complexity of query answering, for different members of the DL-Lite family that include number restrictions, and for variants of conjunctive queries with counting that differ with respect to their shape (connected, branching, rooted).\r\nWe improve upon existing results by providing PTIME and coNP lower bounds, and upper bounds in PTIME and LOGSPACE.\r\nFor the LOGSPACE case, we have devised a novel query rewriting technique into first-order logic with counting.","doi":"10.24963/ijcai.2020/230","url":"https://ijcai.org/proceedings/2020/230","pdf":"https://ijcai.org/proceedings/2020/0230.pdf","markdown":"https://ijcai.org/proceedings/2020/230.md","bibtex":"https://ijcai.org/proceedings/2020/bibtex/230","volume":{"slug":"2020","title":"Proceedings of the Twenty-Ninth International Joint Conference on Artificial Intelligence","short_title":"IJCAI 2020","url":"https://ijcai.org/proceedings/2020/","year":2020,"location":"Yokohama","dates":"January 2021 (postponed from 11-17 July 2020)","editors":"Christian Bessiere","isbn":"978-0-9992411-6-5","publisher":"International Joint Conferences on Artificial Intelligence Organization","doi_prefix":"10.24963/ijcai.2020"},"section":"Knowledge Representation and Reasoning","track":"Main track","number":230,"pages":{"first":1658,"last":1666},"keywords":["Knowledge Representation and Reasoning: Description Logics and Ontologies","Multidisciplinary Topics and Applications: Databases","Knowledge Representation and Reasoning: Computational Complexity of Reasoning"],"videos":[{"label":"Video","url":"https://videos.ijcai20.org/25229/file_25229.m3u8","length_sec":281,"provider":"hls"}],"references":[{"position":1,"raw":"[Artale et al., 2009] Alessandro Artale, Diego Calvanese, Ro- man Kontchakov, and Michael Zakharyaschev. The DL-Lite family and relations. J. of Artificial Intelligence Research, 36:1-69, 2009.","title":"The DL-Lite family and relations","authors":"Alessandro Artale, Diego Calvanese, Roman Kontchakov, Michael Zakharyaschev","year":"2009","venue":"J. of Artificial Intelligence Research","doi":null,"url":null,"internal_url":null},{"position":2,"raw":"[Baader et al., 2003] Franz Baader, Diego Calvanese, Deb- orah McGuinness, Daniele Nardi, and Peter F. Patel- Schneider, editors. The Description Logic Handbook: Theory, Implementation and Applications. Cambridge University Press, 2003.","title":"The Description Logic Handbook: Theory, Implementation and Applications","authors":null,"year":"2003","venue":null,"doi":null,"url":null,"internal_url":null},{"position":3,"raw":"[Bienvenu and Ortiz, 2015] Meghyn Bienvenu and Mag- dalena Ortiz. Ontology-mediated query answering with data-tractable description logics. In Reasoning Web: Web Logic Rules -11th Int. Summer School Tutorial Lectures (RW), volume 9203 of LNCS, pages 218-307. Springer, 2015.","title":"Meghyn Bienvenu and Magdalena Ortiz. Ontology-mediated query answering with data-tractable description logics","authors":"Ortiz Bienvenu","year":"2015","venue":"Reasoning Web: Web Logic Rules -11th Int. Summer School Tutorial Lectures","doi":null,"url":null,"internal_url":null},{"position":4,"raw":"[Bienvenu et al., 2017] Meghyn Bienvenu, Stanislav Kikot, Roman Kontchakov, Vladislav Ryzhikov, and Michael Za- kharyaschev. On the parametrised complexity of tree-shaped ontology-mediated queries in OWL 2 QL. In Proc. of the 30th Int. Workshop on Description Logics (DL), volume 1879 of CEUR Workshop Proc., http://ceur-ws.org/, 2017.","title":"On the parametrised complexity of tree-shaped ontology-mediated queries in OWL 2 QL","authors":"Bienvenu","year":"2017","venue":"Proc. of the 30th Int. Workshop on Description Logics (DL)","doi":null,"url":"http://ceur-ws.org/,2017","internal_url":null},{"position":5,"raw":"[Botoeva et al., 2010] Elena Botoeva, Alessandro Artale, and Diego Calvanese. Query rewriting in DL-Lite H N horn . In Proc. of the 23rd Int. Workshop on Description Logics (DL), volume 573 of CEUR Workshop Proc., http://ceur-ws.org/, pages 267-278, 2010.","title":"Query rewriting in DL-Lite H N horn","authors":"Elena Botoeva, Alessandro Artale, Diego Calvanese","year":"2010","venue":"Proc. of the 23rd Int. Workshop on Description Logics (DL)","doi":null,"url":"267-278","internal_url":null},{"position":6,"raw":"[Calvanese et al., 2006] Diego Calvanese, Giuseppe De Gia- como, Domenico Lembo, Maurizio Lenzerini, and Riccardo Rosati. Data complexity of query answering in descrip- tion logics. In Proc. of the 10th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR), pages 260-270, 2006.","title":"Data complexity of query answering in description logics","authors":"Calvanese","year":"2006","venue":"Proc. of the 10th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR)","doi":null,"url":null,"internal_url":null},{"position":7,"raw":"[Calvanese et al., 2007] Diego Calvanese, Giuseppe De Gia- como, Domenico Lembo, Maurizio Lenzerini, and Riccardo Rosati. Tractable reasoning and efficient query answering in description logics: The DL-Lite family. J. of Automated Reasoning, 39(3):385-429, 2007.","title":"Tractable reasoning and efficient query answering in description logics: The DL-Lite family","authors":"Calvanese","year":"2007","venue":"J. of Automated Reasoning","doi":null,"url":null,"internal_url":null},{"position":8,"raw":"[Calvanese et al., 2008a] Diego Calvanese, Giuseppe De Gia- como, and Maurizio Lenzerini. Conjunctive query contain- ment and answering under description logics constraints. ACM Trans. on Comp. Logic, 9(3):22.1-22.31, 2008.","title":"Conjunctive query containment and answering under description logics constraints","authors":"Calvanese","year":"2008","venue":"ACM Trans. on Comp. Logic","doi":null,"url":null,"internal_url":null},{"position":9,"raw":"[Calvanese et al., 2008b] Diego Calvanese, Evgeny Khar- lamov, Werner Nutt, and Camilo Thorne. Aggregate queries over ontologies. In Proc. of the 2nd Int. Workshop on On- tologies and Inf. Systems for the Semantic Web (ONISW), pages 97-104, 2008.","title":"Aggregate queries over ontologies","authors":"Calvanese","year":"2008","venue":"Proc. of the 2nd Int. Workshop on Ontologies and Inf. Systems for the Semantic Web (ONISW)","doi":null,"url":null,"internal_url":null},{"position":10,"raw":"[Calvanese et al., 2013] Diego Calvanese, Giuseppe De Gia- como, Domenico Lembo, Maurizio Lenzerini, and Riccardo Rosati. Data complexity of query answering in description logics. Artificial Intelligence, 195:335-360, 2013.","title":"Data complexity of query answering in description logics","authors":"Calvanese","year":"2013","venue":"Artificial Intelligence","doi":null,"url":null,"internal_url":null},{"position":11,"raw":"[Calvanese et al., 2020] Diego Calvanese, Julien Corman, Da- vide Lanti, and Simon Razniewski. Counting query answers over a DL-Lite knowledge base (Extended version). CoRR Tech. Rep. arXiv:2005.05886, arXiv.org e-Print archive, 2020. Available at http://arxiv.org/abs/2005.05886.","title":"Counting query answers over a DL-Lite knowledge base","authors":"Calvanese","year":"2020","venue":null,"doi":null,"url":"http://arxiv.org/abs/2005.05886","internal_url":null},{"position":12,"raw":"[Chen and Mengel, 2016] Hubie Chen and Stefan Mengel. Counting answers to existential positive queries: a com- plexity classification. In Proc. of the 35th ACM Symp. on Principles of Database Systems (PODS), pages 315-326, 2016.","title":"Counting answers to existential positive queries: a complexity classification","authors":"Chen, Mengel ; ] Hubie Chen, Stefan Mengel","year":"2016","venue":"Proc. of the 35th ACM Symp. on Principles of Database Systems (PODS)","doi":null,"url":null,"internal_url":null},{"position":13,"raw":"[Cima et al., 2019] Gianluca Cima, Charalampos Nikolaou, Egor V. Kostylev, Mark Kaminski, Bernardo Cuenca Grau, and Ian Horrocks. Bag semantics of DL-Lite with func- tionality axioms. In Proc. of the 18th Int. Sem. Web Conf. (ISWC), volume 11778 of LNCS, pages 128-144. Springer, 2019.","title":"Bag semantics of DL-Lite with functionality axioms","authors":"Gianluca Cima, Charalampos Nikolaou, V Egor, Mark Kostylev, Bernardo Cuenca Kaminski, Ian Grau, Horrocks","year":"2019","venue":"Proc. of the 18th Int. Sem. Web Conf. (ISWC)","doi":null,"url":null,"internal_url":null},{"position":14,"raw":"[Cohen et al., 2007] Sara Cohen, Werner Nutt, and Yehoshua Sagiv. Deciding equivalences among conjunctive aggregate queries. J. of the ACM, 54(2):5, 2007.","title":"Deciding equivalences among conjunctive aggregate queries","authors":"Sara Cohen, Werner Nutt, Yehoshua Sagiv","year":"2007","venue":"J. of the ACM","doi":null,"url":null,"internal_url":null},{"position":15,"raw":"[Greenlaw et al., 1991] Raymond Greenlaw, H. James Hoover, and Walter L. Ruzzo. A compendium of prob- lems complete for P. Technical report, Dep. of Computer Science, Univ. of New Hampshire, 1991.","title":"A compendium of problems complete for P","authors":"H James Raymond Greenlaw, Walter L Hoover, Ruzzo","year":"1991","venue":null,"doi":null,"url":null,"internal_url":null},{"position":16,"raw":"[Grumbach and Milo, 1996] Stéphane Grumbach and Tova Milo. Towards tractable algebras for bags. J. of Computer and System Sciences, 52(3):570-588, 1996.","title":"Towards tractable algebras for bags","authors":"Stéphane Grumbach, Tova Milo","year":"1996","venue":"J. of Computer and System Sciences","doi":null,"url":null,"internal_url":null},{"position":17,"raw":"[Kikot et al., 2012] Stanislav Kikot, Roman Kontchakov, and Michael Zakharyaschev. Conjunctive query answering with OWL 2 QL. In Proc. of the 13th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR), pages 275-285, 2012.","title":"Michael Zakharyaschev. Conjunctive query answering with OWL 2 QL","authors":"Kikot","year":"2012","venue":"Proc. of the 13th Int. Conf. on Principles of Knowledge Representation and Reasoning (KR)","doi":null,"url":null,"internal_url":null},{"position":18,"raw":"[Kostylev and Reutter, 2015] Egor V. Kostylev and Juan L. Reutter. Complexity of answering counting aggregate queries over DL-Lite. J. of Web Semantics, 33:94-111, 2015.","title":"Complexity of answering counting aggregate queries over DL-Lite","authors":"V Egor, Juan L Kostylev, Reutter","year":"2015","venue":"J. of Web Semantics","doi":null,"url":null,"internal_url":null},{"position":19,"raw":"[Libkin and Wong, 1997] Leonid Libkin and Limsoon Wong. Query languages for bags and aggregate functions. J. of Computer and System Sciences, 55(2):241-272, 1997.","title":"Leonid Libkin and Limsoon Wong. Query languages for bags and aggregate functions","authors":"Wong Libkin","year":"1997","venue":"J. of Computer and System Sciences","doi":null,"url":null,"internal_url":null},{"position":20,"raw":"[Motik et al., 2012] Boris Motik, Bernardo Cuenca Grau, Ian Horrocks, Zhe Wu, Achille Fokoue, and Carsten Lutz. OWL 2 Web Ontology Language profiles (2nd ed.). W3C Rec., W3C, 2012. http://www.w3.org/TR/owl2-profiles/.","title":"OWL 2 Web Ontology Language profiles (2nd ed.). W3C Rec., W3C","authors":"Boris Motik, Bernardo Cuenca Grau, Ian Horrocks, Zhe Wu, Achille Fokoue, Carsten Lutz","year":"2012","venue":null,"doi":null,"url":"http://www.w3.org/TR/owl2-profiles/","internal_url":null},{"position":21,"raw":"[Nikolaou et al., 2019] Charalampos Nikolaou, Egor V. Kostylev, George Konstantinidis, Mark Kaminski, Bernardo Cuenca Grau, and Ian Horrocks. Foundations of ontology- based data access under bag semantics. Artificial Intelli- gence, 274:91-132, 2019.","title":"Foundations of ontologybased data access under bag semantics","authors":"Charalampos Nikolaou, V Egor, George Kostylev, Mark Konstantinidis, Bernardo Cuenca Kaminski, Ian Grau, Horrocks","year":"2019","venue":"Artificial Intelligence","doi":null,"url":null,"internal_url":null},{"position":22,"raw":"[Pichler and Skritek, 2013] Reinhard Pichler and Sebastian Skritek. Tractable counting of the answers to conjunctive queries. J. of Computer and System Sciences, 79(6):984- 1001, 2013.","title":"Tractable counting of the answers to conjunctive queries","authors":"Reinhard Pichler, Sebastian Skritek","year":"2013","venue":"J. of Computer and System Sciences","doi":null,"url":null,"internal_url":null},{"position":23,"raw":"[Vardi, 1982] Moshe Y. Vardi. The complexity of relational query languages. In Proc. of the 14th ACM Symp. on Theory of Computing (STOC), pages 137-146, 1982.","title":"The complexity of relational query languages","authors":"Moshe Y Vardi","year":"1982","venue":"Proc. of the 14th ACM Symp. on Theory of Computing (STOC)","doi":null,"url":null,"internal_url":null},{"position":24,"raw":"[Xiao et al., 2018] Guohui Xiao, Diego Calvanese, Roman Kontchakov, Domenico Lembo, Antonella Poggi, Riccardo Rosati, and Michael Zakharyaschev. Ontology-based data access: A survey. In Proc. of the 27th Int. Joint Conf. on Artificial Intelligence (ĲCAI), pages 5511-5519. ĲCAI Org., 2018.","title":"Ontology-based data access: A survey","authors":"Guohui Xiao, Diego Calvanese, Roman Kontchakov, Domenico Lembo, Antonella Poggi, Riccardo Rosati, Michael Zakharyaschev","year":"2018","venue":"Proc. of the 27th Int. Joint Conf. on Artificial Intelligence (ĲCAI)","doi":null,"url":null,"internal_url":"/proceedings/2018/777"}],"license_note":"Copyright International Joint Conferences on Artificial Intelligence."}