Hi Babis, The documentation is misleading in this version - you need to set the java.io.tmpdir (instead of java.io.tmpfile) system property to point to a valid writable folder on your file system. Please try it out and let us know if you are still unable to compile that ruleset file.
Cheers, Ivan On Friday 10 December 2010 13:00:35 Babis Doulaverakis wrote: > Hello all, > > I am having problem using a custom rule-set with SwiftOWLIM v3.3. I get an > Exception that the .pie file "does not correspond to a valid existing PIE > rule file" although the rule files that I used for testing are the ones > supplied with the SwiftOWLIM distribution. I even used a much simpler rule > file with one rule only but I get the same error. > Actually, the .pie file does compile but immediately after the successful > compilation message, the error message appears. I use Eclipse IDE v3.4.2 > > I use the getting-started ttl file for configuring the repository and > additionally I have set the "java.io.tmpfile" to point to a temp file on my > C: drive. This is the error that I get: > > ruleSet=rules/HorstRules_builtin.pie, partialRdfs=false > Unknown ruleset 'rules/HorstRules_builtin.pie' specified in > InferencerFactory.createInferencer() > Compiled: 'rules/HorstRules_builtin.pie' > Rule set 'rules/HorstRules_builtin.pie' does not match none of the > precompiled rule sets, nor does it correspond to a valid existing PIE rule > file org.openrdf.repository.RepositoryException: Unknown rule set: > rules/HorstRules_builtin.pie > at > org.openrdf.repository.sail.SailRepository.initialize(SailRepository.java:9 > 3) at > org.openrdf.repository.manager.LocalRepositoryManager.createRepository(Loca > lRepositoryManager.java:152) > > at > org.openrdf.repository.manager.RepositoryManager.getRepository(RepositoryMa > nager.java:263) > > at > gr.iti.mklab.OWLIM.OWLIMRepository.connectToNativeRepository_OWLIM(OWLIMRep > ository.java:57) > > at gr.iti.mklab.OWLIM.OWLIMRepository.main(OWLIMRepository.java:100) > Caused by: org.openrdf.sail.SailException: Unknown rule set: > rules/HorstRules_builtin.pie > at com.ontotext.trree.owlim_ext.SailImpl.initialize(Unknown Source) > at > org.openrdf.repository.sail.SailRepository.initialize(SailRepository.java:8 > 4) ... 4 more > > > Could anyone help please? > > Thanks in advance, > Babis > > > > > _______________________________________________ > OWLIM-discussion mailing list > [email protected] > http://ontotext.com/mailman/listinfo/owlim-discussion > _______________________________________________ OWLIM-discussion mailing list [email protected] http://ontotext.com/mailman/listinfo/owlim-discussion
