-
Notifications
You must be signed in to change notification settings - Fork 1
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
294 create branch with content of PRs #285 and #289 for testing value sets/enumerations/subsets integration with EnvO #295
Conversation
turbomam
commented
Jan 22, 2025
•
edited
Loading
edited
- create branch with content of PRs #285 and #289 for testing value sets/enumerations/subsets integration with EnvO #294
better input/output locations
…iated-ones-that-are-ready-then-build-and-release' into 294-create-branch-with-content-of-prs-285-and-289-for-testing-value-setsenumerationssubsets-integration-with-envo
Still only getting subset assignments to ENVO:03605013, ENVO:03605014, ENVO:03605015 Check NMDC subset annotations by querying envo.owl with SPARQL one way to do that: create a new graphdb repo with no reasoning and choose it/make it default import/upload
yq '.enums.[].name' src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml | egrep '^Env[BLM]' | sort
|
I need a better understanding of when the make ingest-triad
yq '.enums.[].name' src/nmdc_submission_schema/schema/nmdc_submission_schema.yaml | egrep '^Env[BLM]' | sort
|
rm -rf notebooks/environmental_context_value_sets/nmdc_env_context_subset_membership.tsv ; \
make notebooks/environmental_context_value_sets/nmdc_env_context_subset_membership.tsv cut -f3 notebooks/environmental_context_value_sets/nmdc_env_context_subset_membership.tsv | \
sort | uniq -c
|
implementation in submission-schema looks good now I had set EnvO to use rdfs:comment instead of rdfs:seeAlso for the link between the PlantAssociated value sets and the submission-schema documentation pages. That's edited but not built or pushed yet. |
submission-schema:
make squeaky-clean all test ingest-triad env-triad-robot-all
cut -f3 notebooks/environmental_context_value_sets/nmdc_env_context_subset_membership.tsv | \
sort | uniq -c
|
EnvO:
cd src/envo
./run.sh make -B nmdc-robot-all all query that with something like PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX ENVO: <http://purl.obolibrary.org/obo/ENVO_>
PREFIX oio: <http://www.geneontology.org/formats/oboInOwl#>
select ?nmdc_subset ?nl (count(?envo_class) as ?envo_class_count)
where {
?envo_class oio:inSubset ?nmdc_subset .
optional {
?envo_class rdfs:label ?el
}
?nmdc_subset rdfs:subPropertyOf* ENVO:03605010 .
optional {
?nmdc_subset rdfs:label ?nl
}
}
group by ?nmdc_subset ?nl
order by ?nmdc_subset ?nl
|
…nto 294-create-branch-with-content-of-prs-285-and-289-for-testing-value-setsenumerationssubsets-integration-with-envo
…iated-ones-that-are-ready-then-build-and-release' into 294-create-branch-with-content-of-prs-285-and-289-for-testing-value-setsenumerationssubsets-integration-with-envo