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.
Talk to us
Join us for a 30 min session where you can share your feedback and ask us any queries you have
Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.