ObjectProprerty Restrictions not generating in RDFXML
Posted by MartyStache on
URL: http://owlready.306.s1.nabble.com/ObjectProprerty-Restrictions-not-generating-in-RDFXML-tp2124.html
I've been adding as indicated in the documentation ObjectProperty Restrictions and I don't see them coming out in the RDF XML. I do an example in Protege post export and see that they do then appear when I export from it.
What am I doing incorrectly??? Any help is greatly appreciated!
Here's example code of how I am capturing them:
class has_Equipments(ObjectProperty):
domain = [EquipmentContainer]
range = [Equipment]
has_Equipments.comment = ["Contained equipment."]
has_Equipments.min(0,Equipment)
has_Equipments.max(n,Equipment)
class EquipmentContainer_of(ObjectProperty):
domain = [Equipment]
range = [EquipmentContainer]
inverse_property = has_Equipments
EquipmentContainer_of.comment = ["Container of this equipment."]
EquipmentContainer_of.min(0,EquipmentContainer)
EquipmentContainer_of.max(1,EquipmentContainer)