Help me with AIML and database queries please!!

View: New views
1 Messages — Rating Filter:   Alert me  

Help me with AIML and database queries please!!

by musky :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i have installed rebecca AIML interpreter as an eclipse plugin.

i have used rebecca since it came with an eclipse plugin and i can also program in java.

my question now is:
say a user(client) questions the bot:"retreive the tuples from a restaurants table"
the bot should then retrieve the tuples using an sql query:"select * from restaurants"

how do i program this in AIML?

of course i have assumed that in my java code i have established a connection to the database server(I am using Java derby network server) using the Derby network client driver and created a database with tuples entered into the restaurants table under the database.