Re: odbc or other database-like interface TO Prolog
- From: A.L. <alewando@xxxxxxxxxxxx>
- Date: Fri, 01 Dec 2006 16:47:03 -0600
On 27 Nov 2006 12:28:30 -0800, "Weston"
<notsew-reversePreceedingAndRemoveThis@xxxxxxxxxxxxxxx> wrote:
13 years after doing some academic stuff in Turbo Prolog, I'm looking
at a potential project and realizing some aspects of it might be
simplified by using Prolog as a database and query mechanism rather
than a traditional SQL. However, I'm really not interested in writing
the entire app in Prolog. What I'd rather do is pick a scripting
language, and then make queries to a Prolog-server with an interface
much like one frequently sees to the commonly used SQL databases. To
use a perl/php-esque example, something that would enable a sequence
like this if I were trying to find a car that were red in a db of
prolog facts:
$prolog_query = "car(X,'red')";
$rsrc = odbc_connect("DRIVER={Prolog ODBC Driver};
CommLinks=tcpip(Host=$db_host);
DatabaseName=$db_name;",$db_user,$db_pass);
Check PrologBeans in SICStus Prolog
A.L.
.
- Prev by Date: Re: odbc or other database-like interface TO Prolog
- Next by Date: Re: odbc or other database-like interface TO Prolog
- Previous by thread: Re: odbc or other database-like interface TO Prolog
- Index(es):
Relevant Pages
|
|