Declaration

class Declaration(node, type)[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

Parameters:
  • node (IdentifierBoxOrHint)

  • type (DeclarationType)

to_funowl_args()[source]

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

Return type:

str

to_rdflib_node(graph, converter)[source]

Represent this declaration for RDF.

Parameters:
  • graph (Graph)

  • converter (Converter)

Return type:

Node