AnnotationProperty

class AnnotationProperty(identifier)[source]

Bases: IdentifierBox

A wrapper around an identifier box with custom functionality.

Initialize the identifier box with a URIRef, Reference, or string representing a CURIE.

Methods Summary

to_rdflib_node(graph, converter)

Represent the annotation property for RDF.

Methods Documentation

Parameters:

identifier (URIRef | Reference)

to_rdflib_node(graph, converter)[source]

Represent the annotation property for RDF.

Parameters:
  • graph (Graph)

  • converter (Converter)

Return type:

Node