Integrate taxonomy with semantic enumerations #11
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR integrates framework taxonomy terms into the schemas using semantic enumerations.
This works by using a simple python script to populate a new
taxonomy.yaml
schema file with enum values from the curated list of taxonomy terms. This was easy to do since Linkml provides a python API for interacting with schemas, SchemaView. I also considered manipulating thetaxonomy.yaml
file more manually but got this working so didn't explore that any further.I added simple
activity
,impact
andenvironmentType
slots to the Project class just so these terms get pulled into the documentation in a meaningful way... I imagine we might want to reference these enums via different or even multiple slots? I left some related comments in #8