I can't find a solution to this swrl rule. let's say I have a class named 'AmericanCity', and a class named 'CanadianCity', and I have a 3rd class named 'NotAmerican'.. how can I say that if an individual x doesn't belong to the AmericanCity class, then it is NotAmerican?
Asked
Active
Viewed 23 times
0
-
1that would only work if it would explicitly defined for the individual to not be instance of a class. Note, in OWL and therefore in SWRL the Open World Assumption holds. Absence of information doesn't mean the negation holds – UninformedUser Apr 26 '23 at 05:56
-
HTH: https://stackoverflow.com/a/59810271 – Stanislav Kralin May 28 '23 at 20:04