Add CHEBI has_primary_input axioms to 25 'response to' EFO terms #2505
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.
Overview
This PR addresses issue #2989 by adding
RO_0004009
(has_primary_input) axioms to EFO terms that represent responses to chemical entities. These axioms link each 'response to' term with its corresponding CHEBI term, following the pattern specified in the issue.Changes Made
Added RO_0004009 Axioms to 25 Terms
Each axiom follows the exact format requested:
Example
For the existing term
response to tyrosine kinase inhibitor
(EFO_0009170), the axiom now links it to CHEBI:38637:Complete List of Mapped Terms
The following 25 EFO terms now have has_primary_input relationships to CHEBI:
Updated CHEBI Imports
Added 14 new CHEBI terms to
src/ontology/imports/chebi_terms.txt
that were not previously imported but are now referenced.Methodology
Files Modified
src/ontology/efo-edit.owl
- Added 25 RO_0004009 axiomssrc/ontology/imports/chebi_terms.txt
- Added 14 CHEBI term IRIsCoverage
Out of 116 total 'response to' terms in EFO:
The unmapped terms primarily include biologics/antibodies (which don't have CHEBI terms), therapeutic interventions (surgery, transplant, etc.), and dietary/lifestyle factors (vaccines, diets, exercise). These can be addressed in follow-up work if needed.
Validation
make normalize_src
Closes #2989
@ai agent
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.