Re: [Sigmakee-develop] Suggested Upper Merged Ontology - status update
Status: Beta
Brought to you by:
apease
|
From: Adam P. <ap...@ar...> - 2006-07-29 09:27:44
|
Hi Sodel, Good to hear you are using Sigma. I'd be interested in details about your project and it's goals. Comments below: At 12:34 PM 7/26/2006, Sodel Vazquez-Reyes wrote: >Hi, >I am wondering if you could send suggestions about two questions: > >- I have downloaded all the .kif files and load them into a Sigma >KB. I can then >get the superclasses of a given class by accessing the "parents" >HashMap in the >class "KB". >For example: human >Human [Mammal, Animal, Agent, SelfConnectedObject, Object, >WarmBloodedVertebrate, Physical, ITAgent, Primate, Vertebrate, Entity, >CognitiveAgent, OrganicObject, CorpuscularObject, SentientAgent, Hominid, >Organism] > >However, If I want to create a list like a hierarchy tree, I have two option >A).- Entity, Physical, Object, SelfConnectedObject, CorpuscularObject, >OrganicObject, Organism, Animal, Vertebrate, WarmBloodedVertebrate, Mammal, >Primate, Hominid, Human > >B).- Entity, Physical, Object, Agent, SentientAgent, CognitiveAgent, ITAgent, >Human > >how could I create the hierarchy trees?, because "parents" HashMap is a list >without order; >is there a variable with these requirement into Sigama project? There isn't a variable that holds immediate parents, but you can get this with kb.askWithRestriction(0,"subclass",1,"<your class here>") by substituting "<your class here>" with the variable holding the class of which you want to find immediate parents. >- Second, I have downloaded the right index and exc files for the version of >the mapping files in order to use the class "WordNet". The files idx, exc and >mappings are loaded successfully (apparently), however if I access: >WordNet.relations, >WordNet.nounSynsetHash, >WordNet.synsetsToWords, >WordNet.nounSUMOHash, >etc; each one is empty. I have tested with the version 2.0 and 2.1, >getting the >same result. > >how could I solve this problem? >have I omitted something? Are you able to browse the WordNet synsets running Sigma interactively? Make sure everything is installed properly first before trying to use the java code directly. Check what messages appear in the tomcat console or log (depending on how you have tomcat configured). We'll be fixing a few problems in the Sigma manual in the next few weeks and will send you a copy as soon as it's available. Adam >I am attaching my souces: WordNet, KB, KBaccessor (main class); in order to >provide more details. > >NOTE: I am not using the whole Sigma project. > >Best regards, >Sodel. > > >-- >Sodel Vazquez-Reyes >School of Informatics >The University of Manchester >PhD Student (Room: H12) >E-mail: s.v...@po... > > > ---------------------------- Adam Pease http://www.ontologyportal.org - Free ontologies and tools |