From: <jm...@us...> - 2010-11-23 11:34:03
|
Revision: 1918 http://eulergui.svn.sourceforge.net/eulergui/?rev=1918&view=rev Author: jmvanel Date: 2010-11-23 11:33:57 +0000 (Tue, 23 Nov 2010) Log Message: ----------- - deactivate DroolsHelper.printRuleBase() in all places - class URIModificationChecker: close the HTTP connection, which should prevent the messages "java.net.SocketException: Too many open files" - automatically save generated Drools source in case of error - this rule in Jos' owl-rules.n3 did not pass Drools translator, because list related triples are processed together at the next non list related triple, and a single list related triple was not implemented { <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://www.w3.org/1999/02/22-rdf-syntax-ns#first> ?X. } => false. - this rule in Jos' owl-rules.n3 does not pass Drools translator, because an empty antecedent was not implemented { } => { <http://www.w3.org/1999/02/22-rdf-syntax-ns#nil> <http://eulersharp.sourceforge.net/2003/03swap/owl-rules#notItem> ?X. } - add a version of owl-rules.n3 in examples/ ; just move log:notEqualTo at the end of the antecedent. TODO The problem is that the implementation of log:notEqualTo expects that all variables were already used in preceding triples in same rule. This is not easy to implement with Drools. The translation should be postponed to end of the antecedent. Modified Paths: -------------- trunk/eulergui/src/main/java/eulergui/drools_engine/ParserLink.java trunk/eulergui/src/main/java/eulergui/drools_engine/StatementHelper.java trunk/eulergui/src/main/java/eulergui/gui/controller/ApplicationKB.java trunk/eulergui/src/main/java/eulergui/infrastructure/cache/URICacheImpl.java trunk/eulergui/src/main/java/eulergui/project/Project.java trunk/eulergui/src/main/java/n3_project/helpers/DroolsTripleHandler.java trunk/eulergui/src/main/java/n3_project/helpers/N3SourcetoDrools.java This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |