This paper studies the completeness of conjunctive queries over a partially complete database and the approximation of incomplete queries. Given a query and a set of completeness rules (a special kind of tuple generating dependencies) that specify which parts of the database are complete, we investigate whether the query can be fully answered, as if all data were available. If not, we explore reformulating the query into either Maximal Complete Specializations (MCSs) or the (unique up to equivalence) Minimal Complete Generalization (MCG) that can be fully answered, that is, the best complete approximations of the query from below or above in the sense of query containment. We show that the MSG can be characterized as the least fixed-point of a monotonic operator in a preorder. Then, we show that an MCS can be computed by recursive backward application of completeness rules. We study the complexity of both problems and discuss implementation techniques that rely on an ASP and Prolog engines, respectively.
A Neuro-Symbolic Framework for Answering Graph Pattern Queries in Knowledge Graphs
University of Antwerp(安特卫普大学);Vrije Universiteit Amsterdam(阿姆斯特丹自由大学);Elsevier(爱思唯尔);Universidad Católica de Chile(智利天主教大学);CENIA Chile(智利CENIA机构);Inst. for Math. and Comp. Eng.(数学与计算工程研究所);IMFD Chile(智利IMFD机构)
Nearest Neighbor Classifiers over Incomplete Information: From Certain Answers to Certain Predictions
ETH Zurich(苏黎世联邦理工学院);Georgia Institute of Technology(佐治亚理工学院);Microsoft Research(微软研究院)
机器学习(ML)应用最近一直在蓬勃发展,这在很大程度上归功于数据可用性的增加。然而,不一致和不完整的信息在现实世界的数据集中无处不在,它们对ML应用程序的影响仍然难以捉摸。在本文中,我们提出了一个正式的研究这种影响扩展的概念,某些答案Codd表,这已经探索了几十年的数据库研究社区,到机器学习领域。具体地说,我们专注于分类问题,并提出了“确定性预测”(CP)的概念--如果在由数据的不完整性引起的所有可能世界之上训练的所有可能的分类器都将产生相同的预测,则测试数据示例肯定可以被预测(CP“ed)。我们研究了两个基本的CP查询:(Q1)检查查询,确定数据示例是否可以被CP'ed;以及(Q2)计数查询,计算支持特定预测的分类器的数量(即,标签)。鉴于CP查询的一般解决方案,毫不奇怪,很难没有假设的分类器的类型,我们进一步提出了一个案例研究的上下文中的最近邻(NN)分类器,在那里可以开发有效的解决方案CP查询-我们表明,它是可能的回答这两个查询在线性或多项式时间指数许多可能的世界。我们展示了CP在“机器学习的数据清理(DC for ML)”的重要应用中的一个示例用例。“我们表明,我们提出的基于CP的CPClean方法在分类准确性方面通常可以显着优于现有技术,只需进行轻度手动清理。
Vrije Universiteit Amsterdam(阿姆斯特丹自由大学);Elsevier Discovery Lab(爱思唯尔发现实验室);University of Copenhagen(哥本哈根大学);Ludwig-Maximilians-Universität München(慕尼黑大学);Mila Quebec(魁北克米拉研究所);McGill University(麦吉尔大学);University of Edinburgh(爱丁堡大学);University of Stuttgart(斯图加特大学);Stanford University(斯坦福大学)