Closed hgasmi closed 7 years ago
Hi,
I am trying make SWRLAPI use the Drools engine so I setup my project in the same way as the sample below:
https://github.com/protegeproject/swrltab/blob/master/pom.xml
When the project is built I can see the swrlapi-drools-engines.jar as one of the loaded dependencies. However, when I run my code it doesnt seem to be engaged. and when I print the Rule engine class:
SQWRLQueryEngine queryEngine = createSQWRL_Engine(ontology); System.out.println(queryEngine);
I get
org.swrlapi.factory.DefaultSWRLRuleAndQueryEngine@3f34edfc
Is there a way in the swrlapi to select which engine to use??
Thanks.
After inspecting the queryEngine object and calling the getEngineName method, it turned out the drool engine is used. So closing the issue.
Hi,
I am trying make SWRLAPI use the Drools engine so I setup my project in the same way as the sample below:
https://github.com/protegeproject/swrltab/blob/master/pom.xml
When the project is built I can see the swrlapi-drools-engines.jar as one of the loaded dependencies. However, when I run my code it doesnt seem to be engaged. and when I print the Rule engine class:
SQWRLQueryEngine queryEngine = createSQWRL_Engine(ontology); System.out.println(queryEngine);
I get
org.swrlapi.factory.DefaultSWRLRuleAndQueryEngine@3f34edfc
Is there a way in the swrlapi to select which engine to use??
Thanks.