W3C home > Mailing lists > Public > www-rdf-interest@w3.org > September 2003

hdo walks the hierarchy

From: Richard H. McCullough <rhm@cdepot.net>
Date: Mon, 1 Sep 2003 10:13:24 -0700
Message-ID: <000901c370ad$ca812420$bd7ba8c0@rhm8200>
To: "KR-language" <KR-language@YahooGroups.com>
Cc: "www-rdf-interest at W3C" <www-rdf-interest@w3.org>

MKE version 6.3 lets the user access the full power
of the internal hwalk/hdo functions.

    hdo action from cuname with path done;

(cuname means the name of any concept or unit.)
For all the goodies, you'll have to consult

    http://rhm.cdepot.net/src/hwalk.icn


Here are a few interesting examples.

distance to top of hierarchy:
    hdo hlevel from x with "isa" done;

distance to bottom of hierarchy:
    hdo hlevel from x with "isc" done;

dictionary:
    hdo definition with alpha done;

zero the visit counts:
    hdo mark0 with alpha done;

subhierarchy of nested sets:
    hdo print from x with "ismem" done;


Dick McCullough
knowledge := man do identify od existent done;
knowledge haspart proposition list;
Received on Monday, 1 September 2003 13:24:04 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:52:02 GMT