Doherty, Patrick Kachniarz, Jaroslaw Szalas, Andrzej 1999 (English)In: Fundamenta Informaticae, ISSN 0169-2968, Vol. 40, no 1, 17-30Artikel i tidskrift (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:nbn:se:liu:diva-41618 (URN)10.3233/FI-1999-40102 (DOI)2-s2.0-0040368700 (ScopusID)58397 (Local ID)oai:DiVA.org:liu-41618 (OAI)