Thanks Danko

I tried again by extending instance base with wkb name space ( last time i
was using my ontology name space) b/c the  document you send me mentioned
that all instances should be with the name space <
http://www.ontotext.com/kim/2006/05/wkb. But in the example text " The
patient lives in america and had IDM" only the "america" is recognized not
"IDM"

I have a class "Concept" which is the subclass of "Entity" and "Concept" has
a subclass "Disorder" which also subsumes " Trusted".

Like this
Entity
-------Concept
-----------------Disorder

Trusted
----------Disorder

Now my synonymtest.nt file is below:

<http://www.ontotext.com/kim/2006/05/wkb#Insulin-dependent_diabetes_melittus>
<http://www.w3.org/1999/02/22-rdf-syntax-ns#type> <
http://proton.semanticweb.org/2006/05/protons#Trusted> .
<
http://www.ontotext.com/kim/2006/05/wkb#Insulin-dependent_diabetes_melittus><http://www.w3.org/1999/02/22-rdf-syntax-ns#type>
<http://www.semanticweb.org/ontologies/2008/8/synonymtest.owl#Disorder> .
<http://www.ontotext.com/kim/2006/05/wkb#Insulin-dependent_diabetes_melittus>
<http://www.w3.org/2000/01/rdf-schema#label>
"Insulin-dependent_diabetes_melittus" .
<
http://www.ontotext.com/kim/2006/05/wkb#IDM><http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://proton.semanticweb.org/2006/05/protons#Alias>
.
<
http://www.ontotext.com/kim/2006/05/wkb#IDM><http://www.w3.org/2000/01/rdf-schema#label>
"IDM" .
<http://www.ontotext.com/kim/2006/05/wkb#Insulin-dependent_diabetes_melittus>
<http://proton.semanticweb.org/2005/04/protons#hasAlias> <
http://www.ontotext.com/kim/2006/05/wkb#IDM>.
<
http://www.ontotext.com/kim/2006/05/wkb#diabetes_mellitus_type_1><http://www.w3.org/1999/02/22-rdf-syntax-ns#type><http://proton.semanticweb.org/2006/05/protons#Alias>
.
<
http://www.ontotext.com/kim/2006/05/wkb#IDM><http://www.w3.org/2000/01/rdf-schema#label>
"diabetes_mellitus_type_1" .
<http://www.ontotext.com/kim/2006/05/wkb#Insulin-dependent_diabetes_melittus>
<http://proton.semanticweb.org/2005/04/protons#hasAlias> <
http://www.ontotext.com/kim/2006/05/wkb#diabetes_mellitus_type_1>.

Should i declare all new instances in .nt file "Trusted" as well? Or what I
am missing.

Second question is there to get instances from database into .nt file. I
have a pretty large number of disorder names and thier synonyms which is
hard to put in .nt file manually.

I am attaching my owl file as well.



2008/9/11 DanKo <[EMAIL PROTECTED]>

>  Hi Mehnaz,
>
> Here is a link where you can find some helpful details&examples for
> extending your ontology and instance base:
> http://www.mail-archive.com/[email protected]/msg00010.html#wkb
> Especially pay attention to the "*Source (generatedBy)*" paragraph which
> is important for later recognition of your new instances.
>
> As to the "Then link an instance of a Concept and its Aliases to a webpage"
> - I am not quite sure what linking you have in mind?
>
> Greetings
> DanKo
> senior developer, KIM
>
>
>  ----- Original Message -----
> *From:* madn002 madn002 <[EMAIL PROTECTED]>
>   *To:* DanKo <[EMAIL PROTECTED]>
> *Cc:* [email protected]
> *Sent:* Wednesday, September 10, 2008 2:55 PM
> *Subject:* Re: [KIM-discussion] problem in loading instance base
>
>  Hi Danko,
>
> I have fixed that problem. Actually I was missing NS decleration in
> sesame.inif file. Now my onotlogy and instance base are loading but this
> time the entitites from my .nt file is not recognised in web Interface. I
> have this content in my webpage
>
>
> "This patient has   Insulin-dependent diabetes melittus and now living in
> America".
>
> America is recognized(highlighted) but "Insulin-dependent diabetes
> melittus" which is  is not. I am sending you my ontology and nt file both. I
> want to recognize the instances of "Concept" class and thier aliases. Then
> link an instance of a Concept and its Aliases to a webpage.
>
> Further I have added my classes in visibilty.nt but it does not show up in
> ontology browser in Web interface.
>
> Thanks for your prompt support and help.
>
>
>
> Mehnaz
>
>
> 2008/9/10 DanKo <[EMAIL PROTECTED]>
>
>>  Hi Mehnaz,
>>
>> Could you please send us the two files you mentioned.
>> It will be of great help.
>>
>> Is there any other changes you have made to the basic configuration?
>>
>> We will try to reproduce your case based on your input.
>>
>> All the best
>> DanKo
>> senior developer, KIM
>>
>>   ----- Original Message -----
>> *From:* madn002 madn002 <[EMAIL PROTECTED]>
>> *To:* [email protected]
>> *Sent:* Wednesday, September 10, 2008 2:22 AM
>> *Subject:* [KIM-discussion] problem in loading instance base
>>
>>  Hi,
>>
>> I have extended protons ontology ( test.owl) It is in .owl file with out
>> instances. I have insatnces in "test.nt " ( it is same as test.owl but with
>> instances and transformed into .nt format). I added my onotolgy in /kb/owl
>> and test.nt in /kb then put folllowing entries in sesame.inmem.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/test.owl;  <<my ontology
>>     kb/visibility.nt;
>>      kb/test.nt;         <<my instance base I have replaced wkb.nt with
>> this file b/c i only want to use my instance base.
>>      kb/wkbx.nt;"/>
>>    <param name="defaultNS" va
>> ..................
>> When i started KIM all ontologies has been processed but after this
>> console out put is like this:
>>
>> .. addThisOntology: kb/visibility.nt.....processed for 30ms
>> .. addThisOntology: kb/test.nt..... processed for ..
>> It is now safe to close the KIM server.
>> Unable to construct KIMServiceImpl
>> .....
>>
>>
>> Then I again change the line
>>  kb//test.nt;
>> with
>>  kb/wkb.nt;
>>
>> But the result is same it does not read the nt file even from wkb.nt
>> Please guide me if am doing some thing wrong ??
>>
>> Thanks and Regards.
>>
>> Mehnaz
>>
>>
>>
>> ------------------------------
>>
>> _______________________________________________
>> 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
>>
>>
>>
>> __________ NOD32 3429 (20080909) Information __________
>>
>> This message was checked by NOD32 antivirus system.
>> http://www.eset.com
>>
>>
>

Attachment: snyonymtest.owl
Description: Binary data

_______________________________________________
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