Re: MultiValue Databases

From: Neo <neo55592_at_hotmail.com>
Date: 9 Jun 2005 13:13:11 -0700
Message-ID: <1118347991.865468.79320_at_f14g2000cwb.googlegroups.com>


> There are just too many newcomers to database theory here (in comp.databases) to see how bad neo's system really is.

So that newcomers can compare the xrdb and RM script for the simple example, could you post the missing RM query to find a person with phone#s 111-1111 and 222-2222. You and others had provided it earlier for the initial RM schema, however they no longer works because the schema was modified to accomodate "John likes Mary" and the query to find relationship between John and 111-1111. (Note that xrdb's original queries continue to work)

Also, how can I implement the following xrdb queries in the new RM schema:

// Find like's type.
// Returns verb.
(SELECT * inst like)

// Find a person who likes a person whose phone# is 222-2222.
// Returns john.
(SELECT * like (* phone# 222-2222))

// Find type of thing
// which is liked by a person
// whose ph# are 111-1111 and 222-2222.
// Returns person.

(SELECT * inst ((person inst * & * phone# 111-1111 & * phone# 222-2222) like *)) Received on Thu Jun 09 2005 - 22:13:11 CEST

Original text of this message