Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> comp.databases.theory -> Re: why hierarchy?

Re: why hierarchy?

From: JOG <jog_at_cs.nott.ac.uk>
Date: 31 Jul 2006 15:01:26 -0700
Message-ID: <1154383286.178928.288600@b28g2000cwb.googlegroups.com>

Neo wrote:
> > 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)
>
> (new 'john 'person)
> (new 'frank 'person)
> (new 'at 'preposition)
> (new 'work)
> (create john (create friend at work) frank)
> (create frank (select friend at work) john)
>

I am unclear what you have done here not being familiar with your syntax. Could you draw the resulting structure in ascii for me to clarify the results of these instructions.

> OR
>
> (new 'from 'preposition)
> (new '9AM 'time)
> (new 'to 'preposition)
> (new '5PM 'time)
> (create john (create friend at work from 9AM to 5PM) frank)
> (create frank (select friend at work from 9AM to 5PM) john)
>
> Note: 9AM and 5PM modelled in simplified manner.
Received on Mon Jul 31 2006 - 17:01:26 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US