ClassAssertion

class ClassAssertion(class_expression, individual, *, annotations=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

Parameters:
to_rdflib_node(graph, converter)[source]

Represent the class assertion axiom for RDF.

Parameters:
  • graph (Graph)

  • converter (Converter)

Return type:

BNode