Hello Stephany,

This may be a problem with the query. Can you send the what you have in:
E:\kim_semantic\kim\context\default\resources\gazetteer\person\query.txt
This is the the path you set in FeedSetupPath. The gazetteer is looking for  
query.txt there and using the content to query the semantic repository and fill 
its dictionaries.

About the file  KIM/config/query.txt :  If you open the setup of the gazetteer 
already existing in the default KIM installation, you will see that its 
FeedSetupPath is set to   KIM/config.  So the default gazetteer is looking for  
query.txt there.  If you change the query in that file, you will change the way 
the default gazetteer fills its dictionaries. 
This file is usually missing, and KIM uses a preset query.

FYI:  we are currently working on an improved version of this guide, which will 
be available soon on the site.

Hope this helps,
Philip Alexiev
Software Engineer, KIM Platform

On 21 Mar 2011, at 4:29 AM, Stefi Ghiran wrote:

> Hi,
> I'm new to KIM.
> I tried the steps from 
> http://ontotext.com/kim/doc/KimDocs-3.0-EN/CaseStudy-IntegrationDbPedia.html.
> At step "3.6 Setting up the gazetteers" I have some problems, and I've tried 
> to solve them but it seems I'm missing something.
> The problem is I don't get any Lookup-up annotations in KIM GATE-UI with LKB 
> Gazetteer on some text, though I do get them using
> KIM Web UI (with default IE.gapp).
> I think it's a problem regarding the params of the PR, but still I don't get 
> it. I'm in a bottleneck right now.
> 
> Also, I found a thread in which a dev. said that for filling the dictionary 
> one should put the "query (sparql or serql) in KIM/config/query.txt ."
> Wasn't that supposed to be put in (any) folder and just pass the folder path 
> in FeedSetupPath?
> 
> Atached:  
> lkb.jpg       (screen shot of the params.)
> log.txt        (output of Gate)
> dbpedia_instances.nt (the only .nt file, where I merged the dbpedia_*.nt 
> files from the case study)
> 
> I would be grateful if you could help me. Maybe a tip or a ref. to a thread, 
> I'm sure there something small missing, just don't know what..
> 
> Thanks, Stephany.
> 
> <dbpedia_instances.nt><lkb.JPG><log.txt>_______________________________________________
> Kim-discussion mailing list
> Kim-discussion@ontotext.com
> http://ontotext.com/mailman/listinfo/kim-discussion

_______________________________________________
Kim-discussion mailing list
Kim-discussion@ontotext.com
http://ontotext.com/mailman/listinfo/kim-discussion

Reply via email to