Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
odbc or other database-like interface TO Prolog
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Weston  
View profile  
 More options Nov 27 2006, 3:28 pm
Newsgroups: comp.lang.prolog
From: "Weston" <notsew-reversePreceedingAndRemoveT...@canncentral.org>
Date: 27 Nov 2006 12:28:30 -0800
Local: Mon, Nov 27 2006 3:28 pm
Subject: odbc or other database-like interface TO Prolog
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);

   $result = odbc_exec($rsrc,$prolog_query);

Is there anything out there like this?

Thanks,

Weston


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neo  
View profile  
 More options Dec 1 2006, 5:22 pm
Newsgroups: comp.lang.prolog
From: "Neo" <neo55...@hotmail.com>
Date: 1 Dec 2006 14:22:05 -0800
Local: Fri, Dec 1 2006 5:22 pm
Subject: Re: odbc or other database-like interface TO Prolog

While Prolog can store and query the data you want, it doesn't appear
you can access these capabilities from outside Prolog. Others here can
probably give a more definitive answer. What scripting language are you
using? Why not manage your data in a regular database like MS Access.
It's true it won't accept "car(x, 'red')" but you could you get the
same results with SELECT queries, couldn't you? What kind of data is
involved in your project?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
A. L.  
View profile  
 More options Dec 1 2006, 5:47 pm
Newsgroups: comp.lang.prolog
From: A.L. <alewa...@fala2005.com>
Date: Fri, 01 Dec 2006 16:47:03 -0600
Local: Fri, Dec 1 2006 5:47 pm
Subject: Re: odbc or other database-like interface TO Prolog
On 27 Nov 2006 12:28:30 -0800, "Weston"

Check PrologBeans in SICStus Prolog

A.L.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
A. L.  
View profile  
 More options Dec 1 2006, 5:47 pm
Newsgroups: comp.lang.prolog
From: A.L. <alewa...@fala2005.com>
Date: Fri, 01 Dec 2006 16:47:33 -0600
Local: Fri, Dec 1 2006 5:47 pm
Subject: Re: odbc or other database-like interface TO Prolog
On 1 Dec 2006 14:22:05 -0800, "Neo" <neo55...@hotmail.com> wrote:

>While Prolog can store and query the data you want, it doesn't appear
>you can access these capabilities from outside Prolog.

Why not?...

A.L.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Neo  
View profile  
 More options Dec 1 2006, 7:31 pm
Newsgroups: comp.lang.prolog
From: "Neo" <neo55...@hotmail.com>
Date: 1 Dec 2006 16:31:30 -0800
Local: Fri, Dec 1 2006 7:31 pm
Subject: Re: odbc or other database-like interface TO Prolog

> >While Prolog can store and query the data you want, it doesn't appear
> >you can access these capabilities from outside Prolog.

> Why not?...

Thx for the correction.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »