|
Hi,
We created a rule using SWRL. In that rule refers to a class's properties where that class itself is an object of a tuple.
rule = Imp()
rule.set_as_rule("""Variant(?v), hasObservation(?v , ?obs), hasCategory(?obs, ?cat), hasCategory(?cat, ?grp),prefLabel(?grp, ?lbl), stringEqualIgnoreCase(?lbl, 'Phenotype Match'),hasScore(?obs, ?score), equal(?score, 0) -> UnKnownPhenotype(?v)""")
After removing stringEqualIgnoreCase condition the rule is working. But with the condition, the reasoner not able to classify the instance.
Can you please help us with the above rule.
|