Re: Generalised approach to storing address details

From: Neo <neo55592_at_hotmail.com>
Date: 13 Dec 2006 21:12:28 -0800
Message-ID: <1166073148.337764.148670_at_n67g2000cwd.googlegroups.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 *)
Received on Thu Dec 14 2006 - 06:12:28 CET

Original text of this message