Path: text.usenetserver.com!out02b.usenetserver.com!news.usenetserver.com!in02.usenetserver.com!news.usenetserver.com!postnews.google.com!n67g2000cwd.googlegroups.com!not-for-mail
From: "Neo" <neo55592@hotmail.com>
Newsgroups: comp.databases.theory
Subject: Re: Generalised approach to storing address details
Date: 13 Dec 2006 21:12:28 -0800
Organization: http://groups.google.com
Lines: 29
Message-ID: <1166073148.337764.148670@n67g2000cwd.googlegroups.com>
References: <1165593209.924277.22060@n67g2000cwd.googlegroups.com>
   <1165655034.203407.39280@l12g2000cwl.googlegroups.com>
   <1165686405.928834.115510@l12g2000cwl.googlegroups.com>
   <1165747260.043775.215150@j72g2000cwa.googlegroups.com>
   <1165773553.574614.48780@l12g2000cwl.googlegroups.com>
   <1165790521.285712.273310@16g2000cwy.googlegroups.com>
   <1165799969.840573.17730@16g2000cwy.googlegroups.com>
   <1165857701.435011.224360@16g2000cwy.googlegroups.com>
   <1165865047.213790.41690@n67g2000cwd.googlegroups.com>
   <4Ilfh.471204$R63.8477@pd7urf1no>
   <1165927460.608653.259580@j72g2000cwa.googlegroups.com>
   <Ffzfh.467522$5R2.321458@pd7urf3no>
   <1165947292.024505.125180@n67g2000cwd.googlegroups.com>
   <1166029927.189576.81680@80g2000cwy.googlegroups.com>
   <1166038302.204511.122970@79g2000cws.googlegroups.com>
   <1166068179.565260.284860@j72g2000cwa.googlegroups.com>
NNTP-Posting-Host: 75.14.3.223
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1166073159 10575 127.0.0.1 (14 Dec 2006 05:12:39 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 14 Dec 2006 05:12:39 +0000 (UTC)
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; yie6_SBC),gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: n67g2000cwd.googlegroups.com; posting-host=75.14.3.223;
   posting-account=0cgMYwwAAAB-QanOAkBSIgPTzjTIpbMh
Xref: usenetserver.com comp.databases.theory:160429
X-Received-Date: Thu, 14 Dec 2006 00:12:39 EST (text.usenetserver.com)

> The relational algebra lacks the computational power needed to compute the transitive closure.

Below dbd does transitive closure over the following hierarchy:

god
  adam
     john
     mary
  eve
     john
     mary

(new 'god)
(new 'adam)
(new 'eve)
(new 'john)
(new 'mary)

(set god child adam)
(set god child eve)
(set adam child john)
(set adam child mary)
(set eve child john)
(set eve child mary)

(; Get god's children)
(; Gets adam, eve, john and mary)
(getRelD god child *)

