Skip to content

Add attribute_location_during_activity DOSDP and terms in the pattern#394

Merged
aleixpuigb merged 14 commits into
masterfrom
391_fasting_attributes
Sep 30, 2025
Merged

Add attribute_location_during_activity DOSDP and terms in the pattern#394
aleixpuigb merged 14 commits into
masterfrom
391_fasting_attributes

Conversation

@aleixpuigb

@aleixpuigb aleixpuigb commented Sep 3, 2025

Copy link
Copy Markdown
Collaborator

Introduces the attribute_location_during_activity DOSDP pattern, supporting data and new classes for 'level of glucose in blood during fasting' and 'level of insulin in blood during fasting'. Updates definitions.owl with new class and property declarations and version info.

Introduces the attribute_location_during_activity DOSDP pattern, supporting data and new classes for 'level of glucose in blood during fasting' and 'level of insulin in blood during fasting'. Updates definitions.owl with new class and property declarations and version info.
@aleixpuigb aleixpuigb self-assigned this Sep 3, 2025
Replaces the 'happens_during' (RO_0002092) relation with 'collected_during' (RO_0017502) in the attribute_location_during_activity DOSDP.
Comment thread docs/odk-workflows/RepositoryFileStructure.md
@aleixpuigb

Copy link
Copy Markdown
Collaborator Author

I have added obi imports. I need NCIT for other terms in #391, can I keep the addition of this import here, or remove from this PR and re-add it in the new PR?

Replaced NCIT:C63663 with OBI:0003653 for fasting activity in TSV and OWL files. Updated logical definition in attribute_location_during_activity.yaml to nest 'collected_during' within the entity's location
@aleixpuigb aleixpuigb marked this pull request as ready for review September 9, 2025 12:06

@matentzn matentzn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great - a few comments!

Comment thread src/ontology/oba-odk.yaml Outdated
mirror_type: custom
- id: lipidmaps
mirror_type: custom
- id: NCIT

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can we make this lower case - mixing cases in filenames just causes confusion in downstream applications.

@@ -0,0 +1,3 @@
defined_class defined_class_name entity entity_name attribute attribute_name location location_name activity activity_name exact_synonyms broad_synonyms narrow_synonyms xrefs orcid usage_notes
OBA:2090000 level of glucose in blood during fasting CHEBI:17234 glucose PATO:0000070 amount UBERON:0000178 blood OBI:0003653 fasting

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Check with @ar-ibrahim if these are the correct glucose and insulin terms, I seem to remember there are so many always.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for checking, I have used the same CHEBI terms used in blood glucose amount (OBA:VT0000188) and amount of insulin in blood (OBA:2060174).

quality: PATO:0000001
entity: owl:Thing
location: UBERON:0001062
activity: owl:Thing

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hack.. a bit unfortunate, but I am not too bothered.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wasn't sure how to restrict activity. It made sense to restrict to the activity branch in NCIT, but now we are using the term from OBI, which is a planned process.

Comment thread src/patterns/dosdp-patterns/attribute_location_during_activity.yaml Outdated
Comment thread src/patterns/dosdp-patterns/attribute_location_during_activity.yaml
@aleixpuigb aleixpuigb requested a review from matentzn September 26, 2025 09:29

@matentzn matentzn left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great job @aleixpuigb

@aleixpuigb aleixpuigb merged commit 3da8a06 into master Sep 30, 2025
@aleixpuigb aleixpuigb deleted the 391_fasting_attributes branch September 30, 2025 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants