Search Mailing List Archives
[protege-discussion] JessTab question
Jia-Ying Tzeng
yiawind at gmail.com
Wed Mar 18 23:42:09 PDT 2009
Hi,
How to let Protégé-plugin JessTab output relation individual’s name
when I use Protégé object to link this individual has relation to
individuals?
Properties - Datatype can to appear information.
Properties- Object output
(<Java-Object:edu.stanford.smi.protegex.owl.model.impl.DefaultOWLIndividual>)
,but I want to information "Mary".
How to let Protégé-plugin JessTab output Mary?
Ex:
Protégé
class-Person
Person individuals Sue
Person individuals Mary
Sue Datatype Telphone
Sue Telphone 123456
Sue Obejct hasParent
Sue hasParent Mary
Protégé-plugin JessTab:
Jess> (mapclass :THING)
Owl:Thing
Jess> (slot-get sue hasParent)
(<Java-Object:edu.stanford.smi.protegex.owl.model.impl.DefaultOWLIndividual>)
Jess> (slot-get sue Telphone)
123456
PS:hasParent→Properties- Object
Telphone→Properties- Datatype
Thanks,
Jia-Ying Tzeng
More information about the protege-discussion
mailing list