Skip to main content
Version: 0.0.10 (stable)

agrag.schema.formats.result.ImportedDescription

ImportedDescription(element:str, source:Literal['comment', 'definition'], description:str) -> None

One description taken from an ontology annotation.

Attributes:

  • element (str) – The class, property or relation the description belongs to.
  • source (Literal['comment', 'definition']) – The annotation used, comment or definition.
  • description (str) – The cleaned text stored in the schema.

description​

description: str

element​

element: str

source​

source: Literal['comment', 'definition']