Declaration

class Declaration(node: URIRef | Reference | Referenced | str | IdentifierBox, type: Literal['Class', 'ObjectProperty', 'DataProperty', 'Datatype', 'AnnotationProperty', 'NamedIndividual'])[source]

Bases: Box

Declarations.

Initialize the declaration with a given identifier and type.

Methods Summary

to_funowl_args()

Get the inside of the functional OWL tag representing the declaration.

to_rdflib_node(graph, converter)

Represent this declaration for RDF.

Methods Documentation

to_funowl_args() str[source]

Get the inside of the functional OWL tag representing the declaration.

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

Represent this declaration for RDF.