From marvin.scaff at Innovaro.com Fri Nov 5 11:52:19 2010
From: marvin.scaff at Innovaro.com (Marvin Scaff)
Date: Fri, 5 Nov 2010 11:52:19 -0400
Subject: [Kim-discussion] Fwd: KIM web client connection
References: <26A8AC45-5534-475A-955D-5A7E20BE89B1@scaff.net>
Message-ID: <64E8CF65-D363-4AB9-AF61-31C1140EF35E@innovaro.com>
>
> We have deployed kim-platform-3.0-RC4 on a ubuntu machine. Its web client has been deployed on another machine under tomcat. kim_connection.properties with the following content has also been placed
> com.ontotext.kim.KIMConstants.RMI_HOST=192?
> com.ontotext.kim.KIMConstants.RMI_PORT=1099
>
> The client tries to connect to localhost RMI service and complains that it could not find the service. How can we configure this web client to connect to a remote KIM instance?
>
> Our custom written web application connects to the remote KIM instance fine using the same properties file.
{Fullname} | Mobile:
This message may contain confidential information and is intended only for this recipient. If you are not the named addressee you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately if you have received this e-mail by mistake and delete this e-mail from your system. Finally, the recipient should check this e-mail and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From borislav.popov at ontotext.com Fri Nov 5 12:16:00 2010
From: borislav.popov at ontotext.com (borislav popov)
Date: Fri, 5 Nov 2010 18:16:00 +0200
Subject: [Kim-discussion] Fwd: KIM web client connection
In-Reply-To: <64E8CF65-D363-4AB9-AF61-31C1140EF35E@innovaro.com>
References: <26A8AC45-5534-475A-955D-5A7E20BE89B1@scaff.net>
<64E8CF65-D363-4AB9-AF61-31C1140EF35E@innovaro.com>
Message-ID: <8D1CBF35-B0FB-4D3E-A975-9A304EC458E1@ontotext.com>
Hi Marvin,
Philip & somebody else if necessary will look at your issue now.
b
On Nov 5, 2010, at 5:52 PM, Marvin Scaff wrote:
>
>>
>> We have deployed kim-platform-3.0-RC4 on a ubuntu machine. Its web
>> client has been deployed on another machine under tomcat.
>> kim_connection.properties with the following content has also been
>> placed
>> com.ontotext.kim.KIMConstants.RMI_HOST=192?
>> com.ontotext.kim.KIMConstants.RMI_PORT=1099
>>
>> The client tries to connect to localhost RMI service and complains
>> that it could not find the service. How can we configure this web
>> client to connect to a remote KIM instance?
>>
>> Our custom written web application connects to the remote KIM
>> instance fine using the same properties file.
>
> {Fullname} | Mobile:
> This message may contain confidential information and is intended
> only for this recipient. If you are not the named addressee you
> should not disseminate, distribute or copy this e-mail. Please
> notify the sender immediately if you have received this e-mail by
> mistake and delete this e-mail from your system. Finally, the
> recipient should check this e-mail and any attachments for the
> presence of viruses. The company accepts no liability for any damage
> caused by any virus transmitted by this e-mail.
>
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From boyan.kukushev at sirma.bg Fri Nov 5 12:49:54 2010
From: boyan.kukushev at sirma.bg (Boyan Kukushev)
Date: Fri, 5 Nov 2010 19:49:54 +0300
Subject: [Kim-discussion] Fwd: KIM web client connection
In-Reply-To: <64E8CF65-D363-4AB9-AF61-31C1140EF35E@innovaro.com>
References: <26A8AC45-5534-475A-955D-5A7E20BE89B1@scaff.net>
<64E8CF65-D363-4AB9-AF61-31C1140EF35E@innovaro.com>
Message-ID: <201011051849.54197.boyan.kukushev@sirma.bg>
Hello Marvin,
Actually, the connection settings for the default KIM web client (KIM.war) can
not be configured through 'kim_connection.properties', but using the file
your-tomcat-home/webapps/KIM/WEB-INF/classes/kwebui.config
If your KIM server is deployed on another machine, you have to change
the 'kim-rmi-host' parameter in that file to point to the machine's address.
For example:
- the default configuration in 'kwebui.config' is
kim-rmi-host
localhost
kim-rmi-port
1099
- your KIM server is deployed on a machine having 192.168.1.200 as its
internal network address
Therefore, you should change the 'kim-rmi-host' parameter as follows:
kim-rmi-host
192.168.1.200
Similarly, if you have modified the KIM RMI port parameter in your KIM server
configuration files, you should change the 'kim-rmi-host' to the new port.
I hope that this will have your problem solved!
Regards,
Boyan Kukushev
KIM Platform developer, KIM team
On Fri November 5 2010 17:52:19 Marvin Scaff wrote:
>
> >
> > We have deployed kim-platform-3.0-RC4 on a ubuntu machine. Its web client
has been deployed on another machine under tomcat. kim_connection.properties
with the following content has also been placed
> > com.ontotext.kim.KIMConstants.RMI_HOST=192?
> > com.ontotext.kim.KIMConstants.RMI_PORT=1099
> >
> > The client tries to connect to localhost RMI service and complains that it
could not find the service. How can we configure this web client to connect
to a remote KIM instance?
> >
> > Our custom written web application connects to the remote KIM instance
fine using the same properties file.
>
>
> {Fullname} | Mobile:
> This message may contain confidential information and is intended only for
this recipient. If you are not the named addressee you should not
disseminate, distribute or copy this e-mail. Please notify the sender
immediately if you have received this e-mail by mistake and delete this
e-mail from your system. Finally, the recipient should check this e-mail and
any attachments for the presence of viruses. The company accepts no liability
for any damage caused by any virus transmitted by this e-mail.
>
>
>
>
--
Boyan Kukushev
Software Engineer / Java Developer
Ontotext AD @ Sirma Group Corp.
From Anton.Andreev at ontotext.com Mon Nov 8 03:29:03 2010
From: Anton.Andreev at ontotext.com (Anton Andreev)
Date: Mon, 08 Nov 2010 10:29:03 +0200
Subject: [Kim-discussion] Fwd: Re: SwiftOWLIM registration request
Message-ID: <4CD7B4CF.7050405@ontotext.com>
Dear Ms. Radenkovic,
I am forwarding your request to the KIM-discussion mailing list:
KIM-discussion at ontotext.com. My KIM colleagues will better answer your
technical questions as I deal more with OWLIM.
Best regards,
Anton
--
Anton Andreev
Account Manager
Ontotext AD
Tel: +359 2 875 81 17
Fax:+359 2 975 32 26
email:anton.andreev at ontotext.com
www.ontotext.com
-------- Original Message --------
Subject: Re: SwiftOWLIM registration request
Date: Sun, 7 Nov 2010 20:26:05 +0100
From: Sonja D. Radenkovic
To: Anton Andreev
Dear Mr Andreev,
I have to use KIM in eclipse maeven project for the annotation of
resources. Could you, please, help me to configure KIM for that
purpose?Till now I've done the following things:
1. Download and install Apache Tomcat 6.0.24
2. Download and install KIM 3 platform
3. Download and install SwiftOWLIM
4. Extend the KIM ontology and knowledge base
I still don't know how to include KIM in my eclipse maeven project,
since I can't include .jar files there. I need the information related
to adding the KIM dependencies in Maeven, but I couldn't find it on the
Web. Any information would be useful...
Regards,
Sonja
--
Mr Sonja D. Radenkovic, Lecturer
High Economic Professional School Pec-Leposavic
38218 Leposavic
Serbia
Email: sonjafon at gmail.com
URL: http://www.goodoldai.org/sonja_radenkovic
2010/11/2 Sonja D. Radenkovic >
Dear Mr Andreev,
Danica is my friend from GOOD OLD AI research network
(http://www.goodoldai.org/people). I think that she prepares her
Ph.D. thesis working on the GATE project at the University of
Sheffield. I'm sure that you've had a good experience in
collaboration with Danica...
Thank you for offering the help. I will accept it :). This time I'm
trying to configure KIM for the annotation of documents, but I still
have some problems. If I can't solve it in the next day or two, I
will ask you to help me...
Best regards,
Sonja
2010/11/1 Anton Andreev >
Dear Ms. Radenkovic,
I also know Ms. Danica Damljanovic. She has visited our office
in Ontotext last year..
If you have any questions related to OWLIM, do not hesitate to
contact me.
Cheers,
Anton
--
Anton Andreev
Account Manager
Ontotext AD
Tel: +359 2 875 81 17
Fax:+359 2 975 32 26
email:anton.andreev at ontotext.com
www.ontotext.com
On 30.10.2010 ?. 02:41 ?., Sonja D. Radenkovic wrote:
> Dear Mr Andreev,
>
> Can you please confirm if this is your LinkedIn profile:
> http://www.linkedin.com/in/sonjadradenkovic ? Thank you.
> You're right. This is my Linkedln profile.
>
> Sincerely,
> Sonja Radenkovic
>
> On Wed, Oct 27, 2010 at 12:48 PM, Anton Andreev
> > wrote:
>
> Dear Ms. Radenkovic,
>
> Thank you very much for your interest in SwiftOWLIM. Can
> you please confirm if this is your LinkedIn profile:
> http://www.linkedin.com/in/sonjadradenkovic ? Thank you.
>
> You can download the latest SwiftOWLIM distribution here:
> http://download.ontotext.com/owlim/fc3cb600-7184-4973-97a9-3b97f83e76e7/swiftowlim-3.3.2738.zip
>
>
> Please read the SwiftOWLIM licence agreement:
> http://www.ontotext.com/owlim/OWLIMLicenceAgreement.html
>
> In order to get an appreciation for the level of activity
> in the OWLIM community, we recommend that you subscribe to
> the OWLIM-discussion mailing list at:
> http://ontotext.com/mailman/listinfo/OWLIM-discussion This
> mailing list has a public archive available at:
> http://www.mail-archive.com/owlim-discussion at ontotext.com/maillist.html
>
> Also, we would very much appreciate a little bit more
> information about how you intend to use SwiftOWLIM, i.e.
> size of datasets, inference complexity, application
> scenarios, etc. This information helps us to understand
> our customers better and ultimately helps us to improve
> our software and services.
>
> If you have any further questions, please do not hesitate
> to contact us at: OWLIM-info at ontotext.com
> .
>
> We hope you will find SwiftOWLIM useful and we would be
> happy to receive your feedback!
>
> Best regards,
> Anton Andreev
>
> --
> Anton Andreev
> Account Manager
> Ontotext AD
> Tel: +359 2 875 81 17
> Fax:+359 2 975 32 26
> email: anton.andreev at ontotext.com
>
> www.ontotext.com
>
>
> On 27.10.2010 ?. 13:03 ?., sonjafon at gmail.com
> wrote:
>
> Name: Sonja Radenkovic
> Job Position:
> Affiliation/organization:
> E-mail address: sonjafon at gmail.com
>
> Phone number:
> Purpose of use:
> Field of interest:
> General project description:
>
>
>
>
>
>
> --
> Mr Sonja D. Radenkovic, Lecturer
> High Economic Professional School Pec-Leposavic
> 38218 Leposavic
> Serbia
> Email: sonjafon at gmail.com
> URL: http://www.goodoldai.org/sonja_radenkovic
--
Mr Sonja D. Radenkovic, Lecturer
High Economic Professional School Pec-Leposavic
38218 Leposavic
Serbia
Email: sonjafon at gmail.com
URL: http://www.goodoldai.org/sonja_radenkovic
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From philip.alexiev at ontotext.com Mon Nov 8 04:15:19 2010
From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext)
Date: Mon, 8 Nov 2010 11:15:19 +0200
Subject: [Kim-discussion] Fwd: Re: SwiftOWLIM registration request
In-Reply-To: <4CD7B4CF.7050405@ontotext.com>
References: <4CD7B4CF.7050405@ontotext.com>
Message-ID: <09A55EE4-F801-4D06-93B4-C4FBD9A31ECF@ontotext.com>
Hello Sonja
There is no easy answer to this question. Platforms as complex as KIM always come with a complex dependency tree. Apart from that some of the jars in the lib/ folder are also developed by Ontotext and can not be found in the public maven repository.
One solution to this would be to track the jars from lib/ in the public maven repository (http://mvnrepository.com/) . The ones you can't find are most probably developed by us . You can add them manually as artifacts to your internal maven repository.
hth,
Philip Alexiev
Software Engineer, KIM team
On Nov 8, 2010, at 10:29 AM, Anton Andreev wrote:
> Dear Ms. Radenkovic,
>
> I am forwarding your request to the KIM-discussion mailing list: KIM-discussion at ontotext.com. My KIM colleagues will better answer your technical questions as I deal more with OWLIM.
>
> Best regards,
> Anton
>
> --
> Anton Andreev
> Account Manager
> Ontotext AD
> Tel: +359 2 875 81 17
> Fax:+359 2 975 32 26
> email: anton.andreev at ontotext.com
> www.ontotext.com
>
> -------- Original Message --------
> Subject: Re: SwiftOWLIM registration request
> Date: Sun, 7 Nov 2010 20:26:05 +0100
> From: Sonja D. Radenkovic
> To: Anton Andreev
>
> Dear Mr Andreev,
>
> I have to use KIM in eclipse maeven project for the annotation of resources. Could you, please, help me to configure KIM for that purpose? Till now I?ve done the following things:
> Download and install Apache Tomcat 6.0.24
> Download and install KIM 3 platform
> Download and install SwiftOWLIM
> Extend the KIM ontology and knowledge base
> I still don?t know how to include KIM in my eclipse maeven project, since I can?t include .jar files there. I need the information related to adding the KIM dependencies in Maeven, but I couldn?t find it on the Web. Any information would be useful?
>
> Regards,
> Sonja
> --
> Mr Sonja D. Radenkovic, Lecturer
> High Economic Professional School Pec-Leposavic
> 38218 Leposavic
> Serbia
> Email: sonjafon at gmail.com
> URL: http://www.goodoldai.org/sonja_radenkovic
>
>
>
> 2010/11/2 Sonja D. Radenkovic
> Dear Mr Andreev,
>
> Danica is my friend from GOOD OLD AI research network (http://www.goodoldai.org/people). I think that she prepares her Ph.D. thesis working on the GATE project at the University of Sheffield. I'm sure that you've had a good experience in collaboration with Danica...
>
> Thank you for offering the help. I will accept it :). This time I'm trying to configure KIM for the annotation of documents, but I still have some problems. If I can't solve it in the next day or two, I will ask you to help me...
>
> Best regards,
> Sonja
>
> 2010/11/1 Anton Andreev
>
> Dear Ms. Radenkovic,
>
> I also know Ms. Danica Damljanovic. She has visited our office in Ontotext last year..
>
> If you have any questions related to OWLIM, do not hesitate to contact me.
>
> Cheers,
> Anton
>
>
> --
> Anton Andreev
> Account Manager
> Ontotext AD
> Tel: +359 2 875 81 17
> Fax:+359 2 975 32 26
> email: anton.andreev at ontotext.com
> www.ontotext.com
>
> On 30.10.2010 ?. 02:41 ?., Sonja D. Radenkovic wrote:
>>
>> Dear Mr Andreev,
>>
>> Can you please confirm if this is your LinkedIn profile: http://www.linkedin.com/in/sonjadradenkovic ? Thank you.
>> You're right. This is my Linkedln profile.
>>
>> Sincerely,
>> Sonja Radenkovic
>>
>> On Wed, Oct 27, 2010 at 12:48 PM, Anton Andreev wrote:
>> Dear Ms. Radenkovic,
>>
>> Thank you very much for your interest in SwiftOWLIM. Can you please confirm if this is your LinkedIn profile: http://www.linkedin.com/in/sonjadradenkovic ? Thank you.
>>
>> You can download the latest SwiftOWLIM distribution here: http://download.ontotext.com/owlim/fc3cb600-7184-4973-97a9-3b97f83e76e7/swiftowlim-3.3.2738.zip
>>
>> Please read the SwiftOWLIM licence agreement: http://www.ontotext.com/owlim/OWLIMLicenceAgreement.html
>>
>> In order to get an appreciation for the level of activity in the OWLIM community, we recommend that you subscribe to the OWLIM-discussion mailing list at: http://ontotext.com/mailman/listinfo/OWLIM-discussion This mailing list has a public archive available at: http://www.mail-archive.com/owlim-discussion at ontotext.com/maillist.html
>>
>> Also, we would very much appreciate a little bit more information about how you intend to use SwiftOWLIM, i.e. size of datasets, inference complexity, application scenarios, etc. This information helps us to understand our customers better and ultimately helps us to improve our software and services.
>>
>> If you have any further questions, please do not hesitate to contact us at: OWLIM-info at ontotext.com.
>>
>> We hope you will find SwiftOWLIM useful and we would be happy to receive your feedback!
>>
>> Best regards,
>> Anton Andreev
>>
>> --
>> Anton Andreev
>> Account Manager
>> Ontotext AD
>> Tel: +359 2 875 81 17
>> Fax:+359 2 975 32 26
>> email: anton.andreev at ontotext.com
>> www.ontotext.com
>>
>>
>> On 27.10.2010 ?. 13:03 ?., sonjafon at gmail.com wrote:
>> Name: Sonja Radenkovic
>> Job Position:
>> Affiliation/organization:
>> E-mail address: sonjafon at gmail.com
>> Phone number:
>> Purpose of use:
>> Field of interest:
>> General project description:
>>
>>
>>
>>
>>
>> --
>> Mr Sonja D. Radenkovic, Lecturer
>> High Economic Professional School Pec-Leposavic
>> 38218 Leposavic
>> Serbia
>> Email: sonjafon at gmail.com
>> URL: http://www.goodoldai.org/sonja_radenkovic
>
>
>
>
>
> --
> Mr Sonja D. Radenkovic, Lecturer
> High Economic Professional School Pec-Leposavic
> 38218 Leposavic
> Serbia
> Email: sonjafon at gmail.com
> URL: http://www.goodoldai.org/sonja_radenkovic
>
>
>
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From YVERMILLION at lmi.org Mon Nov 8 15:28:28 2010
From: YVERMILLION at lmi.org (VERMILLION, Bonnie)
Date: Mon, 8 Nov 2010 15:28:28 -0500
Subject: [Kim-discussion] question about gate within KIM
Message-ID:
Is there a way to add a ontology CREOLE plug-in within KIM so that an external ontology can be loaded?
Thank you,
Bonnie Vermillion
Yvonne Vermillion
[cid:image001.jpg at 01CB7F59.949E2480]
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 899 bytes
Desc: image001.jpg
URL:
From philip.alexiev at ontotext.com Tue Nov 9 03:27:50 2010
From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext)
Date: Tue, 9 Nov 2010 10:27:50 +0200
Subject: [Kim-discussion] question about gate within KIM
In-Reply-To:
References:
Message-ID:
Hi Yvonne,
In order to use a new ontology it is good to map it to your top ontology classes.
http://ontotext.com/kim/doc/KimDocs-3.0-EN/ExtendInformationExtraction.html
This is a good guide showing how you can do this.
tht
Philip Alexiev
Software Engineer, KIM team
On Nov 8, 2010, at 10:28 PM, VERMILLION, Bonnie wrote:
> Is there a way to add a ontology CREOLE plug-in within KIM so that an external ontology can be loaded?
>
> Thank you,
> Bonnie Vermillion
>
> Yvonne Vermillion
>
>
>
> 2000 Corporate Ridge
> McLean, VA 22102-7805
> (571)633-7830 P
>
> Complex Problems. Practical Solutions.
> www.lmi.org
>
>
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From borislav.popov at ontotext.com Tue Nov 9 04:01:55 2010
From: borislav.popov at ontotext.com (borislav popov)
Date: Tue, 9 Nov 2010 11:01:55 +0200
Subject: [Kim-discussion] question about gate within KIM
In-Reply-To:
References:
Message-ID: <83E46363-DAA5-4E7E-96FD-32B8B633E102@ontotext.com>
Hi Bonnie,
actually your request and philip's answer point in different
directions. The ontology plugin in GATE provides partial coverage of
what is available in Sesame 2 and/or OWLIM 3 as semantic repository
APIs.
It is not used in KIM - there you have the direct integration with
Sesame-compatible repository, incl. our OWLIM. For client application
of KIM - there is also a higher level API accessible on the same level
as our search or doc-related functionality.
In a KIM context the extension of the default ontology is explained in
the documentation piece provided by philip.
There are certain things to take into account to ensure the mapping to
the default ontology is right and the modeling paradigms of your
ontology are compatible with the extraction pipeline - to bootstrap
automatic recognition of new entities, given the ontology comes with
entity descriptions / knowledge base as well.
you can tell us more about your experiments - so that we can suggest
the route more accurately. If you consider it confidential - you may
also avoid the discussion list, which is public and write directly to
us as we have NDA already.
all the best
borislav
On Nov 9, 2010, at 10:27 AM, Philip Alexiev @ Ontotext wrote:
> Hi Yvonne,
>
> In order to use a new ontology it is good to map it to your top
> ontology classes.
>
> http://ontotext.com/kim/doc/KimDocs-3.0-EN/ExtendInformationExtraction.html
>
> This is a good guide showing how you can do this.
>
> tht
> Philip Alexiev
> Software Engineer, KIM team
>
>
>
>
> On Nov 8, 2010, at 10:28 PM, VERMILLION, Bonnie wrote:
>
>> Is there a way to add a ontology CREOLE plug-in within KIM so that
>> an external ontology can be loaded?
>>
>> Thank you,
>> Bonnie Vermillion
>>
>> Yvonne Vermillion
>>
>>
>>
>> 2000 Corporate Ridge
>> McLean, VA 22102-7805
>> (571)633-7830 P
>>
>> Complex Problems. Practical Solutions.
>> www.lmi.org
>>
>>
>>
>> _______________________________________________
>> Kim-discussion mailing list
>> Kim-discussion at ontotext.com
>> http://ontotext.com/mailman/listinfo/kim-discussion
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From YVERMILLION at lmi.org Tue Nov 9 07:35:12 2010
From: YVERMILLION at lmi.org (VERMILLION, Bonnie)
Date: Tue, 9 Nov 2010 07:35:12 -0500
Subject: [Kim-discussion] question about gate within KIM
In-Reply-To:
References:
Message-ID:
Thank you Phillip!
Bonnie Vermillion
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 09, 2010 3:28 AM
To: VERMILLION, Bonnie
Cc: kim-discussion at ontotext.com
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Yvonne,
In order to use a new ontology it is good to map it to your top ontology classes.
http://ontotext.com/kim/doc/KimDocs-3.0-EN/ExtendInformationExtraction.html
This is a good guide showing how you can do this.
tht
Philip Alexiev
Software Engineer, KIM team
On Nov 8, 2010, at 10:28 PM, VERMILLION, Bonnie wrote:
Is there a way to add a ontology CREOLE plug-in within KIM so that an external ontology can be loaded?
Thank you,
Bonnie Vermillion
Yvonne Vermillion
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
_______________________________________________
Kim-discussion mailing list
Kim-discussion at ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From YVERMILLION at lmi.org Tue Nov 9 07:38:25 2010
From: YVERMILLION at lmi.org (VERMILLION, Bonnie)
Date: Tue, 9 Nov 2010 07:38:25 -0500
Subject: [Kim-discussion] question about gate within KIM
In-Reply-To: <83E46363-DAA5-4E7E-96FD-32B8B633E102@ontotext.com>
References:
<83E46363-DAA5-4E7E-96FD-32B8B633E102@ontotext.com>
Message-ID:
Thank you Borislav! I'll let you know if I need further assistance!
Bonnie Vermillion
Yvonne Vermillion
[cid:image001.jpg at 01CB7FE1.15469EF0]
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
From: borislav popov [mailto:borislav.popov at ontotext.com]
Sent: Tuesday, November 09, 2010 4:02 AM
To: VERMILLION, Bonnie
Cc: kim-discussion; philip
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
actually your request and philip's answer point in different directions. The ontology plugin in GATE provides partial coverage of what is available in Sesame 2 and/or OWLIM 3 as semantic repository APIs.
It is not used in KIM - there you have the direct integration with Sesame-compatible repository, incl. our OWLIM. For client application of KIM - there is also a higher level API accessible on the same level as our search or doc-related functionality.
In a KIM context the extension of the default ontology is explained in the documentation piece provided by philip.
There are certain things to take into account to ensure the mapping to the default ontology is right and the modeling paradigms of your ontology are compatible with the extraction pipeline - to bootstrap automatic recognition of new entities, given the ontology comes with entity descriptions / knowledge base as well.
you can tell us more about your experiments - so that we can suggest the route more accurately. If you consider it confidential - you may also avoid the discussion list, which is public and write directly to us as we have NDA already.
all the best
borislav
On Nov 9, 2010, at 10:27 AM, Philip Alexiev @ Ontotext wrote:
Hi Yvonne,
In order to use a new ontology it is good to map it to your top ontology classes.
http://ontotext.com/kim/doc/KimDocs-3.0-EN/ExtendInformationExtraction.html
This is a good guide showing how you can do this.
tht
Philip Alexiev
Software Engineer, KIM team
On Nov 8, 2010, at 10:28 PM, VERMILLION, Bonnie wrote:
Is there a way to add a ontology CREOLE plug-in within KIM so that an external ontology can be loaded?
Thank you,
Bonnie Vermillion
Yvonne Vermillion
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
_______________________________________________
Kim-discussion mailing list
Kim-discussion at ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion
_______________________________________________
Kim-discussion mailing list
Kim-discussion at ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 899 bytes
Desc: image001.jpg
URL:
From heapifyman at gmail.com Thu Nov 11 12:24:51 2010
From: heapifyman at gmail.com (heapifyman)
Date: Thu, 11 Nov 2010 18:24:51 +0100
Subject: [Kim-discussion] How to add com.ontotext.platform-api.jar to
artifactory
Message-ID: <4CDC26E3.8010405@gmail.com>
Good evening everyone.
I have a little problem trying to use the maven artefacts for the KIM
Java RMI API as is suggested to use here:
http://ontotext.com/kim/doc/KimDocs-3.0-EN/KIMJavaRMIAPI.html
The first problem was, that the kim-api depends on
com.ontotext.platform-api, which is not available in the public maven
repo. I had to extract that from the downloaded KIM platform zip file
and install it manually in my maven repo (which is artifactory).
Next problem is:
platform-api in turn includes "com.ontotext.platform" as its parent.
Unfortunately, I cannot find this artefact in any of the public maven
repositories nor in the KIM platform zip file.
Thus my maven build fails because the parent pom cannot be resolved.
I'd appreciate any tips about how to proceed?
Best regards.
P.S.: My recommendation would be that the kim-api's dependencies should
be available in the public maven repository. Otherwise it does not make
much sense to provide instructions like:
"maven users can just reference the kim-api artifact from our public
repository"
in the documentation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL:
From Anton.Andreev at ontotext.com Fri Nov 12 03:44:42 2010
From: Anton.Andreev at ontotext.com (Anton Andreev)
Date: Fri, 12 Nov 2010 10:44:42 +0200
Subject: [Kim-discussion] Fwd: Help requested
Message-ID: <4CDCFE7A.6030904@ontotext.com>
Hello Mel,
I am forwarding your questions to the KIM discussion mailing list. The
KIM team receives this mailing list and they will assist you.
Regards,
Anton Andreev
-------- Original Message --------
Subject: Help requested
Date: Thu, 11 Nov 2010 08:43:54 -0800 (PST)
From: Melroy Rodrigues
To: info at ontotext.com
I have downloaded KIM. However, I have a few questions. I need to extract safety related information from certain texts documents and online. How would I go about doing so?
I would need to create an ontology and user the Populator to add that ontology into KIM's backend? what next, how do I run my documents through KIM so that the relevant information is extracted. Also I need to programmaticaly work with the extracted entities. How would I do that. Finally is KIM's ontology module support semi supervised learning?
Thanks
Mel
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From philip.alexiev at ontotext.com Fri Nov 12 05:07:40 2010
From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext)
Date: Fri, 12 Nov 2010 12:07:40 +0200
Subject: [Kim-discussion] Fwd: Help requested
In-Reply-To: <4CDCFE7A.6030904@ontotext.com>
References: <4CDCFE7A.6030904@ontotext.com>
Message-ID:
Hi Mel,
KIM comes with a good set of documentation which will help you. A good place to start is the Quick Start Guide. It is a short tour through the common process of using KIM - downloading, installing, setting up, populating, searching .
If you want to customize the information extraction process, the system documentation will be of great use: http://ontotext.com/kim/doc/KimDocs-3.0-EN/HomePage.html .
Basically, you have two options for the ontology. You can replace the ontology in KIM completely with your own. Or, it may be more useful to map the new ontology to PROTON and reuse the knowledge already in the system. The extent of the mapping depends on how much of your ontology may be covered by PROTON - KIM's default ontology (http://proton.semanticweb.org/) .
After this generally you would want to populate the system with some documents (using the populator tool) . Populating a document performs IE over it and stores the document and the entities mentioned in it in the semantic and document repositories.
KIM's API provides functionality to access the documents and entities you have created. You can check it at (http://nmwiki.ontotext.com/kim-javadoc/index.html)
About the semi-supervised learning - we haven't had such a use case, but we have the infrastructure to support it.
Hope this helps
Philip Alexiev
Software Engineer, KIM team
>
> -------- Original Message --------
> Subject: Help requested
> Date: Thu, 11 Nov 2010 08:43:54 -0800 (PST)
> From: Melroy Rodrigues
> To: info at ontotext.com
>
> I have downloaded KIM. However, I have a few questions. I need to extract safety related information from certain texts documents and online. How would I go about doing so?
>
> I would need to create an ontology and user the Populator to add that ontology into KIM's backend? what next, how do I run my documents through KIM so that the relevant information is extracted. Also I need to programmaticaly work with the extracted entities. How would I do that. Finally is KIM's ontology module support semi supervised learning?
>
> Thanks
> Mel
>
>
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From philip.alexiev at ontotext.com Fri Nov 12 05:59:03 2010
From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext)
Date: Fri, 12 Nov 2010 12:59:03 +0200
Subject: [Kim-discussion] How to add com.ontotext.platform-api.jar to
artifactory
In-Reply-To: <4CDC26E3.8010405@gmail.com>
References: <4CDC26E3.8010405@gmail.com>
Message-ID: <4A2B5AF8-8E12-4884-A9C4-CE071FE6F2DC@ontotext.com>
Hi
You can add an option to the platform-api dependency in the pom:
optional
This will stop maven from trying to download it.
We will see which is the best way to handle this in our repository.
hth,
Philip
On Nov 11, 2010, at 7:24 PM, heapifyman wrote:
>
> Good evening everyone.
>
> I have a little problem trying to use the maven artefacts for the KIM
> Java RMI API as is suggested to use here:
> http://ontotext.com/kim/doc/KimDocs-3.0-EN/KIMJavaRMIAPI.html
>
> The first problem was, that the kim-api depends on
> com.ontotext.platform-api, which is not available in the public maven
> repo. I had to extract that from the downloaded KIM platform zip file
> and install it manually in my maven repo (which is artifactory).
>
> Next problem is:
> platform-api in turn includes "com.ontotext.platform" as its parent.
> Unfortunately, I cannot find this artefact in any of the public maven
> repositories nor in the KIM platform zip file.
>
> Thus my maven build fails because the parent pom cannot be resolved.
>
> I'd appreciate any tips about how to proceed?
>
> Best regards.
>
> P.S.: My recommendation would be that the kim-api's dependencies should
> be available in the public maven repository. Otherwise it does not make
> much sense to provide instructions like:
> "maven users can just reference the kim-api artifact from our public
> repository"
> in the documentation.
>
>
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
From philip.alexiev at ontotext.com Fri Nov 12 11:18:59 2010
From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext)
Date: Fri, 12 Nov 2010 18:18:59 +0200
Subject: [Kim-discussion] How to add com.ontotext.platform-api.jar to
artifactory
In-Reply-To: <4CDD5ABB.3050400@gmail.com>
References: <4CDC26E3.8010405@gmail.com>
<4A2B5AF8-8E12-4884-A9C4-CE071FE6F2DC@ontotext.com>
<4CDD3AD4.4040305@gmail.com>
<4CDD5ABB.3050400@gmail.com>
Message-ID:
Yes you are right. I guess it was not deeply tested. We have deployed the channel_iface_impl_stub to the public repository. Also you will have to include the aduna repository. Here is the pom snippet that will help you:
aduna
Aduna Main Repository
http://repo.aduna-software.org/maven2/releases
public
Ontotext Public
http://maven.ontotext.com/archiva/repository/public
Please write if you still have problems. We tested it with a clean local repository and everything should be OK.
All the best
Philip
On Nov 12, 2010, at 5:18 PM, heapifyman wrote:
>
> Ah, one more thing:
>
> I assume the org.openrdf.util.rmirouting.channel_iface_impl_stub
> dependency cannot be excluded?
> I can add this manually to my repo but for ease of use it would be good
> to make this available in the public repo or also mention in the
> documentation that one has to deploy it manually.
>
> Best regards,
> Philip
>
> Am 12.11.2010 15:54, schrieb Philip Alexiev @ Ontotext:
>> Hi Philip,
>>
>> This is the case. platform-api is needed by kim-api, only for a part that is still experimental (the jms part). This means that you can go without it. So you can exclude it from the dependency. In your pom you can add kim-api like this:
>>
>>
>> com.ontotext.kim
>> kim-api
>> 3.0-RC4
>>
>>
>> com.ontotext
>> platform-api
>>
>>
>>
>>
>> This will get kim-api without platform-api. And you will have no problems compiling and running your client, as you don't actually use the JMS part.
>>
>> Apologies for the unclarity. We will update the documentation to reflect our conversation. Thank you for your patience.
>>
>> All the best,
>> Philip
>>
>>
>> On Nov 12, 2010, at 3:02 PM, heapifyman wrote:
>>
>>> Am 12.11.2010 11:59, schrieb Philip Alexiev @ Ontotext:
>>>> Hi
>>>
>>> Hello,
>>>
>>>>
>>>> You can add an option to the platform-api dependency in the pom:
>>>>
>>>> optional
>>>
>>> I'm not sure I understand. I only have kim-api version 3.0-RC4 as a
>>> dependency in my pom and the public ontotext maven repository as repository:
>>>
>>>
>>> com.ontotext.kim
>>> kim-api
>>> 3.0-RC4
>>>
>>>
>>>
>>> repo-ontotext
>>> Ontotext Maven Repository
>>> http://maven.ontotext.com/archiva/repository/public/
>>>
>>> false
>>>
>>>
>>>
>>> So the kim-api jar and pom are automatically downloaded by maven from there.
>>>
>>> But the kim-api pom has a dependency for com.ontotext.platform-api
>>> version 0.6 defined but platform-api is not in above listed public
>>> repository. I can take the platform-api jar from the kim server
>>> distribution zip and add it manually to my local maven repository.
>>> But platform-api has as parent pom referenced: com.ontotext.platform
>>> version 0.6
>>>
>>> This is neither in the public maven repository nor in the distribution
>>> zip file and cannot be resolved by maven.
>>>
>>> Long story short, I believe you have to declare the platform-api
>>> dependency in kim-api as optional or provide both platform-api and its
>>> parent platform in your public maven repo.
>>>
>>> Or maybe I misunderstood something.
>>>
>>> Best,
>>> Philip
>>>
>>>>
>>>> This will stop maven from trying to download it.
>>>>
>>>> We will see which is the best way to handle this in our repository.
>>>>
>>>> hth,
>>>> Philip
>>>>
>>>> On Nov 11, 2010, at 7:24 PM, heapifyman wrote:
>>>>
>>>>>
>>>>> Good evening everyone.
>>>>>
>>>>> I have a little problem trying to use the maven artefacts for the KIM
>>>>> Java RMI API as is suggested to use here:
>>>>> http://ontotext.com/kim/doc/KimDocs-3.0-EN/KIMJavaRMIAPI.html
>>>>>
>>>>> The first problem was, that the kim-api depends on
>>>>> com.ontotext.platform-api, which is not available in the public maven
>>>>> repo. I had to extract that from the downloaded KIM platform zip file
>>>>> and install it manually in my maven repo (which is artifactory).
>>>>>
>>>>> Next problem is:
>>>>> platform-api in turn includes "com.ontotext.platform" as its parent.
>>>>> Unfortunately, I cannot find this artefact in any of the public maven
>>>>> repositories nor in the KIM platform zip file.
>>>>>
>>>>> Thus my maven build fails because the parent pom cannot be resolved.
>>>>>
>>>>> I'd appreciate any tips about how to proceed?
>>>>>
>>>>> Best regards.
>>>>>
>>>>> P.S.: My recommendation would be that the kim-api's dependencies should
>>>>> be available in the public maven repository. Otherwise it does not make
>>>>> much sense to provide instructions like:
>>>>> "maven users can just reference the kim-api artifact from our public
>>>>> repository"
>>>>> in the documentation.
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> Kim-discussion mailing list
>>>>> Kim-discussion at ontotext.com
>>>>> http://ontotext.com/mailman/listinfo/kim-discussion
>>>>
>>>
>>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From philip.alexiev at ontotext.com Tue Nov 16 13:46:02 2010
From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext)
Date: Tue, 16 Nov 2010 20:46:02 +0200
Subject: [Kim-discussion] question about gate within KIM
In-Reply-To:
References:
<83E46363-DAA5-4E7E-96FD-32B8B633E102@ontotext.com>
<25B94943-AFED-46DC-A827-0452C3506530@ontotext.com>
<1EE46E0D-41AB-42FE-B077-654E683885E9@ontotext.com>
<787EE2AB-D3BF-4AED-B748-31D39E0492DF@ontotext.com>
Message-ID:
Hi Bonnie
I guess my editor has put some strange character there. Just copy-paste it in a simple text editor (notepad) and save it. This should save only the readable characters.
hth
Philip
On Nov 16, 2010, at 6:55 PM, VERMILLION, Bonnie wrote:
> Hi Phillip,
> I?m getting an error from the query file in red below:
>
> Can you let me know what to do to correct it?
>
> Thank you,
> Bonnie
>
> 1:52:51 [INFO] 2371[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Labels are loaded from aliases.
> 11:52:51 [DEBUG] 2480[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - classes cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel
> 11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - direct subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[]
> 11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - all subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel]
> 11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - supers cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel, http://www.w3.org/2000/01/rdf-schema#Resource, http://proton.semanticweb.org/2006/05/protont#ProductModel, http://proton.semanticweb.org/2006/05/protont#Object, http://proton.semanticweb.org/2006/05/protons#Entity]
> 11:52:51 [INFO] 2792[ComponentStarter-Thread-2](KIM_SERVICE) - Waking Up GATE...
> 11:52:51 [INFO] 3276[ComponentStarter-Thread-2](KIM_SERVICE) - GATE is AWAKE.
> 11:52:51 [INFO] 3291[ComponentStarter-Thread-2](KIM_SERVICE) - Loading C:\KIM\kim-platform-3.0-RC4\context\default\resources\IE.gapp
> 11:52:55 [INFO] 7176[ComponentStarter-Thread-2](gate.LargeKBGazetteer) - Replaced $relpath$ in gazetteer parameters with C:\KIM\kim-platform-3.0-RC4\context\default\resources/
> 11:52:55 [INFO] 7207[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - Loading of trusted entities from Sesame
> 11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select lbl, i, dc
> from
> {i} {lbl},
> {i} serql:directType {dc},
> {i} {}
> ','null', listener)
> 11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
> 11:52:55 [DEBUG] 7238[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
> 11:52:55 [INFO] 7238[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - The loading of the Static Dictionary finished
> 11:52:58 [INFO] 10046[ComponentStarter-Thread-2](KIM_SERVICE) - Get EntityAPI.
> 11:52:58 [DEBUG] 10046[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select COUNTRY,ADJ from {COUNTRY} {ADJ}','SeRQL', listener)
> 11:52:58 [INFO] 10077[ComponentStarter-Thread-2](ig.RelationExtractors) - Total external relations successfuly loaded : 0 out of 0 supplied.
> 11:52:58 [INFO] 10108[ComponentStarter-Thread-2](KIM_SERVICE) - SemanticAnnotationAPI loaded on Tue Nov 16 11:52:58 EST 2010
> 11:52:58 [INFO] 10108[ComponentStarter-Thread-2](NERC) - GATE pipelines=1
> 11:52:58 [INFO] 10124[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
> 11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
> 11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
> 11:52:59 [INFO] 10342[ComponentStarter-Thread-2](KIM_SERVICE) - CORE Index Addon: class com.ontotext.kim.coredb.CachingCoreWrapper
> 11:52:59 [INFO] 10358[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.coredb.management.RdfCoreAdminExt
> 11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.FactoryImpl
> 11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.console.ConsoleTasksExtension
> 11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.gate.TeamwareAdapter
> 11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.rss.KimRssDatabase
> 11:52:59 [INFO] 10405[ComponentStarter-Thread-2](KIM_SERVICE) - KIM Server startup ended!
>
> From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
> Sent: Tuesday, November 16, 2010 10:29 AM
> To: VERMILLION, Bonnie
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
>
> From the output of you have sent me, I conclude that you have not cleared the cache after changing the configuration. The cache lives in KIM/context/default/populated. Remove the entire directory clear it.
>
> Now if you want the gazetteer to entirely use your ontology instead of KIM's , you should have some things in mind.
>
> The gazetteer resource has a setup option FeedSetupPath, which is a path where it searches for a file named query.txt . In your case the path is KIM/config/ . This file contains a query in serql or sparql and is responsible for filling the dictionary of the gazetteer. The query should return exactly 3 characteristics of each entity you would like to put in the dictionary:
> * the label of the entity
> * the instance URI of the entity
> * the direct class this entity is instance of
>
> If the gazetteer does not find such a file, it uses this query:
>
> select LA, I, DC from
> (
> {TI} rdf:type {},
> {I} {TI},
> {I} rdf:type {},
> {I} serql:directType {DC},
> {I} {} rdfs:label {LA};
> [ {IG}]
> ) UNION (
> {I} {},
> {I} serql:directType {DC},
> {I} {LA}
> )
> WHERE
> IG = NULL
> AND isLiteral(LA)
> AND DC !=
> AND NOT LA = ""
>
>
> If you set the semantic repository logger level to DEBUG you could see this in the log. Just change in KIM/config/log.prop :
> log4j.category.SEMANTIC_REPOSITORY = , aSEMANTIC_REPOSITORY
> to
> log4j.category.SEMANTIC_REPOSITORY = DEBUG, aSEMANTIC_REPOSITORY
>
>
> You could create a file KIM/config/query.txt and provide a simpler query like:
>
> select lbl, i, dc
> from
> {i} {lbl},
> {i} serql:directType {dc},
> {i} {}
>
> Now the instances of Actor and its subclasses will be recognized in the text.
>
> Note: One thing that puzzled me when I looked at your screenshots, is that Role was a subclass of Actor. The relation here should be Actor hasRole Role I think.
>
> To be able to see your classes in KIM's web interface, you should actually mark them as visible. This happens by providing the triples like this to your RDF:
> "" .
>
> you can see KIM's visibility configuration in KIM/context/default/kb/visibility.nt .
>
>
> Please notify me of your progress, so that I can help further
> Philip
>
> On Nov 16, 2010, at 3:07 PM, VERMILLION, Bonnie wrote:
>
>
> Thanks Phillip.
>
> At some point we may have lists such as specific Codes that have a list of values that would be suitable for a gazetteer list.
>
> For now what we want to do is turn off Proton (which I think I have done since there are references to Person, Organization or Location in the ontology shown in KIM. So, I?m not sure where the ontology that is now listed in KIM is coming from . But we need to turn it off so that when we load a sample ontology, it just shows the ontology we are loading.
>
> Please see the attached screen shots attached.
>
> Thank you,
> Bonnie
>
> From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
> Sent: Tuesday, November 16, 2010 3:26 AM
> To: VERMILLION, Bonnie
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
>
> I guess you would want to run only a gazetteer with your ontology, to observe which entities are recognized? Will this help you?
>
> Philip
>
> On Nov 16, 2010, at 5:05 AM, VERMILLION, Bonnie wrote:
>
>
>
> Phillip,
>
> I was able to follow the document that you provided in order to load a sample ontology, but because Proton and Annie are still running, the results are not clear. How can I turn off Proton and Annie?
>
> Thank you,
> Bonnie
>
> From: VERMILLION, Bonnie
> Sent: Tuesday, November 09, 2010 11:08 AM
> To: 'Philip Alexiev @ Ontotext'
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: RE: [Kim-discussion] question about gate within KIM
>
> Thanks Phillip. Great explanation!
>
> For the ontology I am trying to load we have both classes and instances. Though we do have one ontology that only has classes.
>
> I?ll let you know the result after following your response.
>
> Thank you,
> Bonnie
>
> From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
> Sent: Tuesday, November 09, 2010 10:54 AM
> To: VERMILLION, Bonnie
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
>
> The act of extending the ontology alone, does not add value to your IE. It will only store those entities in the semantic repository. In order for those entities to be included in the LKB gazetteer dictionary, they have to meet 3 conditions:
> are of a type that is a subclass of protons:Entity
> have at least one alias
> are marked as Trusted
> That way the gazetteer will create Lookup annotations when he meets one of those in the text. Later you can transform them using Jape rules.
>
> Does your owl file contain instances or only classes? In the general case you need instances to be recognized in the texts.
>
> It is a good idea to map some of your classes to PROTON only if you find they are expressing the same concept. Otherwise just subclass your top classes to protons:Entity .
>
> ?Include the new files in the import section of owlim?
> OWLIM's configuration resides in KIM/config/owlim.ttl . There is a owlim:imports section there. Add your custom files there. The path is relative to KIM/context/default/ . If you have already ran KIM, some cache will exist. In this case you will have to clear the cache in order for the changes to take effect. To do this, perform the following steps:
> * stop KIM
> * delete KIM/context/default/populated/ (NOTE:this will clear all the cache, including the documents in the document repository).
> * start KIM
>
> All the best,
> Philip
>
> On Nov 9, 2010, at 5:22 PM, VERMILLION, Bonnie wrote:
>
>
> Thanks Phillip.
>
> We have several ontologies that we created in Prot?g?. So we have the .owl files.
>
> I?m following the documentation that you pointed me to ?
> Create a sub-folder in the KIM context folder. It will be used as storage for all the RDF data for this task.
> For example, create $KIM_HOME/context/default/kb/dbpedia/.
> We recommend this location but you can put your RDF data anywhere in the KIM context folder.
> Put dbpedia_3.5.1.owl , containing the DBpedia taxonomy, in $KIM_HOME/context/default/kb/dbpedia/
> Put dbpedia_instances.nt , containing the actual objects description, in $KIM_HOME/context/default/kb/dbpedia/
> Include the new files in the import section of owlim ( $KIM_HOME/config/owlim.ttl ):
> I created a subfolder und the kb directory and copied an .owl file created in Prot?g?.
> I?m not sure how to create the .nt file, and the ontology that I?m using does not have Person, Organization or Place domains ? so there is nothing to align with Proton.
> I?m also not sure what is meant by ? ?Include the new files in the import section of owlim?
> Thanks for your expertise!
> Bonnie
>
>
> From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
> Sent: Tuesday, November 09, 2010 9:37 AM
> To: VERMILLION, Bonnie
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
>
> Gate embedded in KIM functions the same way. A difference is that not all the plugins available in GATE developer are directly available in KIM too. You can check the KIM/plugins/ folder. Generally if you import the Ontology plugin you should be able to use the Ontology language resources as you intend to.
>
> I am sure that if you provide some more information about what you want to achieve, we will be able to provide more meaningful support. A simple usecase will help a lot.
>
> All the best,
> Philip
>
> On Nov 9, 2010, at 4:03 PM, VERMILLION, Bonnie wrote:
>
>
>
>
>
> Thanks, Borislov. I will try following the document Phillip mentioned. I guess I was thinking that Gate within KIM would function as it does independently ? that is to use Prot?g? to create an ontology and then load the ontology by indicating a CREOLE ?ontology? plug-in and then a Sesame or OWLIM ontology language resource can be used to load the ontology created from Prot?g?. Sorry for the poor explanation.
>
> I?ll report back!
>
> Thank you,
> Bonnie
>
> From: borislav popov [mailto:borislav.popov at ontotext.com]
> Sent: Tuesday, November 09, 2010 8:40 AM
> To: VERMILLION, Bonnie
> Cc: Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); philip
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
> i will keep philip posted as well on this one.
> the page philip sent explains how to do this loading & mapping of the new ontology to the default one in KIM (PROTON). This is not exactly a user friendly task - as it is more for administrators of the kim server.
> Generally this is a task you do initially and the demonstration UIs are not targeted to these people, but the end users.
> In GATE you can play with loading the ontology if this is helpful to get a better feeling of the data.
> Regarding: the last sentence of loading the ontology and not the rdf triples - i did not really get it - as ontologies are usually expressed in triples. if you want to avoid loading the instance data - it is handy if they come in separate files.
>
> philip please add if i missed something
> b
>
>
> On Nov 9, 2010, at 3:03 PM, VERMILLION, Bonnie wrote:
>
>
>
>
>
>
> Borislav,
>
> Thank you for your response!
>
> After looking at the documentation that Philip referred to, I agree that it is not necessary what I am looking for.
>
> What I?m trying to do is to import (if this is possible) an ontology similar to loading an ontology from Prot?g? in to Gate based on the fact that I have select an ontology processing resource that was loaded as a CREOLE plug-in. However, in KIM, there is no such plug-in within the inherent GATE tool. Can I add this CREOLE plug-in to Gate within KIM? Or is there another way to accomplish loading the ontology without having to load the RDF triples as well.
>
> Thank you in advance for your assistance!
> Bonnie Vermillion
>
> Yvonne Vermillion
>
>
>
> 2000 Corporate Ridge
> McLean, VA 22102-7805
> (571)633-7830 P
>
>
>
>
>
>
> Complex Problems. Practical Solutions.
> www.lmi.org
>
>
>
> From: borislav popov [mailto:borislav.popov at ontotext.com]
> Sent: Tuesday, November 09, 2010 4:02 AM
> To: VERMILLION, Bonnie
> Cc: kim-discussion; philip
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
> actually your request and philip's answer point in different directions. The ontology plugin in GATE provides partial coverage of what is available in Sesame 2 and/or OWLIM 3 as semantic repository APIs.
> It is not used in KIM - there you have the direct integration with Sesame-compatible repository, incl. our OWLIM. For client application of KIM - there is also a higher level API accessible on the same level as our search or doc-related functionality.
> In a KIM context the extension of the default ontology is explained in the documentation piece provided by philip.
> There are certain things to take into account to ensure the mapping to the default ontology is right and the modeling paradigms of your ontology are compatible with the extraction pipeline - to bootstrap automatic recognition of new entities, given the ontology comes with entity descriptions / knowledge base as well.
> you can tell us more about your experiments - so that we can suggest the route more accurately. If you consider it confidential - you may also avoid the discussion list, which is public and write directly to us as we have NDA already.
> all the best
> borislav
>
>
> On Nov 9, 2010, at 10:27 AM, Philip Alexiev @ Ontotext wrote:
>
>
>
>
>
>
>
> Hi Yvonne,
>
> In order to use a new ontology it is good to map it to your top ontology classes.
>
> http://ontotext.com/kim/doc/KimDocs-3.0-EN/ExtendInformationExtraction.html
>
> This is a good guide showing how you can do this.
>
> tht
> Philip Alexiev
> Software Engineer, KIM team
>
>
>
>
> On Nov 8, 2010, at 10:28 PM, VERMILLION, Bonnie wrote:
>
>
>
>
>
>
>
> Is there a way to add a ontology CREOLE plug-in within KIM so that an external ontology can be loaded?
>
> Thank you,
> Bonnie Vermillion
>
> Yvonne Vermillion
>
>
>
> 2000 Corporate Ridge
> McLean, VA 22102-7805
> (571)633-7830 P
>
>
>
>
>
>
>
> Complex Problems. Practical Solutions.
> www.lmi.org
>
>
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From YVERMILLION at lmi.org Tue Nov 16 14:02:50 2010
From: YVERMILLION at lmi.org (VERMILLION, Bonnie)
Date: Tue, 16 Nov 2010 14:02:50 -0500
Subject: [Kim-discussion] question about gate within KIM
References:
<83E46363-DAA5-4E7E-96FD-32B8B633E102@ontotext.com>
<25B94943-AFED-46DC-A827-0452C3506530@ontotext.com>
<1EE46E0D-41AB-42FE-B077-654E683885E9@ontotext.com>
<787EE2AB-D3BF-4AED-B748-31D39E0492DF@ontotext.com>
Message-ID:
Also Phillip - the visibility error is from me trying to put the visibility statements in the visibility.nt file
From: VERMILLION, Bonnie
Sent: Tuesday, November 16, 2010 2:00 PM
To: 'Philip Alexiev @ Ontotext'
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); KIM Server mailing-list
Subject: RE: [Kim-discussion] question about gate within KIM
I got it working, but now no Entities display.
See attached
Thanks, Phillip - getting there with your help!
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 1:46 PM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); KIM Server mailing-list
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie
I guess my editor has put some strange character there. Just copy-paste it in a simple text editor (notepad) and save it. This should save only the readable characters.
hth
Philip
On Nov 16, 2010, at 6:55 PM, VERMILLION, Bonnie wrote:
Hi Phillip,
I'm getting an error from the query file in red below:
Can you let me know what to do to correct it?
Thank you,
Bonnie
1:52:51 [INFO] 2371[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Labels are loaded from aliases.
11:52:51 [DEBUG] 2480[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - classes cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel
11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - direct subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[]
11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - all subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel]
11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - supers cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel, http://www.w3.org/2000/01/rdf-schema#Resource, http://proton.semanticweb.org/2006/05/protont#ProductModel, http://proton.semanticweb.org/2006/05/protont#Object, http://proton.semanticweb.org/2006/05/protons#Entity]
11:52:51 [INFO] 2792[ComponentStarter-Thread-2](KIM_SERVICE) - Waking Up GATE...
11:52:51 [INFO] 3276[ComponentStarter-Thread-2](KIM_SERVICE) - GATE is AWAKE.
11:52:51 [INFO] 3291[ComponentStarter-Thread-2](KIM_SERVICE) - Loading C:\KIM\kim-platform-3.0-RC4\context\default\resources\IE.gapp
11:52:55 [INFO] 7176[ComponentStarter-Thread-2](gate.LargeKBGazetteer) - Replaced $relpath$ in gazetteer parameters with C:\KIM\kim-platform-3.0-RC4\context\default\resources/
11:52:55 [INFO] 7207[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - Loading of trusted entities from Sesame
11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select lbl, i, dc
from
{i} {lbl},
{i} serql:directType {dc},
{i} {}
','null', listener)
11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
11:52:55 [DEBUG] 7238[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
11:52:55 [INFO] 7238[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - The loading of the Static Dictionary finished
11:52:58 [INFO] 10046[ComponentStarter-Thread-2](KIM_SERVICE) - Get EntityAPI.
11:52:58 [DEBUG] 10046[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select COUNTRY,ADJ from {COUNTRY} {ADJ}','SeRQL', listener)
11:52:58 [INFO] 10077[ComponentStarter-Thread-2](ig.RelationExtractors) - Total external relations successfuly loaded : 0 out of 0 supplied.
11:52:58 [INFO] 10108[ComponentStarter-Thread-2](KIM_SERVICE) - SemanticAnnotationAPI loaded on Tue Nov 16 11:52:58 EST 2010
11:52:58 [INFO] 10108[ComponentStarter-Thread-2](NERC) - GATE pipelines=1
11:52:58 [INFO] 10124[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
11:52:59 [INFO] 10342[ComponentStarter-Thread-2](KIM_SERVICE) - CORE Index Addon: class com.ontotext.kim.coredb.CachingCoreWrapper
11:52:59 [INFO] 10358[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.coredb.management.RdfCoreAdminExt
11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.FactoryImpl
11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.console.ConsoleTasksExtension
11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.gate.TeamwareAdapter
11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.rss.KimRssDatabase
11:52:59 [INFO] 10405[ComponentStarter-Thread-2](KIM_SERVICE) - KIM Server startup ended!
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 10:29 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
>From the output of you have sent me, I conclude that you have not cleared the cache after changing the configuration. The cache lives in KIM/context/default/populated. Remove the entire directory clear it.
Now if you want the gazetteer to entirely use your ontology instead of KIM's , you should have some things in mind.
The gazetteer resource has a setup option FeedSetupPath, which is a path where it searches for a file named query.txt . In your case the path is KIM/config/ . This file contains a query in serql or sparql and is responsible for filling the dictionary of the gazetteer. The query should return exactly 3 characteristics of each entity you would like to put in the dictionary:
* the label of the entity
* the instance URI of the entity
* the direct class this entity is instance of
If the gazetteer does not find such a file, it uses this query:
select LA, I, DC from
(
{TI} rdf:type {},
{I} {TI},
{I} rdf:type {},
{I} serql:directType {DC},
{I} {} rdfs:label {LA};
[ {IG}]
) UNION (
{I} {},
{I} serql:directType {DC},
{I} {LA}
)
WHERE
IG = NULL
AND isLiteral(LA)
AND DC !=
AND NOT LA = ""
If you set the semantic repository logger level to DEBUG you could see this in the log. Just change in KIM/config/log.prop :
log4j.category.SEMANTIC_REPOSITORY = , aSEMANTIC_REPOSITORY
to
log4j.category.SEMANTIC_REPOSITORY = DEBUG, aSEMANTIC_REPOSITORY
You could create a file KIM/config/query.txt and provide a simpler query like:
select lbl, i, dc
from
{i} {lbl},
{i} serql:directType {dc},
{i} {}
Now the instances of Actor and its subclasses will be recognized in the text.
Note: One thing that puzzled me when I looked at your screenshots, is that Role was a subclass of Actor. The relation here should be Actor hasRole Role I think.
To be able to see your classes in KIM's web interface, you should actually mark them as visible. This happens by providing the triples like this to your RDF:
"" .
you can see KIM's visibility configuration in KIM/context/default/kb/visibility.nt .
Please notify me of your progress, so that I can help further
Philip
On Nov 16, 2010, at 3:07 PM, VERMILLION, Bonnie wrote:
Thanks Phillip.
At some point we may have lists such as specific Codes that have a list of values that would be suitable for a gazetteer list.
For now what we want to do is turn off Proton (which I think I have done since there are references to Person, Organization or Location in the ontology shown in KIM. So, I'm not sure where the ontology that is now listed in KIM is coming from . But we need to turn it off so that when we load a sample ontology, it just shows the ontology we are loading.
Please see the attached screen shots attached.
Thank you,
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 3:26 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
I guess you would want to run only a gazetteer with your ontology, to observe which entities are recognized? Will this help you?
Philip
On Nov 16, 2010, at 5:05 AM, VERMILLION, Bonnie wrote:
Phillip,
I was able to follow the document that you provided in order to load a sample ontology, but because Proton and Annie are still running, the results are not clear. How can I turn off Proton and Annie?
Thank you,
Bonnie
From: VERMILLION, Bonnie
Sent: Tuesday, November 09, 2010 11:08 AM
To: 'Philip Alexiev @ Ontotext'
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: RE: [Kim-discussion] question about gate within KIM
Thanks Phillip. Great explanation!
For the ontology I am trying to load we have both classes and instances. Though we do have one ontology that only has classes.
I'll let you know the result after following your response.
Thank you,
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 09, 2010 10:54 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
The act of extending the ontology alone, does not add value to your IE. It will only store those entities in the semantic repository. In order for those entities to be included in the LKB gazetteer dictionary, they have to meet 3 conditions:
* are of a type that is a subclass of protons:Entity
* have at least one alias
* are marked as Trusted
That way the gazetteer will create Lookup annotations when he meets one of those in the text. Later you can transform them using Jape rules.
Does your owl file contain instances or only classes? In the general case you need instances to be recognized in the texts.
It is a good idea to map some of your classes to PROTON only if you find they are expressing the same concept. Otherwise just subclass your top classes to protons:Entity .
'Include the new files in the import section of owlim'
OWLIM's configuration resides in KIM/config/owlim.ttl . There is a owlim:imports section there. Add your custom files there. The path is relative to KIM/context/default/ . If you have already ran KIM, some cache will exist. In this case you will have to clear the cache in order for the changes to take effect. To do this, perform the following steps:
* stop KIM
* delete KIM/context/default/populated/ (NOTE:this will clear all the cache, including the documents in the document repository).
* start KIM
All the best,
Philip
On Nov 9, 2010, at 5:22 PM, VERMILLION, Bonnie wrote:
Thanks Phillip.
We have several ontologies that we created in Prot?g?. So we have the .owl files.
I'm following the documentation that you pointed me to -
* Create a sub-folder in the KIM context folder. It will be used as storage for all the RDF data for this task.
For example, create $KIM_HOME/context/default/kb/dbpedia/.
We recommend this location but you can put your RDF data anywhere in the KIM context folder.
* Put dbpedia_3.5.1.owl , containing the DBpedia taxonomy, in $KIM_HOME/context/default/kb/dbpedia/
* Put dbpedia_instances.nt , containing the actual objects description, in $KIM_HOME/context/default/kb/dbpedia/
* Include the new files in the import section of owlim ( $KIM_HOME/config/owlim.ttl ):
I created a subfolder und the kb directory and copied an .owl file created in Prot?g?.
I'm not sure how to create the .nt file, and the ontology that I'm using does not have Person, Organization or Place domains - so there is nothing to align with Proton.
I'm also not sure what is meant by - 'Include the new files in the import section of owlim'
Thanks for your expertise!
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 09, 2010 9:37 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
Gate embedded in KIM functions the same way. A difference is that not all the plugins available in GATE developer are directly available in KIM too. You can check the KIM/plugins/ folder. Generally if you import the Ontology plugin you should be able to use the Ontology language resources as you intend to.
I am sure that if you provide some more information about what you want to achieve, we will be able to provide more meaningful support. A simple usecase will help a lot.
All the best,
Philip
On Nov 9, 2010, at 4:03 PM, VERMILLION, Bonnie wrote:
Thanks, Borislov. I will try following the document Phillip mentioned. I guess I was thinking that Gate within KIM would function as it does independently - that is to use Prot?g? to create an ontology and then load the ontology by indicating a CREOLE 'ontology' plug-in and then a Sesame or OWLIM ontology language resource can be used to load the ontology created from Prot?g?. Sorry for the poor explanation.
I'll report back!
Thank you,
Bonnie
From: borislav popov [mailto:borislav.popov at ontotext.com]
Sent: Tuesday, November 09, 2010 8:40 AM
To: VERMILLION, Bonnie
Cc: Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); philip
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
i will keep philip posted as well on this one.
the page philip sent explains how to do this loading & mapping of the new ontology to the default one in KIM (PROTON). This is not exactly a user friendly task - as it is more for administrators of the kim server.
Generally this is a task you do initially and the demonstration UIs are not targeted to these people, but the end users.
In GATE you can play with loading the ontology if this is helpful to get a better feeling of the data.
Regarding: the last sentence of loading the ontology and not the rdf triples - i did not really get it - as ontologies are usually expressed in triples. if you want to avoid loading the instance data - it is handy if they come in separate files.
philip please add if i missed something
b
On Nov 9, 2010, at 3:03 PM, VERMILLION, Bonnie wrote:
Borislav,
Thank you for your response!
After looking at the documentation that Philip referred to, I agree that it is not necessary what I am looking for.
What I'm trying to do is to import (if this is possible) an ontology similar to loading an ontology from Prot?g? in to Gate based on the fact that I have select an ontology processing resource that was loaded as a CREOLE plug-in. However, in KIM, there is no such plug-in within the inherent GATE tool. Can I add this CREOLE plug-in to Gate within KIM? Or is there another way to accomplish loading the ontology without having to load the RDF triples as well.
Thank you in advance for your assistance!
Bonnie Vermillion
Yvonne Vermillion
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
From: borislav popov [mailto:borislav.popov at ontotext.com]
Sent: Tuesday, November 09, 2010 4:02 AM
To: VERMILLION, Bonnie
Cc: kim-discussion; philip
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
actually your request and philip's answer point in different directions. The ontology plugin in GATE provides partial coverage of what is available in Sesame 2 and/or OWLIM 3 as semantic repository APIs.
It is not used in KIM - there you have the direct integration with Sesame-compatible repository, incl. our OWLIM. For client application of KIM - there is also a higher level API accessible on the same level as our search or doc-related functionality.
In a KIM context the extension of the default ontology is explained in the documentation piece provided by philip.
There are certain things to take into account to ensure the mapping to the default ontology is right and the modeling paradigms of your ontology are compatible with the extraction pipeline - to bootstrap automatic recognition of new entities, given the ontology comes with entity descriptions / knowledge base as well.
you can tell us more about your experiments - so that we can suggest the route more accurately. If you consider it confidential - you may also avoid the discussion list, which is public and write directly to us as we have NDA already.
all the best
borislav
On Nov 9, 2010, at 10:27 AM, Philip Alexiev @ Ontotext wrote:
Hi Yvonne,
In order to use a new ontology it is good to map it to your top ontology classes.
http://ontotext.com/kim/doc/KimDocs-3.0-EN/ExtendInformationExtraction.html
This is a good guide showing how you can do this.
tht
Philip Alexiev
Software Engineer, KIM team
On Nov 8, 2010, at 10:28 PM, VERMILLION, Bonnie wrote:
Is there a way to add a ontology CREOLE plug-in within KIM so that an external ontology can be loaded?
Thank you,
Bonnie Vermillion
Yvonne Vermillion
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
_______________________________________________
Kim-discussion mailing list
Kim-discussion at ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion
_______________________________________________
Kim-discussion mailing list
Kim-discussion at ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From philip.alexiev at ontotext.com Tue Nov 16 14:12:45 2010
From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext)
Date: Tue, 16 Nov 2010 21:12:45 +0200
Subject: [Kim-discussion] question about gate within KIM
In-Reply-To:
References:
<83E46363-DAA5-4E7E-96FD-32B8B633E102@ontotext.com>
<25B94943-AFED-46DC-A827-0452C3506530@ontotext.com>
<1EE46E0D-41AB-42FE-B077-654E683885E9@ontotext.com>
<787EE2AB-D3BF-4AED-B748-31D39E0492DF@ontotext.com>
Message-ID: <26B7D3B5-BDD7-443D-86A9-37BF7657C856@ontotext.com>
Hi Bonnie,
I think I will save you a lot of time if you send me the ontology so that I can play with it. Is it possible?
It seems the query does not return any results. I can not say what should be the exact query without knowledge of the ontology.
All the best
Philip
On Nov 16, 2010, at 8:59 PM, VERMILLION, Bonnie wrote:
> I got it working, but now no Entities display.
>
> See attached
>
> Thanks, Phillip ? getting there with your help!
> Bonnie
>
> From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
> Sent: Tuesday, November 16, 2010 1:46 PM
> To: VERMILLION, Bonnie
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); KIM Server mailing-list
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie
>
> I guess my editor has put some strange character there. Just copy-paste it in a simple text editor (notepad) and save it. This should save only the readable characters.
>
> hth
> Philip
>
>
> On Nov 16, 2010, at 6:55 PM, VERMILLION, Bonnie wrote:
>
>
> Hi Phillip,
> I?m getting an error from the query file in red below:
>
> Can you let me know what to do to correct it?
>
> Thank you,
> Bonnie
>
> 1:52:51 [INFO] 2371[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Labels are loaded from aliases.
> 11:52:51 [DEBUG] 2480[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - classes cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel
> 11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - direct subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[]
> 11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - all subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel]
> 11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - supers cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel, http://www.w3.org/2000/01/rdf-schema#Resource, http://proton.semanticweb.org/2006/05/protont#ProductModel, http://proton.semanticweb.org/2006/05/protont#Object, http://proton.semanticweb.org/2006/05/protons#Entity]
> 11:52:51 [INFO] 2792[ComponentStarter-Thread-2](KIM_SERVICE) - Waking Up GATE...
> 11:52:51 [INFO] 3276[ComponentStarter-Thread-2](KIM_SERVICE) - GATE is AWAKE.
> 11:52:51 [INFO] 3291[ComponentStarter-Thread-2](KIM_SERVICE) - Loading C:\KIM\kim-platform-3.0-RC4\context\default\resources\IE.gapp
> 11:52:55 [INFO] 7176[ComponentStarter-Thread-2](gate.LargeKBGazetteer) - Replaced $relpath$ in gazetteer parameters with C:\KIM\kim-platform-3.0-RC4\context\default\resources/
> 11:52:55 [INFO] 7207[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - Loading of trusted entities from Sesame
> 11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select lbl, i, dc
> from
> {i} {lbl},
> {i} serql:directType {dc},
> {i} {}
> ','null', listener)
> 11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
> 11:52:55 [DEBUG] 7238[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
> 11:52:55 [INFO] 7238[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - The loading of the Static Dictionary finished
> 11:52:58 [INFO] 10046[ComponentStarter-Thread-2](KIM_SERVICE) - Get EntityAPI.
> 11:52:58 [DEBUG] 10046[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select COUNTRY,ADJ from {COUNTRY} {ADJ}','SeRQL', listener)
> 11:52:58 [INFO] 10077[ComponentStarter-Thread-2](ig.RelationExtractors) - Total external relations successfuly loaded : 0 out of 0 supplied.
> 11:52:58 [INFO] 10108[ComponentStarter-Thread-2](KIM_SERVICE) - SemanticAnnotationAPI loaded on Tue Nov 16 11:52:58 EST 2010
> 11:52:58 [INFO] 10108[ComponentStarter-Thread-2](NERC) - GATE pipelines=1
> 11:52:58 [INFO] 10124[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
> 11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
> 11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
> 11:52:59 [INFO] 10342[ComponentStarter-Thread-2](KIM_SERVICE) - CORE Index Addon: class com.ontotext.kim.coredb.CachingCoreWrapper
> 11:52:59 [INFO] 10358[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.coredb.management.RdfCoreAdminExt
> 11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.FactoryImpl
> 11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.console.ConsoleTasksExtension
> 11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.gate.TeamwareAdapter
> 11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.rss.KimRssDatabase
> 11:52:59 [INFO] 10405[ComponentStarter-Thread-2](KIM_SERVICE) - KIM Server startup ended!
>
> From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
> Sent: Tuesday, November 16, 2010 10:29 AM
> To: VERMILLION, Bonnie
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
>
> From the output of you have sent me, I conclude that you have not cleared the cache after changing the configuration. The cache lives in KIM/context/default/populated. Remove the entire directory clear it.
>
> Now if you want the gazetteer to entirely use your ontology instead of KIM's , you should have some things in mind.
>
> The gazetteer resource has a setup option FeedSetupPath, which is a path where it searches for a file named query.txt . In your case the path is KIM/config/ . This file contains a query in serql or sparql and is responsible for filling the dictionary of the gazetteer. The query should return exactly 3 characteristics of each entity you would like to put in the dictionary:
> * the label of the entity
> * the instance URI of the entity
> * the direct class this entity is instance of
>
> If the gazetteer does not find such a file, it uses this query:
>
> select LA, I, DC from
> (
> {TI} rdf:type {},
> {I} {TI},
> {I} rdf:type {},
> {I} serql:directType {DC},
> {I} {} rdfs:label {LA};
> [ {IG}]
> ) UNION (
> {I} {},
> {I} serql:directType {DC},
> {I} {LA}
> )
> WHERE
> IG = NULL
> AND isLiteral(LA)
> AND DC !=
> AND NOT LA = ""
>
>
> If you set the semantic repository logger level to DEBUG you could see this in the log. Just change in KIM/config/log.prop :
> log4j.category.SEMANTIC_REPOSITORY = , aSEMANTIC_REPOSITORY
> to
> log4j.category.SEMANTIC_REPOSITORY = DEBUG, aSEMANTIC_REPOSITORY
>
>
> You could create a file KIM/config/query.txt and provide a simpler query like:
>
> select lbl, i, dc
> from
> {i} {lbl},
> {i} serql:directType {dc},
> {i} {}
>
> Now the instances of Actor and its subclasses will be recognized in the text.
>
> Note: One thing that puzzled me when I looked at your screenshots, is that Role was a subclass of Actor. The relation here should be Actor hasRole Role I think.
>
> To be able to see your classes in KIM's web interface, you should actually mark them as visible. This happens by providing the triples like this to your RDF:
> "" .
>
> you can see KIM's visibility configuration in KIM/context/default/kb/visibility.nt .
>
>
> Please notify me of your progress, so that I can help further
> Philip
>
> On Nov 16, 2010, at 3:07 PM, VERMILLION, Bonnie wrote:
>
>
>
> Thanks Phillip.
>
> At some point we may have lists such as specific Codes that have a list of values that would be suitable for a gazetteer list.
>
> For now what we want to do is turn off Proton (which I think I have done since there are references to Person, Organization or Location in the ontology shown in KIM. So, I?m not sure where the ontology that is now listed in KIM is coming from . But we need to turn it off so that when we load a sample ontology, it just shows the ontology we are loading.
>
> Please see the attached screen shots attached.
>
> Thank you,
> Bonnie
>
> From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
> Sent: Tuesday, November 16, 2010 3:26 AM
> To: VERMILLION, Bonnie
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
>
> I guess you would want to run only a gazetteer with your ontology, to observe which entities are recognized? Will this help you?
>
> Philip
>
> On Nov 16, 2010, at 5:05 AM, VERMILLION, Bonnie wrote:
>
>
>
>
> Phillip,
>
> I was able to follow the document that you provided in order to load a sample ontology, but because Proton and Annie are still running, the results are not clear. How can I turn off Proton and Annie?
>
> Thank you,
> Bonnie
>
> From: VERMILLION, Bonnie
> Sent: Tuesday, November 09, 2010 11:08 AM
> To: 'Philip Alexiev @ Ontotext'
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: RE: [Kim-discussion] question about gate within KIM
>
> Thanks Phillip. Great explanation!
>
> For the ontology I am trying to load we have both classes and instances. Though we do have one ontology that only has classes.
>
> I?ll let you know the result after following your response.
>
> Thank you,
> Bonnie
>
> From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
> Sent: Tuesday, November 09, 2010 10:54 AM
> To: VERMILLION, Bonnie
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
>
> The act of extending the ontology alone, does not add value to your IE. It will only store those entities in the semantic repository. In order for those entities to be included in the LKB gazetteer dictionary, they have to meet 3 conditions:
> are of a type that is a subclass of protons:Entity
> have at least one alias
> are marked as Trusted
> That way the gazetteer will create Lookup annotations when he meets one of those in the text. Later you can transform them using Jape rules.
>
> Does your owl file contain instances or only classes? In the general case you need instances to be recognized in the texts.
>
> It is a good idea to map some of your classes to PROTON only if you find they are expressing the same concept. Otherwise just subclass your top classes to protons:Entity .
>
> ?Include the new files in the import section of owlim?
> OWLIM's configuration resides in KIM/config/owlim.ttl . There is a owlim:imports section there. Add your custom files there. The path is relative to KIM/context/default/ . If you have already ran KIM, some cache will exist. In this case you will have to clear the cache in order for the changes to take effect. To do this, perform the following steps:
> * stop KIM
> * delete KIM/context/default/populated/ (NOTE:this will clear all the cache, including the documents in the document repository).
> * start KIM
>
> All the best,
> Philip
>
> On Nov 9, 2010, at 5:22 PM, VERMILLION, Bonnie wrote:
>
>
> Thanks Phillip.
>
> We have several ontologies that we created in Prot?g?. So we have the .owl files.
>
> I?m following the documentation that you pointed me to ?
> Create a sub-folder in the KIM context folder. It will be used as storage for all the RDF data for this task.
> For example, create $KIM_HOME/context/default/kb/dbpedia/.
> We recommend this location but you can put your RDF data anywhere in the KIM context folder.
> Put dbpedia_3.5.1.owl , containing the DBpedia taxonomy, in $KIM_HOME/context/default/kb/dbpedia/
> Put dbpedia_instances.nt , containing the actual objects description, in $KIM_HOME/context/default/kb/dbpedia/
> Include the new files in the import section of owlim ( $KIM_HOME/config/owlim.ttl ):
> I created a subfolder und the kb directory and copied an .owl file created in Prot?g?.
> I?m not sure how to create the .nt file, and the ontology that I?m using does not have Person, Organization or Place domains ? so there is nothing to align with Proton.
> I?m also not sure what is meant by ? ?Include the new files in the import section of owlim?
> Thanks for your expertise!
> Bonnie
>
>
> From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
> Sent: Tuesday, November 09, 2010 9:37 AM
> To: VERMILLION, Bonnie
> Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
>
> Gate embedded in KIM functions the same way. A difference is that not all the plugins available in GATE developer are directly available in KIM too. You can check the KIM/plugins/ folder. Generally if you import the Ontology plugin you should be able to use the Ontology language resources as you intend to.
>
> I am sure that if you provide some more information about what you want to achieve, we will be able to provide more meaningful support. A simple usecase will help a lot.
>
> All the best,
> Philip
>
> On Nov 9, 2010, at 4:03 PM, VERMILLION, Bonnie wrote:
>
>
>
>
>
>
> Thanks, Borislov. I will try following the document Phillip mentioned. I guess I was thinking that Gate within KIM would function as it does independently ? that is to use Prot?g? to create an ontology and then load the ontology by indicating a CREOLE ?ontology? plug-in and then a Sesame or OWLIM ontology language resource can be used to load the ontology created from Prot?g?. Sorry for the poor explanation.
>
> I?ll report back!
>
> Thank you,
> Bonnie
>
> From: borislav popov [mailto:borislav.popov at ontotext.com]
> Sent: Tuesday, November 09, 2010 8:40 AM
> To: VERMILLION, Bonnie
> Cc: Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); philip
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
> i will keep philip posted as well on this one.
> the page philip sent explains how to do this loading & mapping of the new ontology to the default one in KIM (PROTON). This is not exactly a user friendly task - as it is more for administrators of the kim server.
> Generally this is a task you do initially and the demonstration UIs are not targeted to these people, but the end users.
> In GATE you can play with loading the ontology if this is helpful to get a better feeling of the data.
> Regarding: the last sentence of loading the ontology and not the rdf triples - i did not really get it - as ontologies are usually expressed in triples. if you want to avoid loading the instance data - it is handy if they come in separate files.
>
> philip please add if i missed something
> b
>
>
> On Nov 9, 2010, at 3:03 PM, VERMILLION, Bonnie wrote:
>
>
>
>
>
>
>
> Borislav,
>
> Thank you for your response!
>
> After looking at the documentation that Philip referred to, I agree that it is not necessary what I am looking for.
>
> What I?m trying to do is to import (if this is possible) an ontology similar to loading an ontology from Prot?g? in to Gate based on the fact that I have select an ontology processing resource that was loaded as a CREOLE plug-in. However, in KIM, there is no such plug-in within the inherent GATE tool. Can I add this CREOLE plug-in to Gate within KIM? Or is there another way to accomplish loading the ontology without having to load the RDF triples as well.
>
> Thank you in advance for your assistance!
> Bonnie Vermillion
>
> Yvonne Vermillion
>
>
>
> 2000 Corporate Ridge
> McLean, VA 22102-7805
> (571)633-7830 P
>
>
>
>
>
>
>
> Complex Problems. Practical Solutions.
> www.lmi.org
>
>
>
> From: borislav popov [mailto:borislav.popov at ontotext.com]
> Sent: Tuesday, November 09, 2010 4:02 AM
> To: VERMILLION, Bonnie
> Cc: kim-discussion; philip
> Subject: Re: [Kim-discussion] question about gate within KIM
>
> Hi Bonnie,
> actually your request and philip's answer point in different directions. The ontology plugin in GATE provides partial coverage of what is available in Sesame 2 and/or OWLIM 3 as semantic repository APIs.
> It is not used in KIM - there you have the direct integration with Sesame-compatible repository, incl. our OWLIM. For client application of KIM - there is also a higher level API accessible on the same level as our search or doc-related functionality.
> In a KIM context the extension of the default ontology is explained in the documentation piece provided by philip.
> There are certain things to take into account to ensure the mapping to the default ontology is right and the modeling paradigms of your ontology are compatible with the extraction pipeline - to bootstrap automatic recognition of new entities, given the ontology comes with entity descriptions / knowledge base as well.
> you can tell us more about your experiments - so that we can suggest the route more accurately. If you consider it confidential - you may also avoid the discussion list, which is public and write directly to us as we have NDA already.
> all the best
> borislav
>
>
> On Nov 9, 2010, at 10:27 AM, Philip Alexiev @ Ontotext wrote:
>
>
>
>
>
>
>
>
> Hi Yvonne,
>
> In order to use a new ontology it is good to map it to your top ontology classes.
>
> http://ontotext.com/kim/doc/KimDocs-3.0-EN/ExtendInformationExtraction.html
>
> This is a good guide showing how you can do this.
>
> tht
> Philip Alexiev
> Software Engineer, KIM team
>
>
>
>
> On Nov 8, 2010, at 10:28 PM, VERMILLION, Bonnie wrote:
>
>
>
>
>
>
>
>
> Is there a way to add a ontology CREOLE plug-in within KIM so that an external ontology can be loaded?
>
> Thank you,
> Bonnie Vermillion
>
> Yvonne Vermillion
>
>
>
> 2000 Corporate Ridge
> McLean, VA 22102-7805
> (571)633-7830 P
>
>
>
>
>
>
>
>
> Complex Problems. Practical Solutions.
> www.lmi.org
>
>
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
>
> _______________________________________________
> Kim-discussion mailing list
> Kim-discussion at ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion
>
>
>
>
>
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
From YVERMILLION at lmi.org Tue Nov 16 13:59:48 2010
From: YVERMILLION at lmi.org (VERMILLION, Bonnie)
Date: Tue, 16 Nov 2010 13:59:48 -0500
Subject: [Kim-discussion] question about gate within KIM
In-Reply-To:
References:
<83E46363-DAA5-4E7E-96FD-32B8B633E102@ontotext.com>
<25B94943-AFED-46DC-A827-0452C3506530@ontotext.com>
<1EE46E0D-41AB-42FE-B077-654E683885E9@ontotext.com>
<787EE2AB-D3BF-4AED-B748-31D39E0492DF@ontotext.com>
Message-ID:
I got it working, but now no Entities display.
See attached
Thanks, Phillip - getting there with your help!
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 1:46 PM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); KIM Server mailing-list
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie
I guess my editor has put some strange character there. Just copy-paste it in a simple text editor (notepad) and save it. This should save only the readable characters.
hth
Philip
On Nov 16, 2010, at 6:55 PM, VERMILLION, Bonnie wrote:
Hi Phillip,
I'm getting an error from the query file in red below:
Can you let me know what to do to correct it?
Thank you,
Bonnie
1:52:51 [INFO] 2371[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Labels are loaded from aliases.
11:52:51 [DEBUG] 2480[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - classes cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel
11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - direct subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[]
11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - all subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel]
11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - supers cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel, http://www.w3.org/2000/01/rdf-schema#Resource, http://proton.semanticweb.org/2006/05/protont#ProductModel, http://proton.semanticweb.org/2006/05/protont#Object, http://proton.semanticweb.org/2006/05/protons#Entity]
11:52:51 [INFO] 2792[ComponentStarter-Thread-2](KIM_SERVICE) - Waking Up GATE...
11:52:51 [INFO] 3276[ComponentStarter-Thread-2](KIM_SERVICE) - GATE is AWAKE.
11:52:51 [INFO] 3291[ComponentStarter-Thread-2](KIM_SERVICE) - Loading C:\KIM\kim-platform-3.0-RC4\context\default\resources\IE.gapp
11:52:55 [INFO] 7176[ComponentStarter-Thread-2](gate.LargeKBGazetteer) - Replaced $relpath$ in gazetteer parameters with C:\KIM\kim-platform-3.0-RC4\context\default\resources/
11:52:55 [INFO] 7207[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - Loading of trusted entities from Sesame
11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select lbl, i, dc
from
{i} {lbl},
{i} serql:directType {dc},
{i} {}
','null', listener)
11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
11:52:55 [DEBUG] 7238[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
11:52:55 [INFO] 7238[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - The loading of the Static Dictionary finished
11:52:58 [INFO] 10046[ComponentStarter-Thread-2](KIM_SERVICE) - Get EntityAPI.
11:52:58 [DEBUG] 10046[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select COUNTRY,ADJ from {COUNTRY} {ADJ}','SeRQL', listener)
11:52:58 [INFO] 10077[ComponentStarter-Thread-2](ig.RelationExtractors) - Total external relations successfuly loaded : 0 out of 0 supplied.
11:52:58 [INFO] 10108[ComponentStarter-Thread-2](KIM_SERVICE) - SemanticAnnotationAPI loaded on Tue Nov 16 11:52:58 EST 2010
11:52:58 [INFO] 10108[ComponentStarter-Thread-2](NERC) - GATE pipelines=1
11:52:58 [INFO] 10124[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
11:52:59 [INFO] 10342[ComponentStarter-Thread-2](KIM_SERVICE) - CORE Index Addon: class com.ontotext.kim.coredb.CachingCoreWrapper
11:52:59 [INFO] 10358[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.coredb.management.RdfCoreAdminExt
11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.FactoryImpl
11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.console.ConsoleTasksExtension
11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.gate.TeamwareAdapter
11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.rss.KimRssDatabase
11:52:59 [INFO] 10405[ComponentStarter-Thread-2](KIM_SERVICE) - KIM Server startup ended!
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 10:29 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
>From the output of you have sent me, I conclude that you have not cleared the cache after changing the configuration. The cache lives in KIM/context/default/populated. Remove the entire directory clear it.
Now if you want the gazetteer to entirely use your ontology instead of KIM's , you should have some things in mind.
The gazetteer resource has a setup option FeedSetupPath, which is a path where it searches for a file named query.txt . In your case the path is KIM/config/ . This file contains a query in serql or sparql and is responsible for filling the dictionary of the gazetteer. The query should return exactly 3 characteristics of each entity you would like to put in the dictionary:
* the label of the entity
* the instance URI of the entity
* the direct class this entity is instance of
If the gazetteer does not find such a file, it uses this query:
select LA, I, DC from
(
{TI} rdf:type {},
{I} {TI},
{I} rdf:type {},
{I} serql:directType {DC},
{I} {} rdfs:label {LA};
[ {IG}]
) UNION (
{I} {},
{I} serql:directType {DC},
{I} {LA}
)
WHERE
IG = NULL
AND isLiteral(LA)
AND DC !=
AND NOT LA = ""
If you set the semantic repository logger level to DEBUG you could see this in the log. Just change in KIM/config/log.prop :
log4j.category.SEMANTIC_REPOSITORY = , aSEMANTIC_REPOSITORY
to
log4j.category.SEMANTIC_REPOSITORY = DEBUG, aSEMANTIC_REPOSITORY
You could create a file KIM/config/query.txt and provide a simpler query like:
select lbl, i, dc
from
{i} {lbl},
{i} serql:directType {dc},
{i} {}
Now the instances of Actor and its subclasses will be recognized in the text.
Note: One thing that puzzled me when I looked at your screenshots, is that Role was a subclass of Actor. The relation here should be Actor hasRole Role I think.
To be able to see your classes in KIM's web interface, you should actually mark them as visible. This happens by providing the triples like this to your RDF:
"" .
you can see KIM's visibility configuration in KIM/context/default/kb/visibility.nt .
Please notify me of your progress, so that I can help further
Philip
On Nov 16, 2010, at 3:07 PM, VERMILLION, Bonnie wrote:
Thanks Phillip.
At some point we may have lists such as specific Codes that have a list of values that would be suitable for a gazetteer list.
For now what we want to do is turn off Proton (which I think I have done since there are references to Person, Organization or Location in the ontology shown in KIM. So, I'm not sure where the ontology that is now listed in KIM is coming from . But we need to turn it off so that when we load a sample ontology, it just shows the ontology we are loading.
Please see the attached screen shots attached.
Thank you,
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 3:26 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
I guess you would want to run only a gazetteer with your ontology, to observe which entities are recognized? Will this help you?
Philip
On Nov 16, 2010, at 5:05 AM, VERMILLION, Bonnie wrote:
Phillip,
I was able to follow the document that you provided in order to load a sample ontology, but because Proton and Annie are still running, the results are not clear. How can I turn off Proton and Annie?
Thank you,
Bonnie
From: VERMILLION, Bonnie
Sent: Tuesday, November 09, 2010 11:08 AM
To: 'Philip Alexiev @ Ontotext'
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: RE: [Kim-discussion] question about gate within KIM
Thanks Phillip. Great explanation!
For the ontology I am trying to load we have both classes and instances. Though we do have one ontology that only has classes.
I'll let you know the result after following your response.
Thank you,
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 09, 2010 10:54 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
The act of extending the ontology alone, does not add value to your IE. It will only store those entities in the semantic repository. In order for those entities to be included in the LKB gazetteer dictionary, they have to meet 3 conditions:
* are of a type that is a subclass of protons:Entity
* have at least one alias
* are marked as Trusted
That way the gazetteer will create Lookup annotations when he meets one of those in the text. Later you can transform them using Jape rules.
Does your owl file contain instances or only classes? In the general case you need instances to be recognized in the texts.
It is a good idea to map some of your classes to PROTON only if you find they are expressing the same concept. Otherwise just subclass your top classes to protons:Entity .
'Include the new files in the import section of owlim'
OWLIM's configuration resides in KIM/config/owlim.ttl . There is a owlim:imports section there. Add your custom files there. The path is relative to KIM/context/default/ . If you have already ran KIM, some cache will exist. In this case you will have to clear the cache in order for the changes to take effect. To do this, perform the following steps:
* stop KIM
* delete KIM/context/default/populated/ (NOTE:this will clear all the cache, including the documents in the document repository).
* start KIM
All the best,
Philip
On Nov 9, 2010, at 5:22 PM, VERMILLION, Bonnie wrote:
Thanks Phillip.
We have several ontologies that we created in Prot?g?. So we have the .owl files.
I'm following the documentation that you pointed me to -
* Create a sub-folder in the KIM context folder. It will be used as storage for all the RDF data for this task.
For example, create $KIM_HOME/context/default/kb/dbpedia/.
We recommend this location but you can put your RDF data anywhere in the KIM context folder.
* Put dbpedia_3.5.1.owl , containing the DBpedia taxonomy, in $KIM_HOME/context/default/kb/dbpedia/
* Put dbpedia_instances.nt , containing the actual objects description, in $KIM_HOME/context/default/kb/dbpedia/
* Include the new files in the import section of owlim ( $KIM_HOME/config/owlim.ttl ):
I created a subfolder und the kb directory and copied an .owl file created in Prot?g?.
I'm not sure how to create the .nt file, and the ontology that I'm using does not have Person, Organization or Place domains - so there is nothing to align with Proton.
I'm also not sure what is meant by - 'Include the new files in the import section of owlim'
Thanks for your expertise!
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 09, 2010 9:37 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
Gate embedded in KIM functions the same way. A difference is that not all the plugins available in GATE developer are directly available in KIM too. You can check the KIM/plugins/ folder. Generally if you import the Ontology plugin you should be able to use the Ontology language resources as you intend to.
I am sure that if you provide some more information about what you want to achieve, we will be able to provide more meaningful support. A simple usecase will help a lot.
All the best,
Philip
On Nov 9, 2010, at 4:03 PM, VERMILLION, Bonnie wrote:
Thanks, Borislov. I will try following the document Phillip mentioned. I guess I was thinking that Gate within KIM would function as it does independently - that is to use Prot?g? to create an ontology and then load the ontology by indicating a CREOLE 'ontology' plug-in and then a Sesame or OWLIM ontology language resource can be used to load the ontology created from Prot?g?. Sorry for the poor explanation.
I'll report back!
Thank you,
Bonnie
From: borislav popov [mailto:borislav.popov at ontotext.com]
Sent: Tuesday, November 09, 2010 8:40 AM
To: VERMILLION, Bonnie
Cc: Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); philip
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
i will keep philip posted as well on this one.
the page philip sent explains how to do this loading & mapping of the new ontology to the default one in KIM (PROTON). This is not exactly a user friendly task - as it is more for administrators of the kim server.
Generally this is a task you do initially and the demonstration UIs are not targeted to these people, but the end users.
In GATE you can play with loading the ontology if this is helpful to get a better feeling of the data.
Regarding: the last sentence of loading the ontology and not the rdf triples - i did not really get it - as ontologies are usually expressed in triples. if you want to avoid loading the instance data - it is handy if they come in separate files.
philip please add if i missed something
b
On Nov 9, 2010, at 3:03 PM, VERMILLION, Bonnie wrote:
Borislav,
Thank you for your response!
After looking at the documentation that Philip referred to, I agree that it is not necessary what I am looking for.
What I'm trying to do is to import (if this is possible) an ontology similar to loading an ontology from Prot?g? in to Gate based on the fact that I have select an ontology processing resource that was loaded as a CREOLE plug-in. However, in KIM, there is no such plug-in within the inherent GATE tool. Can I add this CREOLE plug-in to Gate within KIM? Or is there another way to accomplish loading the ontology without having to load the RDF triples as well.
Thank you in advance for your assistance!
Bonnie Vermillion
Yvonne Vermillion
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
From: borislav popov [mailto:borislav.popov at ontotext.com]
Sent: Tuesday, November 09, 2010 4:02 AM
To: VERMILLION, Bonnie
Cc: kim-discussion; philip
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
actually your request and philip's answer point in different directions. The ontology plugin in GATE provides partial coverage of what is available in Sesame 2 and/or OWLIM 3 as semantic repository APIs.
It is not used in KIM - there you have the direct integration with Sesame-compatible repository, incl. our OWLIM. For client application of KIM - there is also a higher level API accessible on the same level as our search or doc-related functionality.
In a KIM context the extension of the default ontology is explained in the documentation piece provided by philip.
There are certain things to take into account to ensure the mapping to the default ontology is right and the modeling paradigms of your ontology are compatible with the extraction pipeline - to bootstrap automatic recognition of new entities, given the ontology comes with entity descriptions / knowledge base as well.
you can tell us more about your experiments - so that we can suggest the route more accurately. If you consider it confidential - you may also avoid the discussion list, which is public and write directly to us as we have NDA already.
all the best
borislav
On Nov 9, 2010, at 10:27 AM, Philip Alexiev @ Ontotext wrote:
Hi Yvonne,
In order to use a new ontology it is good to map it to your top ontology classes.
http://ontotext.com/kim/doc/KimDocs-3.0-EN/ExtendInformationExtraction.html
This is a good guide showing how you can do this.
tht
Philip Alexiev
Software Engineer, KIM team
On Nov 8, 2010, at 10:28 PM, VERMILLION, Bonnie wrote:
Is there a way to add a ontology CREOLE plug-in within KIM so that an external ontology can be loaded?
Thank you,
Bonnie Vermillion
Yvonne Vermillion
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
_______________________________________________
Kim-discussion mailing list
Kim-discussion at ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion
_______________________________________________
Kim-discussion mailing list
Kim-discussion at ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: KIM_Entity_issue.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 623115 bytes
Desc: KIM_Entity_issue.docx
URL:
From YVERMILLION at lmi.org Tue Nov 16 14:19:53 2010
From: YVERMILLION at lmi.org (VERMILLION, Bonnie)
Date: Tue, 16 Nov 2010 14:19:53 -0500
Subject: [Kim-discussion] question about gate within KIM
In-Reply-To: <26B7D3B5-BDD7-443D-86A9-37BF7657C856@ontotext.com>
References:
<83E46363-DAA5-4E7E-96FD-32B8B633E102@ontotext.com>
<25B94943-AFED-46DC-A827-0452C3506530@ontotext.com>
<1EE46E0D-41AB-42FE-B077-654E683885E9@ontotext.com>
<787EE2AB-D3BF-4AED-B748-31D39E0492DF@ontotext.com>
<26B7D3B5-BDD7-443D-86A9-37BF7657C856@ontotext.com>
Message-ID:
Sure. Also Philip - I think there is an issue with what I added to the visibility file - attaching the issue and the ontology.
Thank you,
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 2:13 PM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); KIM Server mailing-list
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
I think I will save you a lot of time if you send me the ontology so that I can play with it. Is it possible?
It seems the query does not return any results. I can not say what should be the exact query without knowledge of the ontology.
All the best
Philip
On Nov 16, 2010, at 8:59 PM, VERMILLION, Bonnie wrote:
I got it working, but now no Entities display.
See attached
Thanks, Phillip - getting there with your help!
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 1:46 PM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); KIM Server mailing-list
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie
I guess my editor has put some strange character there. Just copy-paste it in a simple text editor (notepad) and save it. This should save only the readable characters.
hth
Philip
On Nov 16, 2010, at 6:55 PM, VERMILLION, Bonnie wrote:
Hi Phillip,
I'm getting an error from the query file in red below:
Can you let me know what to do to correct it?
Thank you,
Bonnie
1:52:51 [INFO] 2371[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Labels are loaded from aliases.
11:52:51 [DEBUG] 2480[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - classes cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel
11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - direct subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[]
11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - all subs cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel]
11:52:51 [DEBUG] 2776[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - supers cache contains 321 items. here is the first: http://proton.semanticweb.org/2006/05/protonu#AirplaneModel=[http://proton.semanticweb.org/2006/05/protonu#AirplaneModel, http://www.w3.org/2000/01/rdf-schema#Resource, http://proton.semanticweb.org/2006/05/protont#ProductModel, http://proton.semanticweb.org/2006/05/protont#Object, http://proton.semanticweb.org/2006/05/protons#Entity]
11:52:51 [INFO] 2792[ComponentStarter-Thread-2](KIM_SERVICE) - Waking Up GATE...
11:52:51 [INFO] 3276[ComponentStarter-Thread-2](KIM_SERVICE) - GATE is AWAKE.
11:52:51 [INFO] 3291[ComponentStarter-Thread-2](KIM_SERVICE) - Loading C:\KIM\kim-platform-3.0-RC4\context\default\resources\IE.gapp
11:52:55 [INFO] 7176[ComponentStarter-Thread-2](gate.LargeKBGazetteer) - Replaced $relpath$ in gazetteer parameters with C:\KIM\kim-platform-3.0-RC4\context\default\resources/
11:52:55 [INFO] 7207[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - Loading of trusted entities from Sesame
11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select lbl, i, dc
from
{i} {lbl},
{i} serql:directType {dc},
{i} {}
','null', listener)
11:52:55 [DEBUG] 7207[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
11:52:55 [DEBUG] 7238[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - org.openrdf.query.MalformedQueryException: Lexical error at line 1, column 8. Encountered: "\u00a0" (160), after : ""
11:52:55 [INFO] 7238[ComponentStarter-Thread-2](model.KimDictionaryFeederImpl) - The loading of the Static Dictionary finished
11:52:58 [INFO] 10046[ComponentStarter-Thread-2](KIM_SERVICE) - Get EntityAPI.
11:52:58 [DEBUG] 10046[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - Executing evaluateQuery('select COUNTRY,ADJ from {COUNTRY} {ADJ}','SeRQL', listener)
11:52:58 [INFO] 10077[ComponentStarter-Thread-2](ig.RelationExtractors) - Total external relations successfuly loaded : 0 out of 0 supplied.
11:52:58 [INFO] 10108[ComponentStarter-Thread-2](KIM_SERVICE) - SemanticAnnotationAPI loaded on Tue Nov 16 11:52:58 EST 2010
11:52:58 [INFO] 10108[ComponentStarter-Thread-2](NERC) - GATE pipelines=1
11:52:58 [INFO] 10124[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
11:52:58 [INFO] 10140[ComponentStarter-Thread-2](SEMANTIC_REPOSITORY) - KIMDocument Feature Schema loaded from Configuration file.
11:52:59 [INFO] 10342[ComponentStarter-Thread-2](KIM_SERVICE) - CORE Index Addon: class com.ontotext.kim.coredb.CachingCoreWrapper
11:52:59 [INFO] 10358[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.coredb.management.RdfCoreAdminExt
11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.FactoryImpl
11:52:59 [INFO] 10374[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.util.console.ConsoleTasksExtension
11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.gate.TeamwareAdapter
11:52:59 [INFO] 10389[ComponentStarter-Thread-2](KIM_SERVICE) - Loaded extension: com.ontotext.kim.rss.KimRssDatabase
11:52:59 [INFO] 10405[ComponentStarter-Thread-2](KIM_SERVICE) - KIM Server startup ended!
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 10:29 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
>From the output of you have sent me, I conclude that you have not cleared the cache after changing the configuration. The cache lives in KIM/context/default/populated. Remove the entire directory clear it.
Now if you want the gazetteer to entirely use your ontology instead of KIM's , you should have some things in mind.
The gazetteer resource has a setup option FeedSetupPath, which is a path where it searches for a file named query.txt . In your case the path is KIM/config/ . This file contains a query in serql or sparql and is responsible for filling the dictionary of the gazetteer. The query should return exactly 3 characteristics of each entity you would like to put in the dictionary:
* the label of the entity
* the instance URI of the entity
* the direct class this entity is instance of
If the gazetteer does not find such a file, it uses this query:
select LA, I, DC from
(
{TI} rdf:type {},
{I} {TI},
{I} rdf:type {},
{I} serql:directType {DC},
{I} {} rdfs:label {LA};
[ {IG}]
) UNION (
{I} {},
{I} serql:directType {DC},
{I} {LA}
)
WHERE
IG = NULL
AND isLiteral(LA)
AND DC !=
AND NOT LA = ""
If you set the semantic repository logger level to DEBUG you could see this in the log. Just change in KIM/config/log.prop :
log4j.category.SEMANTIC_REPOSITORY = , aSEMANTIC_REPOSITORY
to
log4j.category.SEMANTIC_REPOSITORY = DEBUG, aSEMANTIC_REPOSITORY
You could create a file KIM/config/query.txt and provide a simpler query like:
select lbl, i, dc
from
{i} {lbl},
{i} serql:directType {dc},
{i} {}
Now the instances of Actor and its subclasses will be recognized in the text.
Note: One thing that puzzled me when I looked at your screenshots, is that Role was a subclass of Actor. The relation here should be Actor hasRole Role I think.
To be able to see your classes in KIM's web interface, you should actually mark them as visible. This happens by providing the triples like this to your RDF:
"" .
you can see KIM's visibility configuration in KIM/context/default/kb/visibility.nt .
Please notify me of your progress, so that I can help further
Philip
On Nov 16, 2010, at 3:07 PM, VERMILLION, Bonnie wrote:
Thanks Phillip.
At some point we may have lists such as specific Codes that have a list of values that would be suitable for a gazetteer list.
For now what we want to do is turn off Proton (which I think I have done since there are references to Person, Organization or Location in the ontology shown in KIM. So, I'm not sure where the ontology that is now listed in KIM is coming from . But we need to turn it off so that when we load a sample ontology, it just shows the ontology we are loading.
Please see the attached screen shots attached.
Thank you,
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 16, 2010 3:26 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
I guess you would want to run only a gazetteer with your ontology, to observe which entities are recognized? Will this help you?
Philip
On Nov 16, 2010, at 5:05 AM, VERMILLION, Bonnie wrote:
Phillip,
I was able to follow the document that you provided in order to load a sample ontology, but because Proton and Annie are still running, the results are not clear. How can I turn off Proton and Annie?
Thank you,
Bonnie
From: VERMILLION, Bonnie
Sent: Tuesday, November 09, 2010 11:08 AM
To: 'Philip Alexiev @ Ontotext'
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: RE: [Kim-discussion] question about gate within KIM
Thanks Phillip. Great explanation!
For the ontology I am trying to load we have both classes and instances. Though we do have one ontology that only has classes.
I'll let you know the result after following your response.
Thank you,
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 09, 2010 10:54 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
The act of extending the ontology alone, does not add value to your IE. It will only store those entities in the semantic repository. In order for those entities to be included in the LKB gazetteer dictionary, they have to meet 3 conditions:
* are of a type that is a subclass of protons:Entity
* have at least one alias
* are marked as Trusted
That way the gazetteer will create Lookup annotations when he meets one of those in the text. Later you can transform them using Jape rules.
Does your owl file contain instances or only classes? In the general case you need instances to be recognized in the texts.
It is a good idea to map some of your classes to PROTON only if you find they are expressing the same concept. Otherwise just subclass your top classes to protons:Entity .
'Include the new files in the import section of owlim'
OWLIM's configuration resides in KIM/config/owlim.ttl . There is a owlim:imports section there. Add your custom files there. The path is relative to KIM/context/default/ . If you have already ran KIM, some cache will exist. In this case you will have to clear the cache in order for the changes to take effect. To do this, perform the following steps:
* stop KIM
* delete KIM/context/default/populated/ (NOTE:this will clear all the cache, including the documents in the document repository).
* start KIM
All the best,
Philip
On Nov 9, 2010, at 5:22 PM, VERMILLION, Bonnie wrote:
Thanks Phillip.
We have several ontologies that we created in Prot?g?. So we have the .owl files.
I'm following the documentation that you pointed me to -
* Create a sub-folder in the KIM context folder. It will be used as storage for all the RDF data for this task.
For example, create $KIM_HOME/context/default/kb/dbpedia/.
We recommend this location but you can put your RDF data anywhere in the KIM context folder.
* Put dbpedia_3.5.1.owl , containing the DBpedia taxonomy, in $KIM_HOME/context/default/kb/dbpedia/
* Put dbpedia_instances.nt , containing the actual objects description, in $KIM_HOME/context/default/kb/dbpedia/
* Include the new files in the import section of owlim ( $KIM_HOME/config/owlim.ttl ):
I created a subfolder und the kb directory and copied an .owl file created in Prot?g?.
I'm not sure how to create the .nt file, and the ontology that I'm using does not have Person, Organization or Place domains - so there is nothing to align with Proton.
I'm also not sure what is meant by - 'Include the new files in the import section of owlim'
Thanks for your expertise!
Bonnie
From: Philip Alexiev @ Ontotext [mailto:philip.alexiev at ontotext.com]
Sent: Tuesday, November 09, 2010 9:37 AM
To: VERMILLION, Bonnie
Cc: borislav popov; Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor)
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
Gate embedded in KIM functions the same way. A difference is that not all the plugins available in GATE developer are directly available in KIM too. You can check the KIM/plugins/ folder. Generally if you import the Ontology plugin you should be able to use the Ontology language resources as you intend to.
I am sure that if you provide some more information about what you want to achieve, we will be able to provide more meaningful support. A simple usecase will help a lot.
All the best,
Philip
On Nov 9, 2010, at 4:03 PM, VERMILLION, Bonnie wrote:
Thanks, Borislov. I will try following the document Phillip mentioned. I guess I was thinking that Gate within KIM would function as it does independently - that is to use Prot?g? to create an ontology and then load the ontology by indicating a CREOLE 'ontology' plug-in and then a Sesame or OWLIM ontology language resource can be used to load the ontology created from Prot?g?. Sorry for the poor explanation.
I'll report back!
Thank you,
Bonnie
From: borislav popov [mailto:borislav.popov at ontotext.com]
Sent: Tuesday, November 09, 2010 8:40 AM
To: VERMILLION, Bonnie
Cc: Matthew Petrillo; WILSON, Greg; ENUGU, Reddy (Independent Contractor); philip
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
i will keep philip posted as well on this one.
the page philip sent explains how to do this loading & mapping of the new ontology to the default one in KIM (PROTON). This is not exactly a user friendly task - as it is more for administrators of the kim server.
Generally this is a task you do initially and the demonstration UIs are not targeted to these people, but the end users.
In GATE you can play with loading the ontology if this is helpful to get a better feeling of the data.
Regarding: the last sentence of loading the ontology and not the rdf triples - i did not really get it - as ontologies are usually expressed in triples. if you want to avoid loading the instance data - it is handy if they come in separate files.
philip please add if i missed something
b
On Nov 9, 2010, at 3:03 PM, VERMILLION, Bonnie wrote:
Borislav,
Thank you for your response!
After looking at the documentation that Philip referred to, I agree that it is not necessary what I am looking for.
What I'm trying to do is to import (if this is possible) an ontology similar to loading an ontology from Prot?g? in to Gate based on the fact that I have select an ontology processing resource that was loaded as a CREOLE plug-in. However, in KIM, there is no such plug-in within the inherent GATE tool. Can I add this CREOLE plug-in to Gate within KIM? Or is there another way to accomplish loading the ontology without having to load the RDF triples as well.
Thank you in advance for your assistance!
Bonnie Vermillion
Yvonne Vermillion
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
From: borislav popov [mailto:borislav.popov at ontotext.com]
Sent: Tuesday, November 09, 2010 4:02 AM
To: VERMILLION, Bonnie
Cc: kim-discussion; philip
Subject: Re: [Kim-discussion] question about gate within KIM
Hi Bonnie,
actually your request and philip's answer point in different directions. The ontology plugin in GATE provides partial coverage of what is available in Sesame 2 and/or OWLIM 3 as semantic repository APIs.
It is not used in KIM - there you have the direct integration with Sesame-compatible repository, incl. our OWLIM. For client application of KIM - there is also a higher level API accessible on the same level as our search or doc-related functionality.
In a KIM context the extension of the default ontology is explained in the documentation piece provided by philip.
There are certain things to take into account to ensure the mapping to the default ontology is right and the modeling paradigms of your ontology are compatible with the extraction pipeline - to bootstrap automatic recognition of new entities, given the ontology comes with entity descriptions / knowledge base as well.
you can tell us more about your experiments - so that we can suggest the route more accurately. If you consider it confidential - you may also avoid the discussion list, which is public and write directly to us as we have NDA already.
all the best
borislav
On Nov 9, 2010, at 10:27 AM, Philip Alexiev @ Ontotext wrote:
Hi Yvonne,
In order to use a new ontology it is good to map it to your top ontology classes.
http://ontotext.com/kim/doc/KimDocs-3.0-EN/ExtendInformationExtraction.html
This is a good guide showing how you can do this.
tht
Philip Alexiev
Software Engineer, KIM team
On Nov 8, 2010, at 10:28 PM, VERMILLION, Bonnie wrote:
Is there a way to add a ontology CREOLE plug-in within KIM so that an external ontology can be loaded?
Thank you,
Bonnie Vermillion
Yvonne Vermillion
2000 Corporate Ridge
McLean, VA 22102-7805
(571)633-7830 P
Complex Problems. Practical Solutions.
www.lmi.org
_______________________________________________
Kim-discussion mailing list
Kim-discussion at ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion
_______________________________________________
Kim-discussion mailing list
Kim-discussion at ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: visibility file.docx
Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document
Size: 251581 bytes
Desc: visibility file.docx
URL:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dispreg.owl
Type: application/octet-stream
Size: 9374 bytes
Desc: dispreg.owl
URL:
From YVERMILLION at lmi.org Tue Nov 16 16:02:26 2010
From: YVERMILLION at lmi.org (VERMILLION, Bonnie)
Date: Tue, 16 Nov 2010 16:02:26 -0500
Subject: [Kim-discussion] question about gate within KIM
In-Reply-To: <26B7D3B5-BDD7-443D-86A9-37BF7657C856@ontotext.com>
References: