Hi all,

I am beginning with Jena and I struggle with the specification of a rule
that would help infer new statements.

More concretely, I would like to know how to compare values of different
properties of a same resource in a rule file, following the n3 syntax.

E.g. [rule1: (?f pre:father ?a) (?u pre:brother ?f) -> (?u pre:uncle ?a)]

If we assume f and u have a property age and I would like to test whether
that property has the same value or not for both, how would I do it ?

Thanks, Lookman

Reply via email to