[
https://issues.apache.org/jira/browse/MARMOTTA-212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13640298#comment-13640298
]
Sebastian Schaffert commented on MARMOTTA-212:
----------------------------------------------
Can you be a bit more specific about this feature? What should happen in case a
rule is evaluated (consequence triples added to triple store)? Why is the
return value of the method is boolean? Is it only about the query part of a
rule (this is already possible, see query service)?
> Extend the Rule API to support just evaluation
> ----------------------------------------------
>
> Key: MARMOTTA-212
> URL: https://issues.apache.org/jira/browse/MARMOTTA-212
> Project: Marmotta
> Issue Type: New Feature
> Components: Triple Store
> Reporter: Sergio Fernández
> Assignee: Sebastian Schaffert
> Priority: Minor
> Original Estimate: 24h
> Remaining Estimate: 24h
>
> Not the rules engine is only used by the reasoner, so:
> condition -> consequence
> But it would be nice to refactor the API to provide also the capability of
> only evaluate the rule, something like
> boolean RuleService.evaluate(Rule rule)
> Actually the code than perform the valuation is already there, so it should
> be quite easy to provide such functionality.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira