mesa_avu_apply_term
Resolve an OLS term, build and write its canonical AVU triple to an iRODS path, and log the annotation change in DuckLake—all in one call.
Instructions
Resolve an OLS term, build the canonical AVU triple (.<snake_label>, , ), write it to the iRODS path, and record the change in the project's DuckLake. Composite of mesa_avu_from_term + ds_add_avu, in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| iri | No | Full IRI of the OLS term. Either ``iri`` or ``curie`` is required. | |
| path | Yes | Absolute iRODS path of the data object or collection to tag. | |
| curie | No | CURIE of the OLS term (e.g. 'ENVO:00000428'). | |
| label | No | Optional term label. When omitted, the label is looked up via OLS so the AVU attribute can be ``<ontology>.<snake_case_label>``. | |
| value | Yes | User-supplied AVU value. Often the term label, but free-form. | |
| ontology_id | Yes | Ontology identifier (e.g. 'envo'). |