Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Integrate taxonomy with semantic enumerations #11

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

paul121
Copy link
Collaborator

@paul121 paul121 commented Oct 2, 2024

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 the taxonomy.yaml file more manually but got this working so didn't explore that any further.

I added simple activity, impact and environmentType 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

@paul121
Copy link
Collaborator Author

paul121 commented Oct 2, 2024

Here is the EnvironmentTypeTypes enum documentation: https://semantic-enumerations.regen-data-standards.pages.dev/schema/EnvironmentTypeTypes

Unfortunately, it looks like the meaning URIs aren't being expanded and rendered here. If they were, you could quickly navigate over to a taxonomy term's page. I imagine this might be a simple contribution to add to the linkml doc generator.

@paul121 paul121 force-pushed the semantic-enumerations branch from 7aa2ab1 to 02eb62e Compare October 3, 2024 17:56
Copy link

cloudflare-workers-and-pages bot commented Oct 3, 2024

Deploying regen-data-standards with  Cloudflare Pages  Cloudflare Pages

Latest commit: 1d1eac9
Status: ✅  Deploy successful!
Preview URL: https://70d79187.regen-data-standards.pages.dev
Branch Preview URL: https://semantic-enumerations.regen-data-standards.pages.dev

View logs

@paul121 paul121 force-pushed the semantic-enumerations branch from a3faeb8 to 1d1eac9 Compare October 3, 2024 18:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant