Re: [Kim-discussion] help about kim

2013-03-11 Thread Philip Alexiev
Hello Lydia,

The simple answer to your question is - you can't. 

For the complete explanation, I will reveal a little more about KIM's internals 
and how exactly the data is stored and where.

We can look at the process of annotating a document in KIM as a two step 
process:
1. Annotate the document (Information Extraction phase)
2. Store the annotated document in the persistent store

The information extraction phase is performed by the GATE framework 
(http://gate.ac.uk/) . It analyzes the text of the documents and recognizes 
entities, that the system already knows about. Also can recognize new entities 
based on rules or machine learning algorithms.  The output of this process is a 
standard GATE document, with annotations over the content. The GATE 
configuration KIM uses is customized, so that at the end, semantic annotations 
are created. This means that the annotations represent an entity from the 
semantic database and has features to relate it to this entity (uri and class 
features).

The second stage is storing the document in a persistent store. KIM uses a 
combination of a semantic store and a content store to most efficiently achieve 
this goal.
The document object (without the actual content) is stored in the semantic 
store (Owlim). Further, all the features of this document and all the relations 
to entities found in the document are also stored. This allows us to see which 
documents mention which entities. Here is a sample document and the information 
in the semantic store about this document:


http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://www.w3.org/1999/02/22-rdf-syntax-ns#type 
http://proton.semanticweb.org/2006/05/protont#Document .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://www.w3.org/1999/02/22-rdf-syntax-ns#type 
http://proton.semanticweb.org/2006/05/protonu#NewsArticle .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://www.w3.org/2000/01/rdf-schema#label Bumper North Sea oil profits pose 
taxing questions for the Chancellor .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protont#hasDate 
99730440^^http://www.w3.org/2001/XMLSchema#long .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protont#title Bumper North Sea oil 
profits pose taxing questions for the Chancellor .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protont#derivedFromSource news agency 
.
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://ordi.ontotext.com/sar#hasFeature 
http://www.ontotext.com/kim/2006/05/wkb#Doc1_features_0 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://ordi.ontotext.com/sar#hasFeature 
http://www.ontotext.com/kim/2006/05/wkb#Doc1_features_2 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://ordi.ontotext.com/sar#hasFeature 
http://www.ontotext.com/kim/2006/05/wkb#Doc1_features_3 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protonkm#mentions 
http://www.ontotext.com/kim/2006/05/wkb#Ministry_T.9 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protonkm#mentions 
http://www.ontotext.com/kim/2006/05/wkb#Government_T.52 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protonkm#mentions 
http://www.ontotext.com/kim/2006/05/wkb#CalendarMonth_T.3 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protonkm#mentions 
http://www.ontotext.com/kim/2006/05/wkb#Newspaper_T.2 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protonkm#mentions 
http://www.ontotext.com/kim/2006/05/wkb#Newspaper_T.20 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protonkm#mentions 
http://www.ontotext.com/kim/2006/05/wkb#Number_T.11 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protonkm#mentions 
http://www.ontotext.com/kim/2006/05/wkb#InternationalOrganization_T.10 .
http://www.ontotext.com/kim/2006/05/wkb#Doc1 
http://proton.semanticweb.org/2006/05/protonkm#mentions 
http://www.ontotext.com/kim/2006/05/wkb#Person_T.1 .


The actual content of the document and also the positions of the annotations 
are not stored in the semantic store. When there is a need to visualize the 
document content and annotations, the content store is asked. In our case this 
is Lucene. 

So no RDF for the concrete annotations is kept in the RDF store. Just document 
level relations (document mentions entity) .

If you provide more information about your use case and your goals, we can be 
of more help.

All the best,
Philip Alexiev
Software Engineer, KIM team

On Mar 8, 2013, at 2:30 PM, Lydia Khelifa khelifaly...@gmail.com wrote:

 hello,
 I'm PHD student at cnam paris and i'm using Kim to annotate semantically 
 coropora of documents.
 I'm interresting in the way to export the semantic annotation in RDF but i 
 don't find the way to 

[Kim-discussion] rss feed manager error

2013-03-11 Thread Michael Patek
Hello,

I've just completed a fresh installation of the kim platform on a linux
machine.  I am running the webapp in Tomcat.  When I go to the RSS Feed
manager section of the webapp (management/FeedManager.jsp?m=feeds), I see
the errors pasted below.  Could someone help me understand how to fix this
problem (i.e what/where is the RSS feeder?  how do i start it?  is it
possible to start the feeder on the command line?).

Thank you,
-Mike Patek


Error: Your RSS feeder is not started or it is not correctly configured.

To start the RSS feeder:
On default host (localhost) and port (1099): start the RSS feeder and it
will connect to KIM automatically.
On another host and port: adjust the host and/or port where KIM is running
in rss-feeder.home.dir/config/kim_connection.properties and then start
the RSS feeder.

For details on how to configure the RSS feeder and any additional
information, please check the documentation -
rss-feeder.home.dir/docs/NewsCollectorFeeds.doc
___
Kim-discussion mailing list
Kim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/kim-discussion


Re: [Kim-discussion] rss feed manager error

2013-03-11 Thread Stefan

Hi Michael,

The RSS Feeder is a separate standalone application, which you can get 
from here ftp://ftp.ontotext.com/pub/kim/rss-feeder-3.7-bin.zip. There 
is a pdf user guide in the docs folder, check it out.


As to the error message you get, it is not very meaningful indeed. We 
will fix it in the next release, thanks for pointing our attention to it.


Cheers,
Stefan

--
Stefan Enevstefan.e...@ontotext.com
Senior Software Engineer
Ontotext AD


On 3/11/2013 8:34 PM, Michael Patek wrote:


Hello,

I've just completed a fresh installation of the kim platform on a 
linux machine.  I am running the webapp in Tomcat.  When I go to the 
RSS Feed manager section of the webapp 
(management/FeedManager.jsp?m=feeds), I see the errors pasted below. 
 Could someone help me understand how to fix this problem (i.e 
what/where is the RSS feeder?  how do i start it?  is it possible to 
start the feeder on the command line?).


Thank you,
-Mike Patek


Error: Your RSS feeder is not started or it is not correctly configured.

To start the RSS feeder:
On default host (localhost) and port (1099): start the RSS feeder and 
it will connect to KIM automatically.
On another host and port: adjust the host and/or port where KIM is 
running in rss-feeder.home.dir/config/kim_connection.properties and 
then start the RSS feeder.


For details on how to configure the RSS feeder and any additional 
information, please check the documentation - 
rss-feeder.home.dir/docs/NewsCollectorFeeds.doc



___
Kim-discussion mailing list
Kim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/kim-discussion
___
Kim-discussion mailing list
Kim-discussion@ontotext.com
http://ontomail.semdata.org/cgi-bin/mailman/listinfo/kim-discussion