nfdi4plants / ARCtrl

Library for management of Annotated Research Contexts (ARCs) using an in-memory representation and runtime-agnostic contract systems.
MIT License
11 stars 8 forks source link

[Feature Request] RO-Crate export - split ontology term accession #435

Open floWetzels opened 3 weeks ago

floWetzels commented 3 weeks ago

The RO-Crate export writes the content of termAccession in an OntologyAnnotation into the termCode property of the schema type DefinedTerm. In ISA, the termAccession is usually the full url to the term. However, as the name suggests, termCode is intended to only contain the term code (last part of the url). @JonasLukasczyk, @HLWeil and I suggest to create two schema properties from a termAccession: url (full link) and termCode (only the actual code). The logic for computing all those parts should already be available in ARCtrl.