Meta-queries on deductive databases
1999 (English)In: Fundamenta Informaticae, ISSN 0169-2968, Vol. 40, no 1, 17-30Article in journal (Refereed) Published
We introduce the notion of a meta-query on relational databases and a technique which can be used to represent and solve a number of interesting problems from the area of knowledge representation using logic. The technique is based on the use of quantifier elimination and may also be used to query relational databases using a declarative query language called SHQL (Semi-Horn Query Language), introduced in . SHQL is a fragment of classical first-order predicate logic and allows us to define a query without supplying its explicit definition. All SHQL queries to the database can be processed in polynomial time (both on the size of the input query and the size of the database). We demonstrate the use of the technique in problem solving by structuring logical puzzles from the Knights and Knaves domain as SHQL meta-queries on relational databases. We also provide additional examples demonstrating the flexibility of the technique. We conclude with a description of a newly developed software tool, The Logic Engineer, which aids in the description of algorithms using transformation and reduction techniques such as those applied in the meta-querying approach.
National CategoryComputer Science
IdentifiersURN: urn:nbn:se:liu:diva-41618DOI: 10.3233/FI-1999-40102ScopusID: 2-s2.0-0040368700Local ID: 58397OAI: oai:DiVA.org:liu-41618DiVA: diva2:262472