ObjectHasSelf

class ObjectHasSelf(object_property_expression)[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

Parameters:

object_property_expression (ObjectPropertyExpression)

to_funowl_args()[source]

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

Return type:

str

to_rdflib_node(graph, converter)[source]

Represent the self restriction for RDF.

Parameters:
  • graph (Graph)

  • converter (Converter)

Return type:

BNode