Thank you Rodolfo,
 
Your advices were really helpful. Actually, the most helpful thing was the example instance you sent me, because I didn't know that my instance should be connected with Alias who actually match. I thought that my class label is match. I couldn't find this from KIM documentation. I found it in mail archive later (http://www.mail-archive.com/[email protected]/msg00010.html#wkb), when you have already send me your example. This should be deffinitely included in KIM documentation.
 
There was also one more problem. Ontology that I have used has been developed 9-10 months ago against Proton ontologies from earlier version of KIM ( I think it was 1.7 something). When I sow your example I found that protont namespace is different than the one in my ontology. I have check it in details and found that in my ontology I have used different namespace (older) than in protont.owl that was included.
 
Thank you,
 
Zoran 

--- On Thu, 8/28/08, Rodolfo <[EMAIL PROTECTED]> wrote:
From: Rodolfo <[EMAIL PROTECTED]>
Subject: Re: [KIM-discussion] Problem to extend Proton ontology
To: [EMAIL PROTECTED], [email protected]
Date: Thursday, August 28, 2008, 3:42 PM

I'm still still in first steps with KIM... maybe even I' not doing the right things. (if's this is happening hope someone helps us Sonrisa icono gestual)
The steps I follow to get annotations with my classes were: develop ontology without instances just as example in KIM 's documentation in a owl file and another .nt with Instances. Apparently the matches are against the Instances protons#Alias. So you declare the alias and associate it to the type you want to match with hasAlias. The key word would be that in the label of the Alias. 
 
.nt file
 
 
 
 
 
Also in the configuration in sesame.inmen.conf..  
 
 <!-- semicolon should be used as delimiter -->
   <param name="imports" value=
    "kb/owl/owl.rdfs;
     kb/owl/protons.owl;
     kb/owl/protont.owl;
     kb/owl/protonu.owl;
     kb/owl/protonkm.owl;
     kb/owl/kimso.owl;
     kb/owl/kimlo.owl;
     kb/owl/Prog2OntoParaKim.owl;  <<<< mine
    kb/Prog2Onto.nt;   <<<< mine
     kb/wkbx.nt;
     kb/ignorelist.nt;
     kb/visibility.nt;"/>
   <param name="defaultNS" value=
    "http://www.w3.org/2002/07/owl#;
    http://proton.semanticweb.org/2005/04/protons#;
    http://proton.semanticweb.org/2005/04/protont#;
    http://proton.semanticweb.org/2005/04/protonu#;
    http://proton.semanticweb.org/2005/04/protonkm#;
    http://www.ontotext.com/kim/2005/04/kimso#;
    http://www.ontotext.com/kim/2005/04/kimlo#;
    http://proyecto2008#;     <<<<mine
    http://www.ontotext.com/kim/2005/04/wkb#; 
    http://www.ontotext.com/kim/2005/04/wkb#;
    http://www.ontotext.com/kim/2005/04/wkb#;
 
    http://www.ontotext.com/kim/2005/04/wkb#;"/> 
     <param name="concurentInference" value="true"/>
 
Hope this help.

Sent: Thursday, August 28, 2008 4:29 PM
Subject: Re: [KIM-discussion] Problem to extend Proton ontology

Rodolfo,
 
Thank you for your suggestion, but it didn't help. Now this annotates only CalendarYear, DateTime and WebPage classes from protonu namespace.
 
Do you have some other suggestions?
 
Thanks
Zoran


--- On Thu, 8/28/08, Rodolfo <[EMAIL PROTECTED]> wrote:
From: Rodolfo <[EMAIL PROTECTED]>
Subject: Re: [KIM-discussion] Problem to extend Proton ontology
To: [EMAIL PROTECTED], [email protected]
Date: Thursday, August 28, 2008, 5:47 AM

Try not importing wbk.nt, and do it with your own .nt instances file. The import is defined in sesame ../config/sesame.inmen.conf. (change the /wkb.nt file for your own).
Hope this help. If this is what your talking about and need further details, just write.
Regards,
Rodolfo.

Sent: Wednesday, August 27, 2008 5:20 PM
Subject: [KIM-discussion] Problem to extend Proton ontology

Hi,
 
I am trying to extend Proton ontology by adding my domain ontology that imports seven ontologies more.Each domain class is a subClassOf Topic class.

I have added several instances of my domain classes, which are in the domain wkb, like:
 
 
I have added this n-triples in the wkb.nt file.
When I try to annotate the web page that contains text "Abstract Factory" it doesn't found it, but it annotates other instances from protonu namespace.

I have tried to add an instance of Person class in order to check if I have not extended Proton well, but the result is the same.

This entity is available through WebUI when I search for entities, but it does not found any document that contains this text.
 
I have deleted all files from kim/context/default/populated/cache and kim/context/default/populated/index-and-store.
 
I have tried to find some documents on extending Proton ontology, but it is seems that there is no to much documents about it. I have read this thread http://ontotext.com/mailman/private/kim-discussion_ontotext.com/2006-August/000382.html, but those links are dead.
 
Can you tell me what I have missed to do?
 
Thanks
Zoran


_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this mailing list.

KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com


_______________________________________________
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

KIM-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com

Reply via email to