AnnotationProperty

class AnnotationProperty(identifier: URIRef | Reference | Referenced | str | IdentifierBox)[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

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

Represent the annotation property for RDF.