Re: why hierarchy?

From: JOG <jog_at_cs.nott.ac.uk>
Date: 31 Jul 2006 13:20:03 -0700
Message-ID: <1154377203.792040.300500_at_i3g2000cwc.googlegroups.com>


Neo wrote:
> > how you would represent something like "A person called Bob is friends with a person called Tom" in your system (obviously that's a bidirectional relationship).
>
> (new 'bob 'person)
> (new 'tom 'person)
> (new 'friend 'verb)
> (create bob friend tom)
> (create tom friend bob)
>

ok gotcha, good start. Then you have:

bob --- is_friends_with ---> tom
tom --- is_friends_with ---> bob

What if I wanted to record a different sentence - "A person called John is friends with Frank within the remit of Work"? (i.e. they aren't friends outside of workhours)

> OR
>
> (new 'bob 'person)
> (new 'tom 'person)
> (new 'friend 'verb)
> (create friend vbType symmetric)
> (createWRR bob friend tom)
>
> OR ...
>
> See old thread titled "Demo: Modelling Cost of Travel Paths Between
> Towns" and related example www.dbfordummies.com/Example/Ex136.asp
Received on Mon Jul 31 2006 - 22:20:03 CEST

Original text of this message