<?xml version="1.0" encoding="windows-1252"?>
<node id="318421" title="Re: Re: Being Forced to Fork with Nested Regular Expressions" created="2004-01-02 16:41:53" updated="2005-03-26 08:55:02">
<type id="11">
note</type>
<author id="17000">
Ovid</author>
<data>
<field name="doctext">
&lt;p&gt;A bit of thought tells me that there are some problems with  this approach.  Basically, you have a main table as follows:&lt;/p&gt;

&lt;pre&gt;&lt;tt&gt;+----------+
| Facts    |
+----------+
| verb     |
| subject  |
| object   |
+----------+&lt;/tt&gt;&lt;/pre&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;p&gt;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.&lt;/p&gt;

&lt;div class="pmsig"&gt;&lt;div class="pmsig-17000"&gt;
&lt;p&gt;Cheers,&lt;br /&gt;
&lt;a href="/index.pl?node=Ovid&amp;lastnode_id=1072"&gt;Ovid&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;small&gt;New address of &lt;a href="http://users.easystreet.com/ovid/cgi_course/"&gt;my CGI Course&lt;/a&gt;.&lt;/small&gt;&lt;/p&gt;
&lt;/div&gt;&lt;/div&gt;</field>
<field name="root_node">
318350</field>
<field name="parent_node">
318378</field>
</data>
</node>
