Re: The Database that Understands What It's Told

From: erk <eric.kaun_at_gmail.com>
Date: 1 Aug 2006 08:17:36 -0700
Message-ID: <1154445456.049410.319600_at_75g2000cwc.googlegroups.com>


Bob Badour wrote:

> This doesn't looke like plain language to me:
>
> <con label="3SingNoun" function="NounPhase.head" form="$nn"/>

No, but this does:

	<!-- ido:that s:Cypher told do:me -->
	<!-- s:Cypher told do:me ido:Hello World -->
	<pattern label="VariableBearingDeclarativeClause" store="true"
use="Clause">
		<li>$WH_Subject

[$FutureVph:predicate,$Vph:predicate,$PastVph:predicate] ($Object)
($ComplementPairs:misc)</li>

                <li>$WH_Subject
[$FutureVph:predicate,$Vph:predicate,$PastVph:predicate]
$IndirectObject $Object ($ComplementPairs:misc)</li>

                <li>$WH_Object $Subject
[$FutureVph:predicate,$Vph:predicate,$PastVph:predicate]
($IndirectObject) ($ComplementPairs:misc)</li>

                <li>$WH_OfComplement $Subject
[$FutureVph:predicate,$Vph:predicate,$PastVph:predicate]
$OfComplementMarker</li>

                <li>$WH_WithComplement $Subject
[$FutureVph:predicate,$Vph:predicate,$PastVph:predicate]
$WithComplementMarker</li>

                <li>$WH_ToComplement $Subject
[$FutureVph:predicate,$Vph:predicate,$PastVph:predicate]
$ToComplementMarker</li>

        </pattern>

Thank God all the .cypher files in the downloadable sample are really XML, despite the clever suffix. XML is enterprisey! With ease of use like this, why would I ever use a formalism again?

  • erk
Received on Tue Aug 01 2006 - 17:17:36 CEST

Original text of this message