A simple implementation of the OWL2 RL Profile on top of RDFLib: it expands the graph with all possible triples that OWL RL defines. It can be used together with RDFLib to expand an RDFLib Graph object, or as a stand alone service with its own serialization.
renamed the range variable to rdfs_range to avoid conflict with built-in range function
renamed domain variable to rdfs_domain to keep domain and range naming consistent.
renamed type variable to rdf_type to avoid conflict with type built-in Type name.
renamed local variable rdfType in OWLExtras to rdf_type to keep naming consistent with other places rdf_type is used.
renamed object variable to rdf_object to avoid conflict with object built-in Type name.
renamed subject and predicate to rdf_subject and rdf_predicate to keep naming consistent with rdf_object
Tested to ensure everything still works.
renamed the
range
variable tordfs_range
to avoid conflict with built-inrange
function renameddomain
variable tordfs_domain
to keep domain and range naming consistent. renamedtype
variable tordf_type
to avoid conflict withtype
built-in Type name. renamed local variablerdfType
in OWLExtras tordf_type
to keep naming consistent with other placesrdf_type
is used. renamedobject
variable tordf_object
to avoid conflict withobject
built-in Type name. renamedsubject
andpredicate
tordf_subject
andrdf_predicate
to keep naming consistent withrdf_object
Tested to ensure everything still works.