Don't ask to ask, just ask | |
PerlMonks |
Re: Re: Being Forced to Fork with Nested Regular Expressionsby Ovid (Cardinal) |
on Jan 02, 2004 at 21:41 UTC ( [id://318421]=note: print w/replies, xml ) | Need Help?? |
A bit of thought tells me that there are some problems with this approach. Basically, you have a main table as follows: +----------+ | Facts | +----------+ | verb | | subject | | object | +----------+ That limits me to simple things such as "owns Ovid gold". However, what if I want to express "gives Ovid books kudra"? In this case, there's an implied prepositional phrase "to kudra" that doesn't fit and this tremendously limits the utility of this approach. My other option would be to create a recursive tree structure with arbitrary depth. I've done that before and it's not fun, but I can see no other way to approach this. Cheers, New address of my CGI Course.
In Section
Seekers of Perl Wisdom
|
|