Re: [KIM-discussion] How to add instances to the default KIM ontology?

2008-12-16 Thread Micheal Hewett
I read some more archived messages and discovered the generatedBy
property.  Now my instance is showing up in the KIM browser and is
declared as trusted.  But the annotator is still not finding it in
documents.

Any suggestions on how to make that happen?

Thanks,
Mike
---
Micheal Hewett, PhD
CEO, Hewett Research
m...@hewettresearch.com
___
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

KIM-discussion mailing list
KIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com


Re: [KIM-discussion] How to add instances to the default KIM ontology?

2008-12-16 Thread Micheal Hewett
(how do I reply within a thread???)

I figured it out - I needed to remove all files from the
context/default/populated/ folder in order for it to recognize
my instances.  This should be documented somewhere.

Onward to the next step now...

Mike
---
Micheal Hewett, PhD
CEO, Hewett Research
m...@hewettresearch.com
___
NOTE: Please REPLY TO ALL to ensure that your reply reaches all members of this 
mailing list.

KIM-discussion mailing list
KIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com


Re: [KIM-discussion] How to add instances to the default KIM ontology?

2008-12-17 Thread Philip Alexiev

Hi Michael,

Your approach is correct. In order to extend an ontology, you should 
tell Sesame to load an additional file, containing statements which 
describe the new classes, relations and instances. The file should be in 
one of the following formats: RDF/XML, Turtle, N-Triples.  Then you must 
tell sesame to import these statements upon startup by adding the file 
to the repository imports section in file sesame.inmem.conf .


As you have already noticed,  Sesame and Lucene store their indexes and 
cache in folder  context/default/populated.  In order for the changes to 
take effect, you have to stop KIM and Sesame, clean the cache (remove 
the contents of this folder) and then run Sesame and KIM again  (run 
Sesame as a separate process only if it is set to run remotely).


I hope this brings some more light to your task.
Thank you for your interest in  KIM.

Philip



Micheal Hewett wrote:

I have read the ontology design page at:
 http://www.ontotext.com/kim/doc/sys-doc/DesigningOntology.html
but it doesn't discuss how to add new instances to the current ontology.

I copied a few lines from wkb.nt into a new .nt file, changed the
instance number and the label value, and modified sesame.inmem.conf
to load the new .nt file.  The file loads during startup, but when I
annotate a document, the new instance is not found in the document.

What else do I need to do to add instances to the ontology
and cause the annotation process to recognize them?

Thanks,
Mike
---
Micheal Hewett, PhD
CEO, Hewett Research
m...@hewettresearch.com 



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

KIM-discussion mailing list
KIM-discussion@ontotext.com
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
KIM-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion_ontotext.com