Prolog query interface: a set-of-mappings approach with optional segmentation

  • Authors:
  • D. J. Russomanno

  • Affiliations:
  • Department of Electrical and Computer Engineering, The University of Memphis, Memphis, TN

  • Venue:
  • International Journal of Computers and Applications
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

A Prolog-based query interface with optional data segmentation via modules is presented in this paper. The motivation of this work is to provide an implementation of a useful, but simple interface that relieves the Prolog programmer from having to recall the component order within a tuple and the complete definitions of a set of underlying facts when forming declarative queries. The implementation includes a schema level representation and accompanying query predicates, such that the order and number of columns within a Prolog query becomes unimportant, resulting in increased data independence. The interface supports three architectures: 1) the traditional Prolog environment, 2) an environment in which Prolog ground clauses have been extracted from heterogeneous data sources, and 3) as an abstraction layer in a loosely coupled architecture with interfaces to Open Database Connectivity (ODBC) compliant sources in which data is accessed as though it existed as ground clauses within the Prolog environment. As compared to traditional approaches to forming a Prolog query, the current implementation of the interface introduced an additional 17.6 microseconds to retrieve a tuple using a 2.0 GHz Intel Xeon processor with 1 GB of RAM.