ObjectOneOf

class ObjectOneOf(individuals)[source]

Bases: ClassExpression

A class expression defined in 8.1.4 Enumeration of Individuals.

Initialize the model with a list of class expressions.

Attributes Summary

property_type

Methods Summary

to_funowl_args()

Get the inside of the functional OWL tag representing the enumeration of individuals.

to_rdflib_node(graph, converter)

Represent this enumeration of individuals for RDF.

Attributes Documentation

Parameters:

individuals (Sequence[IdentifierBox])

property_type: ClassVar[URIRef] = rdflib.term.URIRef('http://www.w3.org/2002/07/owl#oneOf')

Methods Documentation

to_funowl_args()[source]

Get the inside of the functional OWL tag representing the enumeration of individuals.

Return type:

str

to_rdflib_node(graph, converter)[source]

Represent this enumeration of individuals for RDF.

Parameters:
  • graph (Graph)

  • converter (Converter)

Return type:

IdentifiedNode