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

MKE interface to Stanford TAP KB

From: Richard H. McCullough <rhm@cdepot.net>
Date: Sat, 2 Aug 2003 13:42:53 -0700
Message-ID: <000e01c35937$3cb34200$bd7ba8c0@rhm8200>
To: "KR-language" <KR-language@YahooGroups.com>, "www-rdf-interest at W3C" <www-rdf-interest@w3.org>
Cc: "Apollo, Adrian" <Thinkonaut@aol.com>, "Latimer, Richard S." <rslatimer@comcast.net>, "Guha, R. V." <guha@guha.com>, "McCool, Robert M." <robm@stanford.edu>
MKE version 5.9 interfaces directly with the 
Stanford TAP knowledge base.

Notes:
1. TAP KB is selected by
    set kbmode=tap;
2. Questions access online Stanford KB at
    http://tap.stanford.edu/
Stanford KB is readonly, so statements access local TAP KB in
    KEHOME/xml/tap.rdf
3. Requires
    McCullough Knowledge Explorer 5.9
    Sun Java2 SDK
    TAP Java client & server
Download links are given at http://rhm.cdepot.net/


Example using WinXP Pro and Cygwin bash shell:

$ export KEHOME=C:/home/ke

rhm@rhm8200 ~/test
$ ke
...
##### ready for new knowledge #####
##### use <do menu done;> for MKE input menu #####
##### use <exit;> or <EOF> to exit ke #####
##### parse_file &input  KFORMAT <ku> #####
ke$ set kbmode=tap;
# assignment <set kbmode = tap;>
ke$ set systype=Cygwin;
# assignment <set systype = Cygwin;>
ke$ Person isa* ?;
# question <Person isa* ? ;>
# INFO: tap_question: question(string[13]) <Person isa* ?>
# WARNING: 'isa*' not implemented; using 'isa'
Person iss
# INFO: systype=Cygwin
  Agent
  Resource
ke$ Person has ?;
# question <Person has ? ;>
# INFO: tap_question: question(string[12]) <Person has ?>
Person has
# INFO: systype=Cygwin
  hasGender
  hasSocialSecurityNumber
  hasResidence
  hasCitizenship
  hasLastName
  hasFirstName
  biography
  hasEmailAddress
  worksFor
  plays
  hasDateOfBirth
ke$ SuzyQ isu Woman;
# statement <SuzyQ isu Woman ;>
# INFO: tap_statement: statement(string[15]) <SuzyQ isu Woman>
# INFO: systype=Cygwin
ke$ exit;
...
rhm@rhm8200 ~/test
$

Dick McCullough
knowledge := man do identify od existent done;
knowledge haspart proposition list;
Received on Saturday, 2 August 2003 16:47:07 GMT

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