Hi Valentina,
The file song2009.owl in the attachments of your mail is not a valid
XML. See if fixing it will solve the problem.
Greetings,
Philip
Valentina De Vivo wrote:
Hi,
I missing three steps to finish my studies about KIM, so please help me! ;-)
The following is the first.
I'm trying to extend the KIM ontology, to annotate documents or text
according to the new classes and instances that I introduce.
1) I’ve attached my files .owl and .nt… please check them.
2) I have put “song2009.owl” in \kb\owl\ folder, and “song2009.nt” in \kb\
folder.
3) I have modified the “sesame.inmem.conf” with the following:
<param name="imports" value=
"kb/owl/owl.rdfs;
kb/owl/protons.owl;
kb/owl/protont.owl;
kb/owl/protonu.owl;
kb/owl/song2009.owl;
kb/song2009.nt;
kb/visibility.nt;
kb/wkbx.nt;"/>
<param name="defaultNS" value=
"http://www.w3.org/2002/07/owl#;
http://proton.semanticweb.org/2006/05/protons#;
http://proton.semanticweb.org/2006/05/protont#;
http://proton.semanticweb.org/2006/05/protonu#;
http://song2009.owl#;
http://www.ontotext.com/kim/2006/04/wkb#;
http://www.ontotext.com/kim/2006/04/wkb#;
http://www.ontotext.com/kim/2006/04/wkb#;"/>
<param name="concurentInference" value="true"/>
and I’ve deleted the line kb/wkb.net, because when I used “startKIM.bat” it
generated exceptions (and I don’t know why).
4) I have added at the end of “\kb\visibility.nt” these lines:
<http://song2009.owl#Song> <http://www.ontotext.
com/kim/2006/05/kimso#visibilityLevel1> "" .
<http://song2009.owl#Singer> <http://www.ontotext.
com/kim/2006/05/kimso#visibilityLevel1> "" .
<http://song2009.owl#Genre> <http://www.ontotext.
com/kim/2006/05/kimso#visibilityLevel1> "" .
<http://song2009.owl#Composer> <http://www.ontotext.
com/kim/2006/05/kimso#visibilityLevel1> "" .
<http://song2009.owl#Band> <http://www.ontotext.
com/kim/2006/05/kimso#visibilityLevel1> "" .
which have a corresponding label in song2009.owl.
5) Finally I restarted the servers, but my program DocTest.java using KIM API
about semantic annotation (that I have attached and tested successfully with
your example) don’t annotate my text, don’t find my istance.
What did I wrong in this procedure?
Thanks so much for your patience,
Valentina
------------------------------------------------------------------------
_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion
_______________________________________________
Kim-discussion mailing list
[email protected]
http://ontotext.com/mailman/listinfo/kim-discussion