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

create/update/query RDF files with MKE/TAP

From: Richard H. McCullough <rhm@cdepot.net>
Date: Fri, 8 Aug 2003 04:00:14 -0700
Message-ID: <000901c35d9c$4c65d7d0$bd7ba8c0@rhm8200>
To: "www-rdf-interest at W3C" <www-rdf-interest@w3.org>
Cc: "Rob McCool" <robm@robm.com>, "Reed, Stephen L." <reed@cyc.com>, "Guha, R. V." <guha@guha.com>, "Turner, Aaron" <turnermcneill@yahoo.com>, "Latimer, Richard S." <rslatimer@comcast.net>, "Cerra, James F." <jimbobbs@hotmail.com>, "Calvanese, Diego" <calvanese@dis.uniroma1.it>, "Bray, Tim" <tbray@textuality.com>, "Apollo, Adrian" <Thinkonaut@aol.com>

MKE, combined with the Stanford TAP Java client,
provides a user-friendly interface for creating/
updating/querying RDF files.

Using MKE, the interface language is MKR.
Using the underlying  GetData/GetResource/PutData
shell scripts, the interface is basically 
RDF triples using Q-names.

Here is a simple example of statements & questions using MKR

$ ke
...
ke$ set echo=off, kbmode=tap;
ke$ set city = CityPioneerCA;
ke$ $city isu UnitedStatesCity;
ke$ $city has label = Pioneer;
ke$ $city has locatedIn = CaliforniaState;
...
ke$ ? has name = Pioneer;
ke$ $city has ?;
ke$ $city has locatedIn = ?;
...
ke$ exit;
...
$

Here is the same example using PutData/GetResource/GetData

$ city=CityPioneerCA
$ PutData $city type UnitedStatesCity
$ PutData $city label Pioneer
$ PutData $city locatedIn CaliforniaState
...
$ GetResource Resource Pioneer
$ GetData $city arcs no
$ GetData $city locatedIn no

If you want more details, see
http://rhm.cdepot.net/bin/GetData
http://rhm.cdepot.net/bin/GetResource
http://rhm.cdepot.net/bin/PutData

Dick McCullough
knowledge := man do identify od existent done;
knowledge haspart proposition list;
Received on Friday, 8 August 2003 07:00:40 GMT

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