DescriptionMacro

class DescriptionMacro(subject, value, *, language=None, annotations=None)[source]

Bases: StringMacro

A macro for description string assertion.

>>> DescriptionMacro("hgnc:16793", "retinoic acid early transcript 1E").to_funowl()
'AnnotationAssertion(dcterms:description hgnc:16793 "retinoic acid early transcript 1E")'

Instatitate the string assertion macro.

Attributes Summary

annotation_property

Attributes Documentation

Parameters:
  • subject (URIRef | Reference | str | IdentifierBox)

  • value (str | Literal)

  • language (str | None)

  • annotations (list[Annotation] | None)

annotation_property: ClassVar[URIRef | Reference] = NamedReference(prefix='dcterms', identifier='description', name='description')