I have OWL with few classes and slots. I am new Jess and I would like to add few simple inference rules through JessTab.

Class Hazard has subclass Earthquake which has property magnitude
Class County has object property contains_facility which has Range of type Facility
Class Facility has a sub-class Dam

I want to create simple rule for instances X and Y like
1) If Earthquake.magnitude in county X "is greater than or equal to" 6
             If Earhquake affects county X and county X has Dam Y
             Then create new Hazard sub-class called Flood (and show it affects county X)
     Else
             Earthquake affects county X

How do we write Jess rule to do arithmetic comparison and add class/instances based on that?

-Hemant

Reply via email to