Re: Difference between OWLReady2 and RDFLib

Posted by Jiba on
URL: http://owlready.306.s1.nabble.com/Difference-between-OWLReady2-and-RDFLib-tp845p858.html

No, Owlready has also simplified ways to access restrictions.

You can either access them as object in Class.is_a, or (for simple restriction) access them as class attributes with the following syntax : Class.property (by default, "some" restrictions are returned; this can be confidured on a per property basis for using "only").

Jiba