From marcvlima at gmail.com Wed Sep 1 02:18:37 2010 From: marcvlima at gmail.com (=?ISO-8859-1?Q?Marcus_Vin=EDcius_de_Lima?=) Date: Wed, 1 Sep 2010 03:18:37 -0300 Subject: [Kim-discussion] How to Extract Advanced Annotations with Ontology Message-ID: Hi, I'd like to know how to extract advanced annotations that are not based only in class names correspondences but provided too by the properties and object relationships. For example let an ontology have the following classes set: Person Man Father And the Property: isFather (Man isFather Person) And let an text being annotated as: Jonh is father of Mary. Considering the "is father of" text fragment, the fragment from the left have lots of chances of being instances of the class Man and the right fragment has a lot of chances of being instances of class Person. I'd like to know if its possible to write rules that represent that kind of situation, that should be linked with the ontology description for being considered while annotatin are being extracted. Thanks Marcus Lima marcvlima at gmail.com -- Tansk, Marcus Lima -------------- next part -------------- An HTML attachment was scrubbed... URL: From borislav.popov at ontotext.com Thu Sep 16 12:12:49 2010 From: borislav.popov at ontotext.com (borislav popov) Date: Thu, 16 Sep 2010 19:12:49 +0300 Subject: [Kim-discussion] KIM Installation In-Reply-To: References: Message-ID: <4BFCD845-8058-4ABE-BC33-BC5ECB7A4109@ontotext.com> Dear Prof. Shirgave, this is a configuration issue related to the path to your java instance. But anyway, i am forwarding this to our kim-discussion form. all the best borislav On Sep 16, 2010, at 6:38 PM, Suresh Shirgave wrote: > Dear Sir, > > I am a researcher in web usage mining from India and planing to use > KIM Platform. > I am trying to install on KIM on Windows 7 (64-bit). I have done > confogirations mentioned in KIM PLATFORM > QUICK START GUIDE. > Steps followed are as under: > 1. Extracted the KIM archive in C:\KIM3 folder. > 2. I have set JAVA_HOME environment variable to the location of the > 64-bit JDK. > If I try to run kim script in KIM3/bin folder I am getting error > "ERROR: Can not find the java executable in 'C:\Program Files\Java > \jdk1.7.0\bin" > Please let me cause of this error. > Thanks a lot in advance. > > Prof. Suresh Shirgave > D.K.T.E. Society's Textile & Engineering Institute, > Rajwada, P.O.Box. No.130, Ichalkaranji-416 115 > Dist: Kolhapur (MAHARASHTRA) INDIA. > Phone:(0230) 2421300,2432340, 2439557 to 59 > Fax:(0230) 2432329 > Web Site : www.dktes.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnozchev at sirma.bg Fri Sep 17 08:33:24 2010 From: mnozchev at sirma.bg (Marin Nozhchev) Date: Fri, 17 Sep 2010 15:33:24 +0300 Subject: [Kim-discussion] KIM Installation In-Reply-To: References: Message-ID: <4C936014.1020505@sirma.bg> Dear Mr. Shirgave, I'm sorry to inform you that KIM 3 was not tested with Java 7 as it is not yet released by Oracle . From the installation path, "C:\Program Files\Java\jdk1.7.0", it looks like you are using a pre-release of the JDK 7 . The easiest way to start KIM without such issues is to install the Oracle JDK 6 . There is a download link in the Installation guide. Remember to update your JAVA_HOME environment variable to the newly installed JDK . If you need to use JDK 7, could you please tell us: - Is there a 'java.exe' in C:\Program Files\Java\jdk1.7.0\bin ? - Where you have downloaded your Java 7 JDK from ? (There are several pre-releases available on the web). Hope this helps, Marin Nozhchev On 16.09.2010 18:38 ?., Suresh Shirgave wrote: > Dear Sir, > I am a researcher in web usage mining from India and planing to use > KIM Platform. > I am trying to install on KIM on Windows 7 (64-bit). I have done > confogirations mentioned in KIM PLATFORM > QUICK START GUIDE. > *Steps followed are as under:* > 1. Extracted the KIM archive in C:\KIM3 folder. > 2. I have set JAVA_HOME environment variable to the location of the > 64-bit JDK. > If I try to run *kim *script in *KIM3/bin *folder I am getting error > "ERROR: Can not find the java executable in 'C:\Program > Files\Java\jdk1.7.0\bin" > Please let me cause of this error. > Thanks a lot in advance. > > *Prof. Suresh Shirgave* > D.K.T.E. Society's Textile & Engineering Institute, > Rajwada, P.O.Box. No.130, Ichalkaranji-416 115 > Dist: Kolhapur (MAHARASHTRA) INDIA. > Phone:(0230) 2421300,2432340, 2439557 to 59 > Fax:(0230) 2432329 > Web Site : www.dktes.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.alexiev at ontotext.com Mon Sep 20 11:01:07 2010 From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext) Date: Mon, 20 Sep 2010 18:01:07 +0300 Subject: [Kim-discussion] How to Extract Advanced Annotations with Ontology In-Reply-To: References: Message-ID: <167E4DBD-984A-415D-8268-F904534969D0@ontotext.com> Hi Marcus, Yes you can do this with JAPE. The question is very interesting and can be split into two parts: matching the relations, and creating the annotations. Matching the relations Generally you can use strict rules to do this. Rules like: Rule: is_father_of ( ({Person}):person1 {Token.string = "is"} {Token.string = "father"} {Token.string = "of"} ({Person}):person2 ) --> :person1.Person = { class="http://proton.semanticweb.org/2006/05/protonu#Man", rule="is_father_of" } , :person2.Person = { class="http://proton.semanticweb.org/2006/05/protont#Person", rule="is_father_of" } This rule works great for phrases like: John Smith is father of Adam Smith. But not for: John Smith is the father of Adam Smith. And even more: John Smith, the father of Adam Smith. You can write a softer filter to increase the recall score. Rules like: ({Person}):person1 ({Token})[0,3] {Token.string = "father"} {Token.string = "of"} ({Person}):person2 This rule will match 0 to 3 tokens after person1, then "father of" then person2. This will catch the above additional cases. Generally you can play with different expressions and compare the results to improve the extraction process. Another interesting approach, which gives a good score for recall but for the sake of bad precision, is to base the rules on cooccurance of persons in a sentence. It is best utilized when a gazetteer is used to create annotations for the different relations. So let's assume you have created {Relationship} annotations. You may use a grammar like this to match the relation: Phase: CoOccPerson Input: Person Relationship Split Options: control = all debug = true ////////////////////////////////////////////// /* relPerson */ Rule: PersonRelPerson ( ({Person}):left ({Relationship}):relship ({Person})+:right ):relPerson --> { ........ } in the right side, you can inspect the relationship itself and apply the corresponding logic. A word about how this works. Because Split annotations are used in the grammar, but not used in the rule, they act as stop annotations, and the expression matching is terminated by them. This means that the expression will match only within the boundaries of a sentence (sentences are separated by Split annotations). Tokens and annotations before, after and between the annotations in the rule are irrelevant, as they are not mentioned in the input section of the grammar. So this rule will match a complex statement like: "... John Smith, who was the chairman and the father of two children - Adam Smith and Louis Smith, ... " Have in mind though, that rules like this produce a lot of false positives. Note: You have noticed already, that the rules are using already created annotations of type Person. Basically deciding whether some phrase is a person or not is a complex task and is done by a different part of the JAPE rules. Persons extraction in KIM is generally of good quallity and chances are that the phrase will already be annotated as Person. What you want to do is to specify a more concrete type of person with the help of these rules, depending on the specific relationship. Creating the annotations KIM has already created Person annotations for the cases in your rules. You will create another Person annotation with a more concrete "class" feature. The best way to handle this is to delete the old annotation where you will be creating the new one. The code for the rule above looks like this: { gate.AnnotationSet person1Set = (gate.AnnotationSet)bindings.get("person1"); outputAS.removeAll(person1Set); gate.AnnotationSet person2Set = (gate.AnnotationSet)bindings.get("person2"); outputAS.removeAll(person2Set); } This is the complete content of the jape grammar file: Phase: RemovePerson Input: Person Token Options: control = appelt debug = true Rule: is_father_of ( ({Person}):person1 {Token.string == "is"} {Token.string == "father"} {Token.string == "of"} ({Person}):person2 ) --> :person1.Person = { class="http://proton.semanticweb.org/2006/05/protonu#Man", rule="is_father_of" } , :person2.Person = { class="http://proton.semanticweb.org/2006/05/protont#Person", rule="is_father_of" } , { gate.AnnotationSet person1Set = (gate.AnnotationSet)bindings.get("person1"); outputAS.removeAll(person1Set); gate.AnnotationSet person2Set = (gate.AnnotationSet)bindings.get("person2"); outputAS.removeAll(person2Set); } I hope this will help you, Philip On Sep 1, 2010, at 9:18 AM, Marcus Vin?cius de Lima wrote: > Hi, > > I'd like to know how to extract advanced annotations that are not based only in class names correspondences but provided too by the properties and object relationships. > > For example let an ontology have the following classes set: > Person > Man > Father > > And the Property: > isFather (Man isFather Person) > > And let an text being annotated as: > Jonh is father of Mary. > > Considering the "is father of" text fragment, the fragment from the left have lots of chances of being instances of the class Man and the right fragment has a lot of chances of being instances of class Person. > > I'd like to know if its possible to write rules that represent that kind of situation, that should be linked with the ontology description for being considered while annotatin are being extracted. > > Thanks > Marcus Lima > marcvlima at gmail.com > -- > Tansk, > Marcus Lima > _______________________________________________ > 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 Thu Sep 23 03:11:04 2010 From: borislav.popov at ontotext.com (borislav popov) Date: Thu, 23 Sep 2010 10:11:04 +0300 Subject: [Kim-discussion] Kim issue In-Reply-To: <898D27AF90104FE6ADA54CCC84377E84@l100558> References: <898D27AF90104FE6ADA54CCC84377E84@l100558> Message-ID: Dear Chris, there are certain dependencies to a running semantic database, but of course you should not get an exception like this. I am forwarding this to the kim discussion mail list, where our support will resolve this. it is always exciting when you get GATE-experienced people interested in KIM. all the best borislav On Sep 22, 2010, at 6:39 PM, Chris Bugby wrote: > Hi > > I am just reviewing your KIM product and am trying to load the Gate > developer environment via kim-gate-gui (I am a seasoned Gate > developer) > > I am then loading any of the Gapp files stored in your resources > directory (eg IE-nimir.gapp > > On loading we get this error and the application doesn?t load > > Any help would be appreciated > > Thanks > > Chris Bugby > Semanticiti.com > > GATE 5.2-snapshot build 3553 started at Wed Sep 22 16:26:37 BST 2010 > and using Java 1.6.0_21 Sun Microsystems Inc. on Windows XP x86 5.1. > CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/config/ > CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/ANNIE/ > CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/Tools/ > CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/LingPipe/ > CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/lkb- > gazetteer/ > gate.creole.ResourceInstantiationException: > com.ontotext.kim.client.KIMException: java.lang.NullPointerException > at > com > .ontotext > .kim > .gate > .KIMInstanceGeneratorWrapper.init(KIMInstanceGeneratorWrapper.java:28) > at gate.Factory.createResource(Factory.java:384) > 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:347) > at > gate > .util > .persistence > .CollectionPersistence.createObject(CollectionPersistence.java:74) > at > gate > .util > .persistence > .PersistenceManager > .getTransientRepresentation(PersistenceManager.java:347) > at > gate > .util > .persistence > .ControllerPersistence.createObject(ControllerPersistence.java:58) > at > gate > .util > .persistence > .ConditionalControllerPersistence > .createObject(ConditionalControllerPersistence.java:44) > at > gate > .util > .persistence > .ConditionalSerialAnalyserControllerPersistence > .createObject(ConditionalSerialAnalyserControllerPersistence.java:53) > at > gate > .util > .persistence > .PersistenceManager > .getTransientRepresentation(PersistenceManager.java:347) > at > gate > .util > .persistence > .PersistenceManager.loadObjectFromUrl(PersistenceManager.java:744) > at > gate > .util > .persistence > .PersistenceManager.loadObjectFromFile(PersistenceManager.java:664) > at gate.gui.MainFrame$LoadResourceFromFileAction > $1.run(MainFrame.java:3451) > at java.lang.Thread.run(Thread.java:619) > Caused by: com.ontotext.kim.client.KIMException: > java.lang.NullPointerException > at > com.ontotext.kim.ig.InstanceGenerator.(InstanceGenerator.java: > 51) > at > com > .ontotext > .kim > .gate > .KIMInstanceGeneratorWrapper.init(KIMInstanceGeneratorWrapper.java:24) > ... 15 more > Caused by: java.lang.NullPointerException > at > com.ontotext.kim.ig.InstanceGenerator.(InstanceGenerator.java: > 44) > ... 16 more > [ERROR] Some resources cannot be restored: > com.ontotext.kim.client.KIMException: java.lang.NullPointerException > gate.persist.PersistenceException: Some resources cannot be restored: > com.ontotext.kim.client.KIMException: java.lang.NullPointerException > at > gate > .util > .persistence > .CollectionPersistence.createObject(CollectionPersistence.java:87) > at > gate > .util > .persistence > .PersistenceManager > .getTransientRepresentation(PersistenceManager.java:347) > at > gate > .util > .persistence > .ControllerPersistence.createObject(ControllerPersistence.java:58) > at > gate > .util > .persistence > .ConditionalControllerPersistence > .createObject(ConditionalControllerPersistence.java:44) > at > gate > .util > .persistence > .ConditionalSerialAnalyserControllerPersistence > .createObject(ConditionalSerialAnalyserControllerPersistence.java:53) > at > gate > .util > .persistence > .PersistenceManager > .getTransientRepresentation(PersistenceManager.java:347) > at > gate > .util > .persistence > .PersistenceManager.loadObjectFromUrl(PersistenceManager.java:744) > at > gate > .util > .persistence > .PersistenceManager.loadObjectFromFile(PersistenceManager.java:664) > at gate.gui.MainFrame$LoadResourceFromFileAction > $1.run(MainFrame.java:3451) > at java.lang.Thread.run(Thread.java:619) > Caused by: > > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.alexiev at ontotext.com Fri Sep 24 07:54:14 2010 From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext) Date: Fri, 24 Sep 2010 14:54:14 +0300 Subject: [Kim-discussion] Kim issue In-Reply-To: References: <898D27AF90104FE6ADA54CCC84377E84@l100558> Message-ID: <0B2B3BC3-9262-4370-B9C4-F216D9B7A196@ontotext.com> Hi Chris, Seems to me that the Instance Generator fails to initialize its cache. Try deleting the KIM/context/default/populated/cache folder, thus forcing it to generate the cache again from scratch. If this does not help, please provide more info about things you have changed from the original installation. hope this helps Philip Alexiev > >> Hi >> >> I am just reviewing your KIM product and am trying to load the Gate developer environment via kim-gate-gui (I am a seasoned Gate developer) >> >> I am then loading any of the Gapp files stored in your resources directory (eg IE-nimir.gapp >> >> On loading we get this error and the application doesn?t load >> >> Any help would be appreciated >> >> Thanks >> >> Chris Bugby >> Semanticiti.com >> >> GATE 5.2-snapshot build 3553 started at Wed Sep 22 16:26:37 BST 2010 >> and using Java 1.6.0_21 Sun Microsystems Inc. on Windows XP x86 5.1. >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/config/ >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/ANNIE/ >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/Tools/ >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/LingPipe/ >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/lkb-gazetteer/ >> gate.creole.ResourceInstantiationException: com.ontotext.kim.client.KIMException: java.lang.NullPointerException >> at com.ontotext.kim.gate.KIMInstanceGeneratorWrapper.init(KIMInstanceGeneratorWrapper.java:28) >> at gate.Factory.createResource(Factory.java:384) >> 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:347) >> at gate.util.persistence.CollectionPersistence.createObject(CollectionPersistence.java:74) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:347) >> at gate.util.persistence.ControllerPersistence.createObject(ControllerPersistence.java:58) >> at gate.util.persistence.ConditionalControllerPersistence.createObject(ConditionalControllerPersistence.java:44) >> at gate.util.persistence.ConditionalSerialAnalyserControllerPersistence.createObject(ConditionalSerialAnalyserControllerPersistence.java:53) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:347) >> at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:744) >> at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:664) >> at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3451) >> at java.lang.Thread.run(Thread.java:619) >> Caused by: com.ontotext.kim.client.KIMException: java.lang.NullPointerException >> at com.ontotext.kim.ig.InstanceGenerator.(InstanceGenerator.java:51) >> at com.ontotext.kim.gate.KIMInstanceGeneratorWrapper.init(KIMInstanceGeneratorWrapper.java:24) >> ... 15 more >> Caused by: java.lang.NullPointerException >> at com.ontotext.kim.ig.InstanceGenerator.(InstanceGenerator.java:44) >> ... 16 more >> [ERROR] Some resources cannot be restored: >> com.ontotext.kim.client.KIMException: java.lang.NullPointerException >> gate.persist.PersistenceException: Some resources cannot be restored: >> com.ontotext.kim.client.KIMException: java.lang.NullPointerException >> at gate.util.persistence.CollectionPersistence.createObject(CollectionPersistence.java:87) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:347) >> at gate.util.persistence.ControllerPersistence.createObject(ControllerPersistence.java:58) >> at gate.util.persistence.ConditionalControllerPersistence.createObject(ConditionalControllerPersistence.java:44) >> at gate.util.persistence.ConditionalSerialAnalyserControllerPersistence.createObject(ConditionalSerialAnalyserControllerPersistence.java:53) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:347) >> at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:744) >> at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:664) >> at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3451) >> at java.lang.Thread.run(Thread.java:619) >> Caused by: >> >> >> >> > > _______________________________________________ > 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 Sep 24 08:40:48 2010 From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext) Date: Fri, 24 Sep 2010 15:40:48 +0300 Subject: [Kim-discussion] Kim issue In-Reply-To: References: <898D27AF90104FE6ADA54CCC84377E84@l100558> Message-ID: <5368BDB5-B752-48B0-97B0-E11F5EE34F73@ontotext.com> Hi again, Chriss, One more thing, The gapp files you are trying to load contain resources that may have not been registered into GATE. You can open the "Manage CREOLE Plugins" dialog in GATE Developer and register the missing plugins. In this particular case, this is the creole in KIM/config/ which contains the Instance Generator definition. It is a good idea to have this location registered when kim-gate-ui is started and we should consider it for the future. HTH Philip Alexiev > >> Hi >> >> I am just reviewing your KIM product and am trying to load the Gate developer environment via kim-gate-gui (I am a seasoned Gate developer) >> >> I am then loading any of the Gapp files stored in your resources directory (eg IE-nimir.gapp >> >> On loading we get this error and the application doesn?t load >> >> Any help would be appreciated >> >> Thanks >> >> Chris Bugby >> Semanticiti.com >> >> GATE 5.2-snapshot build 3553 started at Wed Sep 22 16:26:37 BST 2010 >> and using Java 1.6.0_21 Sun Microsystems Inc. on Windows XP x86 5.1. >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/config/ >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/ANNIE/ >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/Tools/ >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/LingPipe/ >> CREOLE plugin loaded: file:/C:/kim-platform-3.0-RC4/plugins/lkb-gazetteer/ >> gate.creole.ResourceInstantiationException: com.ontotext.kim.client.KIMException: java.lang.NullPointerException >> at com.ontotext.kim.gate.KIMInstanceGeneratorWrapper.init(KIMInstanceGeneratorWrapper.java:28) >> at gate.Factory.createResource(Factory.java:384) >> 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:347) >> at gate.util.persistence.CollectionPersistence.createObject(CollectionPersistence.java:74) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:347) >> at gate.util.persistence.ControllerPersistence.createObject(ControllerPersistence.java:58) >> at gate.util.persistence.ConditionalControllerPersistence.createObject(ConditionalControllerPersistence.java:44) >> at gate.util.persistence.ConditionalSerialAnalyserControllerPersistence.createObject(ConditionalSerialAnalyserControllerPersistence.java:53) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:347) >> at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:744) >> at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:664) >> at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3451) >> at java.lang.Thread.run(Thread.java:619) >> Caused by: com.ontotext.kim.client.KIMException: java.lang.NullPointerException >> at com.ontotext.kim.ig.InstanceGenerator.(InstanceGenerator.java:51) >> at com.ontotext.kim.gate.KIMInstanceGeneratorWrapper.init(KIMInstanceGeneratorWrapper.java:24) >> ... 15 more >> Caused by: java.lang.NullPointerException >> at com.ontotext.kim.ig.InstanceGenerator.(InstanceGenerator.java:44) >> ... 16 more >> [ERROR] Some resources cannot be restored: >> com.ontotext.kim.client.KIMException: java.lang.NullPointerException >> gate.persist.PersistenceException: Some resources cannot be restored: >> com.ontotext.kim.client.KIMException: java.lang.NullPointerException >> at gate.util.persistence.CollectionPersistence.createObject(CollectionPersistence.java:87) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:347) >> at gate.util.persistence.ControllerPersistence.createObject(ControllerPersistence.java:58) >> at gate.util.persistence.ConditionalControllerPersistence.createObject(ConditionalControllerPersistence.java:44) >> at gate.util.persistence.ConditionalSerialAnalyserControllerPersistence.createObject(ConditionalSerialAnalyserControllerPersistence.java:53) >> at gate.util.persistence.PersistenceManager.getTransientRepresentation(PersistenceManager.java:347) >> at gate.util.persistence.PersistenceManager.loadObjectFromUrl(PersistenceManager.java:744) >> at gate.util.persistence.PersistenceManager.loadObjectFromFile(PersistenceManager.java:664) >> at gate.gui.MainFrame$LoadResourceFromFileAction$1.run(MainFrame.java:3451) >> at java.lang.Thread.run(Thread.java:619) >> Caused by: >> >> >> >> > > _______________________________________________ > 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 skshirgave at yahoo.com Sun Sep 26 05:24:28 2010 From: skshirgave at yahoo.com (Suresh Shirgave) Date: Sun, 26 Sep 2010 02:24:28 -0700 (PDT) Subject: [Kim-discussion] Generating RDF data from HTML pages Message-ID: <466585.22625.qm@web33207.mail.mud.yahoo.com> Hi, ? I am a researcher in web usage mining from India and planing to use KIM Platform to generate RDF data from HTML pages. I am new to KIM. Please let me know how to generate RDF data and store in Semantic Store by using KIM 3.0 platform. The corpus is HTML and PDF files. Please let me know steps for all the required configurations. ? Thanks a lot in advance. ? -Suresh Shirgave -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.alexiev at ontotext.com Mon Sep 27 07:05:52 2010 From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext) Date: Mon, 27 Sep 2010 14:05:52 +0300 Subject: [Kim-discussion] Generating RDF data from HTML pages In-Reply-To: <466585.22625.qm@web33207.mail.mud.yahoo.com> References: <466585.22625.qm@web33207.mail.mud.yahoo.com> Message-ID: <1E66121D-194E-43CD-B5B5-2EC1A9E87724@ontotext.com> Hi Suresh, You can find KIM's documentation online here: http://www.ontotext.com/kim/gettingStarted.html All is documented there. Please go through it. Whatever is still unclear, we will be happy to explain and even add it to the documentation itself. Thank you for your interest in KIM Philip Alexiev On Sep 26, 2010, at 12:24 PM, Suresh Shirgave wrote: > Hi, > > I am a researcher in web usage mining from India and planing to use KIM Platform to generate RDF data from HTML pages. I am new to KIM. Please let me know how to generate RDF data and store in Semantic Store by using KIM 3.0 platform. The corpus is HTML and PDF files. Please let me know steps for all the required configurations. > > Thanks a lot in advance. > > -Suresh Shirgave > > > _______________________________________________ > 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 Mon Sep 27 07:13:20 2010 From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext) Date: Mon, 27 Sep 2010 14:13:20 +0300 Subject: [Kim-discussion] KIM INSTALLATION In-Reply-To: References: Message-ID: <6E4BCE88-F904-4A7C-9D1D-CA9960D856A1@ontotext.com> Hi again, Are you trying to run KIM by executing the script kim.bat without parameters? The correct way is to execute: KIM/bin/kim start In the future we will make the default behavior to be to start KIM when you run the script without parameters. All the best, Philip Alexiev On Sep 27, 2010, at 11:01 AM, ankit aggarwal wrote: > sir thank u very much for trying to help my problem!!but actually when i go the way u told i am receiving no output,neither do i get any other error!nothing happens!!and i am using kim-platform-3.0-RC4-Windows!!sir please guide me!! > > On Mon, Sep 27, 2010 at 12:46 PM, Philip Alexiev @ Ontotext wrote: > Hi Ankit, > > Please provide some more information. Which version of KIM you are trying to run? > > You can do the following: > Open a terminal (run cmd.exe). Change to the directory where you have unpacked KIM. Then from there, in the terminal, execute the startup script. That way you will be able to see the log, and the problem itself. If you have difficulties correcting it, please send us the output from the console. > > Hope this helps > Philip Alexiev > > > On Sep 27, 2010, at 9:10 AM, ankit aggarwal wrote: > > > sir, i am from india .i am interested in using KIM, i hav downloaded it,and also the jdk-6 and the apache tomcat server. > > and according to installation details i have set java environment to jdk location and tomcat location is also set in configuration!! > > but when i open kim using cmd.exe,my directory location is set to kim\bin and i start kim.bat, then nothing happens, a window appears for 1 second and then dissappears!!! > > please help where i am getting wrong!!!? > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From madn002 at aucklanduni.ac.nz Mon Sep 27 22:31:59 2010 From: madn002 at aucklanduni.ac.nz (Mehnaz Adnan) Date: Tue, 28 Sep 2010 15:31:59 +1300 Subject: [Kim-discussion] extracting Token.category feature of Object types annotations Message-ID: Hi, I am using KIM 2.3 RC1. I am extracting Object annotations by using KIM API. Here is the code. Is there a way I can also extract the POS category of the annotation. I suppose I have to do some changes in Jape but where I don't know . For example I have a sentence "laceration to right forearm" for which two Object annotations are created, one is for 'laceration' and other is for "forearm" . I also want to extract the Token.category features which is normally created in POS tagger pipline in Gate. apiSemAnn.execute(kdocFromText); KIMAnnotationSet kimASet = kdocFromText.getAnnotations(); Set typesSet = kimASet.getAllTypes(); KIMAnnotationSet kimFilteredASet=*null*; Iterator iterator = typesSet.iterator(); *while* (iterator.hasNext()){ Object key = iterator.next(); kimFilteredASet = kimASet.get(String.*valueOf*(key)); } List annotations = *new*ArrayList(kimFilteredASet); Collections.*sort*(annotations, *new* Comparator(){ *public* *int* compare(KIMAnnotation o1, KIMAnnotation o2) { *if* (o1.getStartOffset() > o2.getEndOffset()) *return* 1; *else* *if* (o1.getStartOffset() < o2.getEndOffset()) *return* -1; *else* *return* 0; } }); -- Mehnaz Adnan Ph.D. Candidate, Department of Computer Science-Tamaki University of Auckland Phone: 09-3737599 ext 83274 email: madn002 at aucklanduni.ac.nz -------------- next part -------------- An HTML attachment was scrubbed... URL: From borislav.popov at ontotext.com Tue Sep 28 03:37:33 2010 From: borislav.popov at ontotext.com (borislav popov) Date: Tue, 28 Sep 2010 10:37:33 +0300 Subject: [Kim-discussion] Fwd: Problem creating GATE IE Plugin References: Message-ID: Hi Jeff, i am forwarding this to the kim discussion mail list b Begin forwarded message: > From: Jeff Gehly > Date: September 27, 2010 9:25:32 PM GMT+03:00 > To: kim-info at ontotext.com > Subject: Problem creating GATE IE Plugin > > I am attempting to create my own IE plugin for KIM using GATE 6.0 > beta 1 on Windows XP. I developed the application using GATE's > developer tool and saved the application. I placed the file, > MyApp.gapp, in the \context\default\resources folder. I > modified the nerc.properties file so that the line > > com.ontotext.kim.KIMConstants.IE_APP=IE.gapp, MyApp.gapp > > is present in the file and replaces the previous IE_APP constants > line. Then I ran kim.bat, and the system failed to start. Attached > is the zip file of all the logs (with debug logging level). The > problem I'm having is that the system tells me that I must > initialize and load the ANNIE plugin, but ANNIE is already loaded > during the default loading process. The steps to reproduce this > issue are as follows: > > Use GATE 6.0 beta 1 > Create a directory \context\default\resources\AppResources > Copy the ANNIE folder from \plugins to the > AppResources folder created in the previous step > Launch the GATE developer tool > Using the CREOLE Manager, disable all creole plugins > Create a new CREOLE Repository and select the AppResources\ANNIE > folder. A new ANNIE Plugin should appear. Check the box to load > this plugin and hit "OK." > Create a corpus pipline (I called it "TestPipeline"). > Ensure the ANNIE plugin is loaded. Load each of the following > resources one at a time, adding them to the processing pipeline > after each resource is added. Create the resources by adding them > and clicking "OK" at each resource dialog without changing the > defaults (the defaults should point to \context\default > \resources\AppResources\ANNIE). > Document Reset PR > ANNIE English Tokenizer > Hash Gazetteer > ANNIE Sentence Splitter > ANNIE POS Tagger > ANNIE NE Transducer > ANNIE OrthoMatcher > Save the application as MyApp.gapp to the \context\default > \resources folder. > Modify the file \config\nerc.properties by adding > MyApp.gapp to the end of the > <> line. Do not > include the << or >>. > Save the modified file. > Navigate to \bin. Double click on kim.bat to start the KIM > server. > The program should show errors when attempting to load the > MyApp.gapp processing resource. > > I cannot figure out what I need to do to allow this plugin to load. > I have attempted every troubleshoot and I cannot resolve the log > error message. Any help would be appreciated. > > -- > Jeff -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: log.zip Type: application/zip Size: 10452 bytes Desc: not available URL: -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.alexiev at ontotext.com Tue Sep 28 04:49:30 2010 From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext) Date: Tue, 28 Sep 2010 11:49:30 +0300 Subject: [Kim-discussion] extracting Token.category feature of Object types annotations In-Reply-To: References: Message-ID: <5E252603-934F-4E45-9621-95A94DC6F36D@ontotext.com> Hi Mehnaz, Generally, KIM has an Entity Annotation Set, which determines which are the annotations of interest to KIM. The set is defined in nerc.properties by the property: com.ontotext.kim.KIMConstants.IE_ANN_TYPES If it is omitted, a default value is set, which is: new HashSet(Arrays .asList("Entity", "Organization", "Person", "Time", "Date", "Percent", "Location", "Position", "Money", "Abstract", "ContactInfo", "Object", "Event", "Brand", "GeneralTerm", "KeyPhrase", "KeyPerson", "KeyOrganization", "KeyLocation")); Token annotations are used to form the context around these, and all annotations in the final document that are not in the set, are removed. That is why, you will not be able to see Tokens in the stored KIM document. They are stripped at the end of the pipeline. In order to keep them, you should add Token to the list. POS category is only applicable to Tokens. Generally for single word annotations you can assign the POS of the underlying Token. But you should test how this works in your case. Generally it is a better idea to use tokens as context in rules and only keep meaningful annotations at the end. This is how you can get the category of the underlying Token in the RHS of a rule: Annotation someAnnotation = .... (initialization here) ; AnnotationSet tokenSet inputAS.get("Token", someAnnotation.getStartNode().getOffset(), someAnnotation.getEndNode().getOffset()); if (tokenSet != null && tokenSet.size() > 0) { Annotation token = tokenSet.iterator().next(); String category = token.getFeatures().get("category"); FeatureMap features = someAnnotation.getFeatures(); // returns a copy of the FeatureMap features.put("category", category); someAnnotation.setFeatures(features); } HTH Philip Alexiev On Sep 28, 2010, at 5:31 AM, Mehnaz Adnan wrote: > Hi, > > I am using KIM 2.3 RC1. I am extracting Object annotations by using KIM API. Here is the code. Is there a way I can also extract the POS category of the annotation. I suppose I have to do some changes in Jape but where I don't know . For example I have a sentence > "laceration to right forearm" > > > for which two Object annotations are created, one is for 'laceration' and other is for "forearm" . I also want to extract the Token.category features which is normally created in POS tagger pipline in Gate. > > > > apiSemAnn.execute(kdocFromText); > > > > KIMAnnotationSet kimASet = kdocFromText.getAnnotations(); > > Set typesSet = kimASet.getAllTypes(); > KIMAnnotationSet kimFilteredASet= > > null; > > > Iterator iterator = typesSet.iterator(); > > > while (iterator.hasNext()){ > Object key = iterator.next(); > > kimFilteredASet = kimASet.get(String.valueOf(key)); > > > } > > > List annotations = > > new ArrayList(kimFilteredASet); > Collections.sort(annotations, > > new Comparator(){ > > public int compare(KIMAnnotation o1, KIMAnnotation o2) { > > if (o1.getStartOffset() > o2.getEndOffset()) return 1; > > else if (o1.getStartOffset() < o2.getEndOffset()) > > return -1; > > else return 0; > > > } > > }); > > > > -- > Mehnaz Adnan > Ph.D. Candidate, > Department of Computer Science-Tamaki > University of Auckland > Phone: 09-3737599 ext 83274 > email: madn002 at aucklanduni.ac.nz > _______________________________________________ > 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 Sep 28 05:50:59 2010 From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext) Date: Tue, 28 Sep 2010 12:50:59 +0300 Subject: [Kim-discussion] KIM INSTALLATION In-Reply-To: References: <6E4BCE88-F904-4A7C-9D1D-CA9960D856A1@ontotext.com> Message-ID: <5FE168E2-6323-4798-94DC-5DCA8B993774@ontotext.com> Hi Ankit, You can look through the logs in KIM's log folder - log. Attach an archive of that folder if you still have difficulties. Also you can try to change the path of the JDK to contain no whitespaces. This is generally a good idea, not only for KIM. Hope this helps Philip Alexiev On Sep 27, 2010, at 6:52 PM, ankit aggarwal wrote: > hello!!sir!!whats happening now is even more sarcastic!! when i enter in the cmd.exe as u said, the window just dis appears!! > i am sending u the details of configuration file of kim3 !please check it!!and guide me! > @echo off > REM ********************************************************** > REM * config.bat > REM ********************************************************** > REM * This file contains all Java VM properties that need > REM * to be set before startup. > REM ********************************************************** > REM Set these paths to override the environment variables > REM SET JAVA_HOME= > REM SET TOMCAT_HOME= > > if not "%JAVA_HOME%"=="" goto check1 > echo "ERROR: The setting JAVA_HOME=%JAVA_HOME% does not point to a Java installation! Exiting ..." > exit 1 > > :check1 > if exist "%JAVA_HOME%\bin\java.exe" goto OK > echo "ERROR: Can not find the java executable in '%JAVA_HOME%' ! Exiting ..." > exit 2 > > :OK > if "%KIM_MAX_JAVA_HEAP%"=="" set KIM_MAX_JAVA_HEAP=1g > echo "KIM_MAX_JAVA_HEAP = %KIM_MAX_JAVA_HEAP%" > > echo "JAVA_HOME = %JAVA_HOME%" > echo "KIM_HOME = %KIM_HOME%" > > set KIM_CONTEXT=%KIM_HOME%\context\default > set KIM_LOG_FOLDER=%KIM_HOME%/log > > > > > On Mon, Sep 27, 2010 at 4:43 PM, Philip Alexiev @ Ontotext wrote: > Hi again, > > Are you trying to run KIM by executing the script kim.bat without parameters? The correct way is to execute: > > KIM/bin/kim start > > In the future we will make the default behavior to be to start KIM when you run the script without parameters. > > All the best, > Philip Alexiev > > > On Sep 27, 2010, at 11:01 AM, ankit aggarwal wrote: > >> sir thank u very much for trying to help my problem!!but actually when i go the way u told i am receiving no output,neither do i get any other error!nothing happens!!and i am using kim-platform-3.0-RC4-Windows!!sir please guide me!! >> >> On Mon, Sep 27, 2010 at 12:46 PM, Philip Alexiev @ Ontotext wrote: >> Hi Ankit, >> >> Please provide some more information. Which version of KIM you are trying to run? >> >> You can do the following: >> Open a terminal (run cmd.exe). Change to the directory where you have unpacked KIM. Then from there, in the terminal, execute the startup script. That way you will be able to see the log, and the problem itself. If you have difficulties correcting it, please send us the output from the console. >> >> Hope this helps >> Philip Alexiev >> >> >> On Sep 27, 2010, at 9:10 AM, ankit aggarwal wrote: >> >> > sir, i am from india .i am interested in using KIM, i hav downloaded it,and also the jdk-6 and the apache tomcat server. >> > and according to installation details i have set java environment to jdk location and tomcat location is also set in configuration!! >> > but when i open kim using cmd.exe,my directory location is set to kim\bin and i start kim.bat, then nothing happens, a window appears for 1 second and then dissappears!!! >> > please help where i am getting wrong!!!? >> >> > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.alexiev at ontotext.com Tue Sep 28 06:11:29 2010 From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext) Date: Tue, 28 Sep 2010 13:11:29 +0300 Subject: [Kim-discussion] Problem creating GATE IE Plugin In-Reply-To: References: Message-ID: <749C5025-F381-46B1-BBAA-24B4F247B0AF@ontotext.com> Hi Jeff, What you are trying to do is run KIM with gate 5 and the resource descriptions from gate 6. On startup KIM loads the gate jar which is version 5.2 and it does not include the HashGazetteer in it. That is why GATE throws an exception that it can not find the class. You can use an alternative gazetteer from GATE 5.2 . The plugins in KIM reside in KIM/plugins/ folder. HTH Philip Alexiev On Sep 27, 2010, at 9:25 PM, Jeff Gehly wrote: > I am attempting to create my own IE plugin for KIM using GATE 6.0 beta 1 on Windows XP. I developed the application using GATE's developer tool and saved the application. I placed the file, MyApp.gapp, in the \context\default\resources folder. I modified the nerc.properties file so that the line > > com.ontotext.kim.KIMConstants.IE_APP=IE.gapp, MyApp.gapp > > is present in the file and replaces the previous IE_APP constants line. Then I ran kim.bat, and the system failed to start. Attached is the zip file of all the logs (with debug logging level). The problem I'm having is that the system tells me that I must initialize and load the ANNIE plugin, but ANNIE is already loaded during the default loading process. The steps to reproduce this issue are as follows: > > Use GATE 6.0 beta 1 > Create a directory \context\default\resources\AppResources > Copy the ANNIE folder from \plugins to the AppResources folder created in the previous step > Launch the GATE developer tool > Using the CREOLE Manager, disable all creole plugins > Create a new CREOLE Repository and select the AppResources\ANNIE folder. A new ANNIE Plugin should appear. Check the box to load this plugin and hit "OK." > Create a corpus pipline (I called it "TestPipeline"). > Ensure the ANNIE plugin is loaded. Load each of the following resources one at a time, adding them to the processing pipeline after each resource is added. Create the resources by adding them and clicking "OK" at each resource dialog without changing the defaults (the defaults should point to \context\default\resources\AppResources\ANNIE). > Document Reset PR > ANNIE English Tokenizer > Hash Gazetteer > ANNIE Sentence Splitter > ANNIE POS Tagger > ANNIE NE Transducer > ANNIE OrthoMatcher > Save the application as MyApp.gapp to the \context\default\resources folder. > Modify the file \config\nerc.properties by adding MyApp.gapp to the end of the <> line. Do not include the << or >>. > Save the modified file. > Navigate to \bin. Double click on kim.bat to start the KIM server. > The program should show errors when attempting to load the MyApp.gapp processing resource. > > I cannot figure out what I need to do to allow this plugin to load. I have attempted every troubleshoot and I cannot resolve the log error message. Any help would be appreciated. > > -- > Jeff > -------------- next part -------------- An HTML attachment was scrubbed... URL: From mnozchev at sirma.bg Wed Sep 29 05:50:56 2010 From: mnozchev at sirma.bg (Marin Nozhchev) Date: Wed, 29 Sep 2010 12:50:56 +0300 Subject: [Kim-discussion] [kim-platform-3.0-RC4] JavaDoc is incorrect! In-Reply-To: References: Message-ID: <4CA30C00.70302@sirma.bg> Hi Khoa, all, The link in the documentation was to the javadoc of the previous version 2.4. Now http://nmwiki.ontotext.com/kim-javadoc/index.html contains the correct javadoc of the kim-api package of KIM Platform version 3.0. Apologies, Marin Nozhchev Project Manager, KIM Platform On 29.09.2010 12:22 ?., Khoa Nguyen wrote: > My problem is I have downloaded the ""kim-platform-3.0-RC4" package to > develop my application. > > But I find that the accompaning "kim-api.jar" does not follow what is > specified in your JavaDoc (here: > http://nmwiki.ontotext.com/kim-javadoc/index.html). For example, the > CorporaAPI interface does not have method createDocument(String , > String) as in the JavaDoc. > > I will be grateful to you if you can guide me where I can find the > correct JavaDoc. > > Thank you. > Khoa. From borislav.popov at ontotext.com Wed Sep 29 05:50:37 2010 From: borislav.popov at ontotext.com (borislav popov) Date: Wed, 29 Sep 2010 12:50:37 +0300 Subject: [Kim-discussion] Fwd: [kim-platform-3.0-RC4] JavaDoc is incorrect! References: Message-ID: <83040740-179C-4B58-929A-6511FC59C52E@ontotext.com> Begin forwarded message: > From: Khoa Nguyen > Date: September 29, 2010 12:22:01 PM GMT+03:00 > To: "kim-info at ontotext.com" > Subject: [kim-platform-3.0-RC4] JavaDoc is incorrect! > > My problem is I have downloaded the ""kim-platform-3.0-RC4" package > to develop my application. > > But I find that the accompaning "kim-api.jar" does not follow what > is specified in your JavaDoc (here: http://nmwiki.ontotext.com/kim-javadoc/index.html) > . For example, the CorporaAPI interface does not have method > createDocument(String , String) as in the JavaDoc. > > I will be grateful to you if you can guide me where I can find the > correct JavaDoc. > > Thank you. > Khoa. -------------- next part -------------- An HTML attachment was scrubbed... URL: From philip.alexiev at ontotext.com Thu Sep 30 06:04:57 2010 From: philip.alexiev at ontotext.com (Philip Alexiev @ Ontotext) Date: Thu, 30 Sep 2010 13:04:57 +0300 Subject: [Kim-discussion] Connecting Problem In-Reply-To: References: Message-ID: <06A01ECF-DDD4-4DDD-81DD-6B767018234D@ontotext.com> Hello, The class is part of channel_iface_impl_stub-1.0.jar. Make sure you have it in the java classpath of your client. All the best Philip Alexiev Software Engineer, KIM Platform On Sep 30, 2010, at 12:25 PM, nguyen viet nghi wrote: > I used this code for testing : > > import java.rmi.NotBoundException; > import java.rmi.RemoteException; > import com.ontotext.kim.client.*; > > > public class Test { > public static void main(String args[]) { > > try { > KIMService serviceKim = GetService.from(); > System.out.println("KIM Server connected."); > } catch (RemoteException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } catch (NotBoundException e) { > // TODO Auto-generated catch block > e.printStackTrace(); > } > > > } > } > > and console prints : > Using localhost:1099 to connect to KIM service. > java.rmi.RemoteException: Cannot connect to KIMService at localhost:1099, because of the following error: error unmarshalling return; nested exception is: > java.lang.ClassNotFoundException: org.openrdf.util.rmirouting.ChannelIfaceImpl_Stub (no security manager: RMI class loader disabled); nested exception is: > java.rmi.UnmarshalException: error unmarshalling return; nested exception is: > java.lang.ClassNotFoundException: org.openrdf.util.rmirouting.ChannelIfaceImpl_Stub (no security manager: RMI class loader disabled) > at com.ontotext.kim.client.GetService.connectToFactory(GetService.java:158) > at com.ontotext.kim.client.GetService.from(GetService.java:124) > at com.ontotext.kim.client.GetService.from(GetService.java:107) > at com.ontotext.kim.client.GetService.from(GetService.java:93) > at Test.main(Test.java:10) > Caused by: java.rmi.UnmarshalException: error unmarshalling return; nested exception is: > java.lang.ClassNotFoundException: org.openrdf.util.rmirouting.ChannelIfaceImpl_Stub (no security manager: RMI class loader disabled) > at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source) > at com.ontotext.kim.client.GetService.connectToFactory(GetService.java:152) > ... 4 more > Caused by: java.lang.ClassNotFoundException: org.openrdf.util.rmirouting.ChannelIfaceImpl_Stub (no security manager: RMI class loader disabled) > at sun.rmi.server.LoaderHandler.loadClass(Unknown Source) > at sun.rmi.server.LoaderHandler.loadClass(Unknown Source) > at java.rmi.server.RMIClassLoader$2.loadClass(Unknown Source) > at java.rmi.server.RMIClassLoader.loadClass(Unknown Source) > at sun.rmi.server.MarshalInputStream.resolveClass(Unknown Source) > at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) > at java.io.ObjectInputStream.readClassDesc(Unknown Source) > at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) > at java.io.ObjectInputStream.readObject0(Unknown Source) > at java.io.ObjectInputStream.readObject(Unknown Source) > ... 6 more > > I don't understand about this problem. Please help me solve it. Thank you very much ! > PS: I am using Tomcat : D:\Tomcat and my Java : D:\jdk1.6.0_20. I think that don't have bug with directory containing spaces. -------------- next part -------------- An HTML attachment was scrubbed... URL: