Open 233yun opened 2 years ago
An OWL object property cannot have a boolean range. Object properties relate two OWL indiviudals.
Thank you very much for your reply! I set owlrule1
as the data property and solved the problem. Thank you very much for your help!
I try to write some Inspection rules with swrl,
OwlProjetUnit(?x) ^ owlhascoordsystem(?x, ?y) ^ OwlGeomSpacePositionCoordSystem(?y)->owlrule1(?x,true)
,owlrule1
is a Inspection rule ofOwlProjetUnit
. in Ontology model,owlrule1
is define as a object property of theOwlProjetUnit
class, and its range is boolean. SWRL Tab shows thattrue
is invalid, I am confused.