On 22/07/17 20:14, Abduladem Eljamel wrote:
Hello AllIs it possible in jena rules excute a condtion with two results in the same rule:if (condtion) then (result) else (other result) For example [rule: (?suri myuri:hasValueP ?P) (?vuri myuri:hasValueV ?V) lessThan(?P, ?V) -> ( myuri:instance mine:hasResult 'Some Result') ] or greaterThan(?P, ?V) -> ( myuri:instance mine:hasResult 'Some Other Result') ] Can this be in the same rule?
No, that would require two rules. Dave
