Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Object > Re: Storing dat...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 34 Topic 276 of 365
Post > Topic >>

Re: Storing data and code in a Db with LISP-like interface

by "Nick Malik [Microsoft]" <nickmalik@[EMAIL PROTECTED] > Apr 13, 2006 at 04:48 PM

"Neo" <neo55592@[EMAIL PROTECTED]
> wrote in message 
news:1144902140.750953.42080@[EMAIL PROTECTED]
>> Aren't you basically reinventing Prolog or one of its variants?
>
> Possibly and probably.
>
>> The notion of code in a database where the code modifies
>> itself as part of the data management is fundamental to Prolog.
>> How is this different?
>
> At the core, the difference is the data model used to represent things.
> LISP uses linked listed which can be nested. ProLog also seems to have
> lists, but I am unsure of its fundamental data methodology. My
> LISP-like interface (still in early dev) is built on top of a data
> model that more similar to RM in terms of functionality.
>

There is nothing novel about this.  Prolog also uses linked lists which
can 
be nested.  In addition, you can place structures in the list, and the 
structures can contain atoms and lists and "lists of lists" and "lists of 
lists and atoms," etc.  There is no 'program.'  The system is an ordered 
database of assertions.  You start the logic engine by asking a question. 
The engine attempts to answer the question using the information in the 
database, matching as it goes, using a depth-first tree search.  The 
underlying math is predicate calculus and horn clauses.  Primitives in the

language allow you to assert data into the database, thus modifying the 
'program'.  This allows the system to learn.

Much of the work on semantic machine learning was done in Prolog in the 
1980s.  The problem that Prolog faced was that it was fairly easy, with 
early engines, to create perfectly legal programs that failed to evaluate 
because the logic engine wasn't sophisticated enough to prune the tree 
efficiently.  This was solved by researchers at SUNY in New York with the 
XSB prolog system. http://www.cs.sunysb.edu/~sbprolog/xsb-page.html

Versions of Prolog exist now for a wide array of platforms, including a 
version of Prolog that compiles to the .Net Framework called P#. 
http://www.dcs.ed.ac.uk/home/stg/Psharp/

This allows you to associate P# directly with Oracle and SQL Server.

-- 
--- Nick Malik [Microsoft]
    MCSD, CFPS, Certified Scrummaster
    http://blogs.msdn.com/nickmalik

Disclaimer: Opinions expressed in this forum are my own, and not 
representative of my employer.
   I do not answer questions on behalf of my employer.  I'm just a 
programmer helping programmers.
--
 




 34 Posts in Topic:
Re: Storing data and code in a Db with LISP-like interface
"Nick Malik [Microso  2006-04-12 00:57:05 
Re: Storing data and code in a Db with LISP-like interface
"Nick Malik [Microso  2006-04-13 16:48:22 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-14 00:56:12 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-16 16:25:50 
Re: Storing data and code in a Db with LISP-like interface
"Nick Malik [Microso  2006-04-17 07:39:07 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-17 20:07:26 
Re: Storing data and code in a Db with LISP-like interface
"Nick Malik [Microso  2006-04-18 23:13:34 
Re: Storing data and code in a Db with LISP-like interface
"Nick Malik [Microso  2006-04-22 10:11:59 
Re: Storing data and code in a Db with LISP-like interface
Pascal Bourguignon <pj  2006-04-23 01:55:15 
Re: Storing data and code in a Db with LISP-like interface
"Nick Malik [Microso  2006-04-28 09:23:34 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-21 13:05:58 
Re: Storing data and code in a Db with LISP-like interface
Pascal Bourguignon <pj  2006-04-21 16:33:02 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-21 14:49:06 
Re: Storing data and code in a Db with LISP-like interface
Pascal Bourguignon <pj  2006-04-21 17:13:44 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-21 17:13:50 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-21 18:33:19 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-21 20:44:02 
Re: Storing data and code in a Db with LISP-like interface
"David Cressey"  2006-04-22 15:04:03 
Re: Storing data and code in a Db with LISP-like interface
Bill Atkins <NOatkinwS  2006-04-22 12:57:37 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-22 17:29:38 
Re: Storing data and code in a Db with LISP-like interface
A..L. <alewando@[EMAIL  2006-04-22 14:11:05 
Re: Storing data and code in a Db with LISP-like interface
Frank Hamersley <terab  2006-04-23 08:30:45 
Re: Storing data and code in a Db with LISP-like interface
"Dmitry A. Kazakov&q  2006-04-21 22:27:47 
Re: Storing data and code in a Db with LISP-like interface
"Dmitry A. Kazakov&q  2006-04-22 11:12:09 
Re: Storing data and code in a Db with LISP-like interface
Sasa <sasa555@[EMAIL P  2006-04-21 22:38:36 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-21 21:03:30 
Re: Storing data and code in a Db with LISP-like interface
Sasa <sasa555@[EMAIL P  2006-04-22 07:40:29 
Re: Storing data and code in a Db with LISP-like interface
"Nick Malik [Microso  2006-04-22 10:47:30 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-22 18:46:57 
Re: Storing data and code in a Db with LISP-like interface
Sasa <sasa555@[EMAIL P  2006-04-22 21:58:37 
Re: Storing data and code in a Db with LISP-like interface
Bob Badour <bbadour@[E  2006-04-22 20:10:22 
Re: Storing data and code in a Db with LISP-like interface
"Nick Malik [Microso  2006-04-22 10:20:37 
Re: Storing data and code in a Db with LISP-like interface
"Nick Malik [Microso  2006-04-22 12:29:41 
Re: Storing data and code in a Db with LISP-like interface
"Nameless" <  2006-04-23 17:28:24 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 7 1:33:59 CDT 2008.