Thank you very much Dave. I just want to hear a confirmation from someone expertise. Regards Abdul
On Saturday, July 22, 2017, 9:37:45 PM GMT+1, Dave Reynolds <[email protected]> wrote: 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
