ObjectHasSelf

class ObjectHasSelf(object_property_expression: ObjectPropertyExpression | URIRef | Reference | Referenced | str | IdentifierBox)[source]

Bases: ClassExpression

A class expression defined in 8.2.4 Self-Restriction.

Initialize the model with a property expression.

Methods Summary

to_funowl_args()

Get the inside of the functional OWL tag representing the self-restriction.

to_rdflib_node(graph, converter)

Represent the self restriction for RDF.

Methods Documentation

to_funowl_args() str[source]

Get the inside of the functional OWL tag representing the self-restriction.

to_rdflib_node(graph: Graph, converter: Converter) IdentifiedNode[source]

Represent the self restriction for RDF.