Re: Reasoning about data property
Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Reasoning-about-data-property-tp1970p1981.html
Hi,
You can simply use:
class HighlyFlammable(SubstanceProperty):
equivalent_to = [SubstanceProperty & (substanceHasFlashpoint >= 55.0)]
Owlready will automatically consider 55.0 as a decimal, and understand it as a "some" restriction.
Jiba