ClassAssertion

class ClassAssertion(class_expression: ClassExpression | URIRef | Reference | Referenced | str | IdentifierBox, individual: URIRef | Reference | Referenced | str | IdentifierBox, *, annotations: list[Annotation] | None = None)[source]

Bases: Assertion

An axiom for 9.6.3 “Class Assertions”.

Instantiate a class assertion axiom.

Methods Summary

to_rdflib_node(graph, converter)

Represent the class assertion axiom for RDF.

Methods Documentation

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

Represent the class assertion axiom for RDF.