Affiliation:
1. Stanford Univ., Stanford, CA
Abstract
We examine methods of implementing queries about relational databases in the case where these queries are expressed in first-order logic as a collection of Horn clauses. Because queries may be defined recursively, straightforward methods of query evaluation do not always work, and a variety of strategies have been proposed to handle subsets of recursive queries. We express such query evaluation techniques as “capture rules” on a graph representing clauses and predicates. One essential property of capture rules is that they can be applied independently, thus providing a clean interface for query-evaluation systems that use several different strategies in different situations. Another is that there be an efficient test for the applicability of a given rule. We define basic capture rules corresponding to application of operators from relational algebra, a top-down capture rule corresponding to “backward chaining,” that is, repeated resolution of goals, a bottom-up rule, corresponding to “forward chaining,” where we attempt to deduce all true facts in a given class, and a “sideways” rule that allows us to pass results from one goal to another.
Publisher
Association for Computing Machinery (ACM)
Cited by
195 articles.
订阅此论文施引文献
订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献
1. The Determinants of the Efficiency of Microfinance Institutions in Africa;Journal of Risk and Financial Management;2024-07-24
2. A Knowledgebase Model Using RDF Knowledge Graph for ClinicalDecision Support Systems;Semantic Web for Effective Healthcare;2021-11-11
3. PrivaLog: a Privacy-aware Logic Programming Language;23rd International Symposium on Principles and Practice of Declarative Programming;2021-09-06
4. Short Paper: Secure Multiparty Logic Programming;Proceedings of the 15th Workshop on Programming Languages and Analysis for Security;2020-11-09
5. Degrees of Information Relevance in Situation Assessment;2020 IEEE Conference on Cognitive and Computational Aspects of Situation Management (CogSIMA);2020-08