From reneta.popova at ontotext.com Mon Dec 12 07:43:04 2011 From: reneta.popova at ontotext.com (Reneta Popova) Date: Mon, 12 Dec 2011 14:43:04 +0200 Subject: [Kim-discussion] Early bird registration is now open for Semantic Technologies with OWLIM, 25-27 January, London Message-ID: Dear Ontotext friends, Early bird registration for the next training course Semantic Technologies with OWLIM is now open! It will be held 25-27th January 2012 in Central London. We?re excited to bring you a full day of introduction in Semantic Technologies, followed by two full days of tech specifics about OWLIM. Early bird registration is offered up to the 26th of December at a 15% discount off the regular price (25% for students and partners). Normal registration finishes on the 15th of January - late registrations after this date incur a 30% surcharge (only 20% surcharge for students and partners). The maximum number of attendants is 12, so registrations will be given out on first-come-first-served basis. The course is the fourth of its kind and is especially designed for those new to semantic technology, as well as presenting an opportunity for those familiar with OWLIM to expand their knowledge. Corporate users of OWLIM will be able to use the event to train their employees, including IT managers, developers and operational staff. Semantic Technologies with OWLIM focuses on: the basic principles of semantic technology, W3C standards (RDF, OWL, SPARQL), knowledge representation, reasoning and linked data building applications based on OWLIM, including advanced features such as owl:sameAs optimisation, geo-spatial and full-text search indexing supporting applications based on OWLIM, including cluster configuration and maintenance. Participants will be able to select only those days suitable for their level of experience. The trainers have many years of experience in teaching semantic technology and involvement in landmark deployments of RDF database engines, like the one for BBC's World Cup website, and in outstanding linked data projects like LinkedBrainz. Full details are available from here. The Ontotext team -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: top.jpg Type: image/jpg Size: 25920 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bottom.jpg Type: image/jpg Size: 77370 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bg_pattern.jpg Type: image/jpg Size: 411 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: bg_letter.jpg Type: image/jpg Size: 719 bytes Desc: not available URL: From borislav.popov at ontotext.com Tue Dec 20 07:35:37 2011 From: borislav.popov at ontotext.com (borislav popov) Date: Tue, 20 Dec 2011 14:35:37 +0200 Subject: [Kim-discussion] Issues with running sample pipeline.gapp from behind firewall In-Reply-To: References: Message-ID: <6914E940-9B0E-4505-A4F5-B0357E2F7A5E@ontotext.com> Thanks Genesis, i've posted the mail to the kim discussion. The registration takes some time to be processed - that's the reason thank you borislav popov head of semantic annotation and search On Dec 20, 2011, at 2:14 PM, Onto Genesis wrote: > Hello, > > I just registered myself. I submitted a question to the discussion forum. However, I am getting an error message as follows. Please advice. > > Thanks > --Genesis > > On Tue, Dec 20, 2011 at 7:11 AM, wrote: > You are not allowed to post to this mailing list, and your message has > been automatically rejected. If you think that your messages are > being rejected in error, contact the mailing list owner at > kim-discussion-owner at ontotext.com. > > > > ---------- Forwarded message ---------- > From: Onto Genesis > To: kim-discussion at ontotext.com > Cc: > Date: Tue, 20 Dec 2011 07:11:36 -0500 > Subject: Issues with running sample pipeline.gapp from behind firewall > Hello, > > I a looking for help regarding an issue I have with running GATE examples within a corporate environment where one has to provide a proxy to make an http request that is outside the firewall. > > I am trying to run the sample sample_linked_data_mashup.gapp or pipeline.gapp. > > The issue seems to be caused by > Caused by: java.net.UnknownHostException: factforge.net > I have tried to specify proxyHost and proxyport to JVM as a parameter; also as part of the ANT script but with no luck. > > Here is a stack trace of the error file. > > GATE 6.2-SNAPSHOT build 4141 started at Mon Dec 19 18:55:24 EST 2011 > and using Java 1.6.0_27 Sun Microsystems Inc. on Windows XP x86 5.1. > CREOLE plugin loaded: file:/C:/apps_custom/gate-6.2-SNAPSHOT-build4141-ALL/plugins/ANNIE/ > Logger com.ontotext.kim level set to INFO, overriding the default effective level of DEBUG. Set the level of com.ontotext.kim explictly if required. > Logger org.openrdf.sesame level set to INFO, overriding the default effective level of DEBUG. Set the level of org.openrdf.sesame explictly if required. > Logger httpclient level set to INFO, overriding the default effective level of DEBUG. Set the level of httpclient explictly if required. > Logger org.apache.commons.httpclient level set to INFO, overriding the default effective level of DEBUG. Set the level of org.apache.commons.httpclient explictly if required. > Query loaded from C:\apps_custom\gate-6.2-SNAPSHOT-build4141-ALL\plugins\Gazetteer_LKB\samples\dictionary_from_remote_repository\query.txt > Looking for changes in configuration ... > Aliases in IGNORE list:0 > Loading of trusted entities from Sesame > Initialized Sesame repository: org.openrdf.repository.http.HTTPRepository at a42c31 > Loading failed. > com.ontotext.kim.client.query.KIMQueryException: Error in repository connection. > at org.openrdf.repository.http.PrivateRepositoryFeed.feedTo(PrivateRepositoryFeed.java:106) > at com.ontotext.kim.model.AliasCacheImpl.loadTrustedMaps(AliasCacheImpl.java:364) > at com.ontotext.kim.model.AliasCacheImpl.initCache(AliasCacheImpl.java:278) > at com.ontotext.kim.model.AliasCacheImpl.createInstance(AliasCacheImpl.java:151) > at com.ontotext.kim.model.AliasCacheImpl.getInstance(AliasCacheImpl.java:107) > at com.ontotext.kim.gate.KimGazetteer.init(KimGazetteer.java:87) > at gate.Factory.createResource(Factory.java:372) > at gate.util.persistence.ResourcePersistence.createObject(ResourcePersistence.java:83) > at gate.util.persistence.PRPersistence.createObject(PRPersistence.java:76) > at gate.util.persistence.LanguageAnalyserPersistence.createObject(LanguageAnalyserPersistence.java:51) > at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) > at gate.util.persistence.CollectionPersistence.createObject(CollectionPersistence.java:74) > at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) > at gate.util.persistence.ControllerPersistence.createObject(ControllerPersistence.java:58) > at gate.util.persistence.SerialAnalyserControllerPersistence.createObject(SerialAnalyserControllerPersistence.java:53) > at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) > at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:857) > at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:771) > at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3550) > at java.lang.Thread.run(Thread.java:662) > Caused by: com.ontotext.kim.client.query.KIMQueryException: factforge.net > while running this query: > PREFIX rdfs: > > SELECT ?Name ?Person ?Cls > FROM > WHERE { > ?Person a ?Cls ; rdfs:label ?Name . > FILTER (lang(?Name) = "en") > FILTER (?Cls = ) > } > at com.ontotext.kim.util.datastore.RepositoryFeed.feedTo(RepositoryFeed.java:60) > at org.openrdf.repository.http.PrivateRepositoryFeed.feedTo(PrivateRepositoryFeed.java:98) > ... 19 more > Caused by: org.openrdf.repository.http.HTTPQueryEvaluationException: factforge.net > at org.openrdf.repository.http.HTTPTupleQuery.evaluate(HTTPTupleQuery.java:64) > at com.ontotext.kim.util.datastore.RepositoryFeed.feedTo(RepositoryFeed.java:58) > ... 20 more > Caused by: java.net.UnknownHostException: factforge.net > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > at java.net.Socket.connect(Socket.java:529) > at java.net.Socket.connect(Socket.java:478) > at java.net.Socket.(Socket.java:375) > at java.net.Socket.(Socket.java:249) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:1020) > at org.openrdf.http.client.HTTPClient.sendTupleQuery(HTTPClient.java:438) > at org.openrdf.repository.http.HTTPTupleQuery.evaluate(HTTPTupleQuery.java:60) > ... 21 more > The loading from Sesame finished > com.ontotext.kim.client.KIMRuntimeException: The loading failed. > gate.persist.PersistenceException: com.ontotext.kim.client.KIMRuntimeException: The loading failed. > at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:877) > at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:771) > at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3550) > at java.lang.Thread.run(Thread.java:662) > Caused by: > > com.ontotext.kim.client.KIMRuntimeException: The loading failed. > at com.ontotext.kim.model.AliasCacheImpl.loadTrustedMaps(AliasCacheImpl.java:367) > at com.ontotext.kim.model.AliasCacheImpl.initCache(AliasCacheImpl.java:278) > at com.ontotext.kim.model.AliasCacheImpl.createInstance(AliasCacheImpl.java:151) > at com.ontotext.kim.model.AliasCacheImpl.getInstance(AliasCacheImpl.java:107) > at com.ontotext.kim.gate.KimGazetteer.init(KimGazetteer.java:87) > at gate.Factory.createResource(Factory.java:372) > at gate.util.persistence.ResourcePersistence.createObject(ResourcePersistence.java:83) > at gate.util.persistence.PRPersistence.createObject(PRPersistence.java:76) > at gate.util.persistence.LanguageAnalyserPersistence.createObject(LanguageAnalyserPersistence.java:51) > at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) > at gate.util.persistence.CollectionPersistence.createObject(CollectionPersistence.java:74) > at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) > at gate.util.persistence.ControllerPersistence.createObject(ControllerPersistence.java:58) > at gate.util.persistence.SerialAnalyserControllerPersistence.createObject(SerialAnalyserControllerPersistence.java:53) > at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) > at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:857) > at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:771) > at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3550) > at java.lang.Thread.run(Thread.java:662) > Caused by: com.ontotext.kim.client.query.KIMQueryException: Error in repository connection. > at org.openrdf.repository.http.PrivateRepositoryFeed.feedTo(PrivateRepositoryFeed.java:106) > at com.ontotext.kim.model.AliasCacheImpl.loadTrustedMaps(AliasCacheImpl.java:364) > ... 18 more > Caused by: com.ontotext.kim.client.query.KIMQueryException: factforge.net > while running this query: > PREFIX rdfs: > > SELECT ?Name ?Person ?Cls > FROM > WHERE { > ?Person a ?Cls ; rdfs:label ?Name . > FILTER (lang(?Name) = "en") > FILTER (?Cls = ) > } > at com.ontotext.kim.util.datastore.RepositoryFeed.feedTo(RepositoryFeed.java:60) > at org.openrdf.repository.http.PrivateRepositoryFeed.feedTo(PrivateRepositoryFeed.java:98) > ... 19 more > Caused by: org.openrdf.repository.http.HTTPQueryEvaluationException: factforge.net > at org.openrdf.repository.http.HTTPTupleQuery.evaluate(HTTPTupleQuery.java:64) > at com.ontotext.kim.util.datastore.RepositoryFeed.feedTo(RepositoryFeed.java:58) > ... 20 more > Caused by: java.net.UnknownHostException: factforge.net > at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) > at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) > at java.net.Socket.connect(Socket.java:529) > at java.net.Socket.connect(Socket.java:478) > at java.net.Socket.(Socket.java:375) > at java.net.Socket.(Socket.java:249) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) > at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) > at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) > at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) > at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) > at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) > at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) > at org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:1020) > at org.openrdf.http.client.HTTPClient.sendTupleQuery(HTTPClient.java:438) > at org.openrdf.repository.http.HTTPTupleQuery.evaluate(HTTPTupleQuery.java:60) > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.alexiev at ontotext.com Wed Dec 21 12:47:23 2011 From: philip.alexiev at ontotext.com (Philip Alexiev) Date: Wed, 21 Dec 2011 19:47:23 +0200 Subject: [Kim-discussion] Issues with running sample pipeline.gapp from behind firewall In-Reply-To: <6914E940-9B0E-4505-A4F5-B0357E2F7A5E@ontotext.com> References: <6914E940-9B0E-4505-A4F5-B0357E2F7A5E@ontotext.com> Message-ID: <88586407-16B7-4707-9A99-B59FD2D500F1@ontotext.com> Hello, Using Java behind a Proxy often leads to problems. We do not have much experience running KIM in this context. What I can recommend is you try with the following parameters to the JVM: -Dhttp.proxyHost=10.0.0.100 -Dhttp.proxyPort=8800 This address and port are for the sake of the example. Substitute with yours. You can add these parameters to KIM_OPTS in KIM/bin/kim if you run the server under Linux and to KIM_RT_OPTS in KIM/bin/kim.bat if you run the server under Windows. Hope this helps. Philip Alexiev Software Engineer, KIM team On 20 Dec 2011, at 2:35 PM, borislav popov wrote: > Thanks Genesis, > i've posted the mail to the kim discussion. The registration takes some time to be processed - that's the reason > thank you > borislav popov > head of semantic annotation and search > > On Dec 20, 2011, at 2:14 PM, Onto Genesis wrote: > >> Hello, >> >> I just registered myself. I submitted a question to the discussion forum. However, I am getting an error message as follows. Please advice. >> >> Thanks >> --Genesis >> >> On Tue, Dec 20, 2011 at 7:11 AM, wrote: >> You are not allowed to post to this mailing list, and your message has >> been automatically rejected. If you think that your messages are >> being rejected in error, contact the mailing list owner at >> kim-discussion-owner at ontotext.com. >> >> >> >> ---------- Forwarded message ---------- >> From: Onto Genesis >> To: kim-discussion at ontotext.com >> Cc: >> Date: Tue, 20 Dec 2011 07:11:36 -0500 >> Subject: Issues with running sample pipeline.gapp from behind firewall >> Hello, >> >> I a looking for help regarding an issue I have with running GATE examples within a corporate environment where one has to provide a proxy to make an http request that is outside the firewall. >> >> I am trying to run the sample sample_linked_data_mashup.gapp or pipeline.gapp. >> >> The issue seems to be caused by >> Caused by: java.net.UnknownHostException: factforge.net >> I have tried to specify proxyHost and proxyport to JVM as a parameter; also as part of the ANT script but with no luck. >> >> Here is a stack trace of the error file. >> >> GATE 6.2-SNAPSHOT build 4141 started at Mon Dec 19 18:55:24 EST 2011 >> and using Java 1.6.0_27 Sun Microsystems Inc. on Windows XP x86 5.1. >> CREOLE plugin loaded: file:/C:/apps_custom/gate-6.2-SNAPSHOT-build4141-ALL/plugins/ANNIE/ >> Logger com.ontotext.kim level set to INFO, overriding the default effective level of DEBUG. Set the level of com.ontotext.kim explictly if required. >> Logger org.openrdf.sesame level set to INFO, overriding the default effective level of DEBUG. Set the level of org.openrdf.sesame explictly if required. >> Logger httpclient level set to INFO, overriding the default effective level of DEBUG. Set the level of httpclient explictly if required. >> Logger org.apache.commons.httpclient level set to INFO, overriding the default effective level of DEBUG. Set the level of org.apache.commons.httpclient explictly if required. >> Query loaded from C:\apps_custom\gate-6.2-SNAPSHOT-build4141-ALL\plugins\Gazetteer_LKB\samples\dictionary_from_remote_repository\query.txt >> Looking for changes in configuration ... >> Aliases in IGNORE list:0 >> Loading of trusted entities from Sesame >> Initialized Sesame repository: org.openrdf.repository.http.HTTPRepository at a42c31 >> Loading failed. >> com.ontotext.kim.client.query.KIMQueryException: Error in repository connection. >> at org.openrdf.repository.http.PrivateRepositoryFeed.feedTo(PrivateRepositoryFeed.java:106) >> at com.ontotext.kim.model.AliasCacheImpl.loadTrustedMaps(AliasCacheImpl.java:364) >> at com.ontotext.kim.model.AliasCacheImpl.initCache(AliasCacheImpl.java:278) >> at com.ontotext.kim.model.AliasCacheImpl.createInstance(AliasCacheImpl.java:151) >> at com.ontotext.kim.model.AliasCacheImpl.getInstance(AliasCacheImpl.java:107) >> at com.ontotext.kim.gate.KimGazetteer.init(KimGazetteer.java:87) >> at gate.Factory.createResource(Factory.java:372) >> at gate.util.persistence.ResourcePersistence.createObject(ResourcePersistence.java:83) >> at gate.util.persistence.PRPersistence.createObject(PRPersistence.java:76) >> at gate.util.persistence.LanguageAnalyserPersistence.createObject(LanguageAnalyserPersistence.java:51) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) >> at gate.util.persistence.CollectionPersistence.createObject(CollectionPersistence.java:74) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) >> at gate.util.persistence.ControllerPersistence.createObject(ControllerPersistence.java:58) >> at gate.util.persistence.SerialAnalyserControllerPersistence.createObject(SerialAnalyserControllerPersistence.java:53) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) >> at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:857) >> at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:771) >> at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3550) >> at java.lang.Thread.run(Thread.java:662) >> Caused by: com.ontotext.kim.client.query.KIMQueryException: factforge.net >> while running this query: >> PREFIX rdfs: >> >> SELECT ?Name ?Person ?Cls >> FROM >> WHERE { >> ?Person a ?Cls ; rdfs:label ?Name . >> FILTER (lang(?Name) = "en") >> FILTER (?Cls = ) >> } >> at com.ontotext.kim.util.datastore.RepositoryFeed.feedTo(RepositoryFeed.java:60) >> at org.openrdf.repository.http.PrivateRepositoryFeed.feedTo(PrivateRepositoryFeed.java:98) >> ... 19 more >> Caused by: org.openrdf.repository.http.HTTPQueryEvaluationException: factforge.net >> at org.openrdf.repository.http.HTTPTupleQuery.evaluate(HTTPTupleQuery.java:64) >> at com.ontotext.kim.util.datastore.RepositoryFeed.feedTo(RepositoryFeed.java:58) >> ... 20 more >> Caused by: java.net.UnknownHostException: factforge.net >> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) >> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >> at java.net.Socket.connect(Socket.java:529) >> at java.net.Socket.connect(Socket.java:478) >> at java.net.Socket.(Socket.java:375) >> at java.net.Socket.(Socket.java:249) >> at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) >> at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) >> at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) >> at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) >> at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) >> at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) >> at org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:1020) >> at org.openrdf.http.client.HTTPClient.sendTupleQuery(HTTPClient.java:438) >> at org.openrdf.repository.http.HTTPTupleQuery.evaluate(HTTPTupleQuery.java:60) >> ... 21 more >> The loading from Sesame finished >> com.ontotext.kim.client.KIMRuntimeException: The loading failed. >> gate.persist.PersistenceException: com.ontotext.kim.client.KIMRuntimeException: The loading failed. >> at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:877) >> at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:771) >> at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3550) >> at java.lang.Thread.run(Thread.java:662) >> Caused by: >> >> com.ontotext.kim.client.KIMRuntimeException: The loading failed. >> at com.ontotext.kim.model.AliasCacheImpl.loadTrustedMaps(AliasCacheImpl.java:367) >> at com.ontotext.kim.model.AliasCacheImpl.initCache(AliasCacheImpl.java:278) >> at com.ontotext.kim.model.AliasCacheImpl.createInstance(AliasCacheImpl.java:151) >> at com.ontotext.kim.model.AliasCacheImpl.getInstance(AliasCacheImpl.java:107) >> at com.ontotext.kim.gate.KimGazetteer.init(KimGazetteer.java:87) >> at gate.Factory.createResource(Factory.java:372) >> at gate.util.persistence.ResourcePersistence.createObject(ResourcePersistence.java:83) >> at gate.util.persistence.PRPersistence.createObject(PRPersistence.java:76) >> at gate.util.persistence.LanguageAnalyserPersistence.createObject(LanguageAnalyserPersistence.java:51) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) >> at gate.util.persistence.CollectionPersistence.createObject(CollectionPersistence.java:74) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) >> at gate.util.persistence.ControllerPersistence.createObject(ControllerPersistence.java:58) >> at gate.util.persistence.SerialAnalyserControllerPersistence.createObject(SerialAnalyserControllerPersistence.java:53) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:444) >> at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:857) >> at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:771) >> at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3550) >> at java.lang.Thread.run(Thread.java:662) >> Caused by: com.ontotext.kim.client.query.KIMQueryException: Error in repository connection. >> at org.openrdf.repository.http.PrivateRepositoryFeed.feedTo(PrivateRepositoryFeed.java:106) >> at com.ontotext.kim.model.AliasCacheImpl.loadTrustedMaps(AliasCacheImpl.java:364) >> ... 18 more >> Caused by: com.ontotext.kim.client.query.KIMQueryException: factforge.net >> while running this query: >> PREFIX rdfs: >> >> SELECT ?Name ?Person ?Cls >> FROM >> WHERE { >> ?Person a ?Cls ; rdfs:label ?Name . >> FILTER (lang(?Name) = "en") >> FILTER (?Cls = ) >> } >> at com.ontotext.kim.util.datastore.RepositoryFeed.feedTo(RepositoryFeed.java:60) >> at org.openrdf.repository.http.PrivateRepositoryFeed.feedTo(PrivateRepositoryFeed.java:98) >> ... 19 more >> Caused by: org.openrdf.repository.http.HTTPQueryEvaluationException: factforge.net >> at org.openrdf.repository.http.HTTPTupleQuery.evaluate(HTTPTupleQuery.java:64) >> at com.ontotext.kim.util.datastore.RepositoryFeed.feedTo(RepositoryFeed.java:58) >> ... 20 more >> Caused by: java.net.UnknownHostException: factforge.net >> at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:195) >> at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366) >> at java.net.Socket.connect(Socket.java:529) >> at java.net.Socket.connect(Socket.java:478) >> at java.net.Socket.(Socket.java:375) >> at java.net.Socket.(Socket.java:249) >> at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:80) >> at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:122) >> at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:707) >> at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(MultiThreadedHttpConnectionManager.java:1361) >> at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(HttpMethodDirector.java:387) >> at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(HttpMethodDirector.java:171) >> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:397) >> at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:323) >> at org.openrdf.http.client.HTTPClient.getTupleQueryResult(HTTPClient.java:1020) >> at org.openrdf.http.client.HTTPClient.sendTupleQuery(HTTPClient.java:438) >> at org.openrdf.repository.http.HTTPTupleQuery.evaluate(HTTPTupleQuery.java:60) >> >> > > _______________________________________________ > 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 silvia at sirma.bg Fri Dec 23 08:54:45 2011 From: silvia at sirma.bg (Silvia Karagova) Date: Fri, 23 Dec 2011 15:54:45 +0200 Subject: [Kim-discussion] Merry Christmas and Happy holiday! Message-ID: <4EF48825.20808@sirma.bg> May all your days be merry and bright, and may your Christmas be white! Happy holidays! -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/jpeg Size: 200423 bytes Desc: not available URL: From congnh0902 at gmail.com Fri Dec 30 07:11:42 2011 From: congnh0902 at gmail.com (Cong Nguyen) Date: Fri, 30 Dec 2011 19:11:42 +0700 Subject: [Kim-discussion] [Help] Haven't seen Lookup annotation in KIM GATE Message-ID: Hi everyone. I follow KimDocs-3.0-EN/CaseStudy-IntegrationDbPedia.html and Customize KIM 3, and in step setting up the gazetteers, when i run KIM GATE, i don't see any Lookup annotation. Is there any problem in my result? Please see my attacked files. Thank you and regards. -- Cong Hoang Nguyen University: Hanoi University of Science and Techonology. Email: congnh0902 at gmail.com Facebook: http://www.facebook.com/monday0rsunday YH: congnh0902 Skype: monday0rsunday Phone: (+84)1678565200 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: do not see any Lookup annotation.rar Type: application/rar Size: 945723 bytes Desc: not available URL: From philip.alexiev at ontotext.com Fri Dec 30 08:22:31 2011 From: philip.alexiev at ontotext.com (Philip Alexiev) Date: Fri, 30 Dec 2011 15:22:31 +0200 Subject: [Kim-discussion] [Help] Haven't seen Lookup annotation in KIM GATE In-Reply-To: References: Message-ID: <1DB56F6E-F10C-47BC-912C-7B01E162D2C3@ontotext.com> Hello Cong, Do you see the Lookup annotations you expect with a different type - for example Person, Location or Organization. The way the pipeline works, is it uses the gazetteer to create Lookups. After this, some more resources proceed over them. Some of them create the corresponding Person, Location,Organization annotations from the Lookups of this type. A simple example: Let's assume the gazetteer has recognized "John Smith" in the text and created a Lookup with feature class=protont:Person. Then a grammar sees this Lookup and its type and created a Person over the same span. So two variations here: 1. The annotations do not exist as a Person/Location/Organization annotation. In this case, the gazetteer failed to recognize the phrase in text. You should check the setup. 2. The annotation exists as a Person/Location/Organization annotation. In this case everything is OK and the gazetteer recognized them and they were transformed from Lookup to one of this type. In order to see the Lookup annotations, you have to disable the Annotation Cleaner processing resource at the end of the pipeline. It serves to remove the temporary annotations. Only annotations in the whitelist are left. The whitelist is defined in KIM/config/nerc.properties with the com.ontotext.kim.KIMConstants.IE_ANN_TYPES . Any annotation not in this list is removed. The reason is, some annotations, Lookup included, serve only to create annotations of the meaningful types in the whitelist. Hope this makes the horizon a little clearer. Please feel free to ask for more clarification. Happy holidays. Philip Alexiev Software Engineer, KIM team On 30 Dec 2011, at 2:11 PM, Cong Nguyen wrote: > Hi everyone. > I follow KimDocs-3.0-EN/CaseStudy-IntegrationDbPedia.html and Customize KIM 3, and in step setting up the gazetteers, when i run KIM GATE, i don't see any Lookup annotation. Is there any problem in my result? > Please see my attacked files. > Thank you and regards. > -- > Cong Hoang Nguyen > University: Hanoi University of Science and Techonology. > Email: congnh0902 at gmail.com > Facebook: http://www.facebook.com/monday0rsunday > YH: congnh0902 > Skype: monday0rsunday > Phone: (+84)1678565200 > > _______________________________________________ > Kim-discussion mailing list > Kim-discussion at ontotext.com > http://ontotext.com/mailman/listinfo/kim-discussion -------------- next part -------------- An HTML attachment was scrubbed... URL: