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

OntologyClass metadata additions: alternative_names, alternative_identifiers, relations #2239

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

Conversation

sierra-moxon
Copy link
Member

@sierra-moxon sierra-moxon commented Oct 31, 2024

Adds metadata to OntologyClass so that its collection in Mongo and its table in Postgres can hold cross-references (curie form), synonyms, and term descriptions available from external ontologies. It also adds a new class, OntologyRelation, to capture NMDC-search/display-relevant axioms/relationships (in particular, subclassOf and part_of relations).

In particular,r in the example data, @turbomam @cmungall - I'd like some feedback on the difference between "is_a" and "BFO:0000050" as the value for "predicate" in an OntologyRelation (using "is_a" follows the obographs convention, but I picked rdfs:subclassOf as the predicate for "is_a" because it sort of enables consistent processing of this field by downstream software?).

These changes support generic ontology metadata loading into NMDC.

Some related tickets:
microbiomedata/nmdc-server#1388 - support more facets for GO in search
microbiomedata/pilot#17 - support metadata search from ontologies
microbiomedata/pilot#12 - support ENVO search facets
microbiomedata/nmdc-field-notes#187 - field notes ENV triad term selection

We also want to provide users with more details about our existing terms. For example, we could extend the widget on the data portal search to include ontology metadata like cross-references, definitions, etc, to enable more informed selections.

Screen Shot 2024-10-31 at 12 12 00 PM

Storing these metadata in Mongo and, subsequently, in Postgres might make this data more accessible for downstream tools.

Copy link

PR Preview Action v1.4.8
🚀 Deployed preview to https://microbiomedata.github.io/nmdc-schema/pr-preview/pr-2239/
on branch gh-pages at 2024-10-31 23:20 UTC

@sierra-moxon sierra-moxon marked this pull request as ready for review November 19, 2024 22:15
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