pyhornedowl.model.FacetRestriction
- class pyhornedowl.model.FacetRestriction(f: Facet, l: Literal)
An OWL2 FacetRestriction
- serialize(self, serialization: Literal['ofn'] = 'ofn', prefix_mapping: PrefixMapping = None)
Renders this element on its own, in OWL functional (
"ofn") syntax. The per-element counterpart toPyIndexedOntology.save_to_string.horned-owl has no Manchester rendering for this class: Manchester syntax writes it only inside the element that contains it, so
"omn"is an error.