1982 · 50 citations · 6 references
ComputingComputer ScienceDatabasesLogicSet TheoryFirst-order LogicLogic ProgrammingPredicate LogicQuery ProcessingRelational AlgebraRelational Data ModelFirst-order Logic ProgrammingFixed-point LogicHorn Clause LogicHorn ClausesRelational CalculusRelational Query Languages
A logic program consists of a set of Horn clauses, and can be used to express a query on relational data bases. It is shown that logic programs express precisely the queries in YE+ (the set of queries representable by a fixpoint applied to a positive existential query). Queries expressible by logic programs are thus not first order queries in general; nor are all the first order queries expressible as logic programs. A way of adding the negation operator to logic programs is suggested. The resulting set of clausal queries equals FP, the set of first order queries closed under fixpoints (as well as ¬, ∨, 3).
6
The Semantics of Predicate Logic as a Programming Language
M. H. van Emden, Robert Kowalski · Journal of the ACM · 1976 · 1.5K citations · Full text
Humanities, Computer Science, Logic +16
Universality of data retrieval languages
Alfred V. Aho, Jeffrey D. Ullman · 1979 · 634 citations · Full text
Computing, Computer Science, Algebra +14
Relational queries computable in polynomial time (Extended Abstract)
Neil Immerman · 1982 · 102 citations
Computing, Computer Science, Algebra +14
Structure and complexity of relational queries
Ashok K. Chandra, David Harel · 1980 · 41 citations