Path: dp-news.maxwell.syr.edu!spool.maxwell.syr.edu!drn.maxwell.syr.edu!news.maxwell.syr.edu!postnews.google.com!g43g2000cwa.googlegroups.com!not-for-mail
From: amado.alves@netcabo.pt
Newsgroups: comp.databases.theory
Subject: Re: Nested Sets vs. Nested Intervals
Date: 10 Nov 2005 19:02:24 -0800
Organization: http://groups.google.com
Lines: 21
Message-ID: <1131674470.239615.88020@g43g2000cwa.googlegroups.com>
References: <1131534408.817691.272280@z14g2000cwz.googlegroups.com>
   <1131541468.409287.239210@g44g2000cwa.googlegroups.com>
   <1131543274.585676.12080@g43g2000cwa.googlegroups.com>
   <1131548524.242937.79230@o13g2000cwo.googlegroups.com>
   <1131557024.895443.310580@g14g2000cwa.googlegroups.com>
   <1131560430.049560.186920@o13g2000cwo.googlegroups.com>
   <1131576889.911246.121560@z14g2000cwz.googlegroups.com>
   <16KdnTyyQOFbPe_eRVn-vw@comcast.com>
   <1131623827.779709.101250@z14g2000cwz.googlegroups.com>
   <1131630998.268870.190590@o13g2000cwo.googlegroups.com>
   <1131645590.464316.97210@g14g2000cwa.googlegroups.com>
   <1131654657.221904.311330@g47g2000cwa.googlegroups.com>
   <1131660473.524073.265700@g43g2000cwa.googlegroups.com>
   <NomdnXwlJoREVe7eRVn-sA@comcast.com>
   <1131667676.280790.90400@g47g2000cwa.googlegroups.com>
   <B5Kdnd_vSLSRb-7enZ2dnUVZ_vydnZ2d@comcast.com>
NNTP-Posting-Host: 83.132.119.106
Mime-Version: 1.0
Content-Type: text/plain; charset="iso-8859-1"
X-Trace: posting.google.com 1131678149 24889 127.0.0.1 (11 Nov 2005 03:02:29 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Fri, 11 Nov 2005 03:02:29 +0000 (UTC)
In-Reply-To: <B5Kdnd_vSLSRb-7enZ2dnUVZ_vydnZ2d@comcast.com>
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X; en) AppleWebKit/312.1.1 (KHTML, like Gecko) Safari/312,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: g43g2000cwa.googlegroups.com; posting-host=83.132.119.106;
   posting-account=yKISEgwAAABWaSy-YO8qUtsxyE7bl-uX
Xref: dp-news.maxwell.syr.edu comp.databases.theory:34337

Mneson is not Codasyl nor OQL based on the descriptions I have of
those.

I believe the Mneson Calculus is an algebra. I'm still working on it.
Example laws:

T ({x1, x2, ...}) = T({x1}) U T({x2}) U ...
T ({}) = {}
T (XUY) = T(X) U T(Y)
T (X^Y) = T(X) ^ T(Y)
Etc.

Conditions on values are made possible by introducing value ranges, set
of values expressed in a compact way, typically as an interval or a
bound. Querying for employees earning less than 40,000:

T (Employees) ^ S (S (T (T (Salary)) ^ RangeForLessThan (40'000)))

Of course query optimization would kick in here, and that's the main
purpose of having the algebra.

