Abstract

A system which tightly integrates Prolog and relational database is presented. In our approach, a new data object “table” is extended to Prolog. Any data object may be defined as an element in a Prolog's table. So a set of clauses may be described in a table rather than in Horn clauses. With table concept, set operation language SQL is modified to be able to query Prolog's tables as well as relational database's tables in the embedded “sql” call. This integration causes recursively querying a database table to be easy and efficient. NO communication cost between Prolog and relational database system is taken. In addition, each Prolog term is viewed as a pattern. We allow that all Prolog terms but variable may be stored in the relational database in string for improving the knowledge representation ability.

Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call