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

Add new bone length from to DOSDP pattern template #75

Open
wants to merge 25 commits into
base: master
Choose a base branch
from
Open
Changes from 5 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
3acbac9
Add new bone length from to DOSDP pattern template
rays22 Mar 17, 2022
66185aa
Fix multi_clause syntax in pattern template
rays22 Mar 21, 2022
8d97a2a
Add multiple subClassOf axioms
rays22 Mar 22, 2022
7e6c4cf
Add missing fovt var
rays22 Mar 24, 2022
113703e
Fix text definition
rays22 Mar 25, 2022
5877961
Add an xref on the definition
rays22 Apr 1, 2022
b8211e9
adding my edits
meghalithic Apr 1, 2022
82eb444
Update bone_length_from_to.yaml
meghalithic Jul 28, 2022
956219c
Update bone_length_from_to.yaml
meghalithic Jul 28, 2022
d7b3b93
Merge branch 'master' into issue73
rays22 Aug 19, 2022
ad9d851
Implement data_lis_vars
rays22 Aug 19, 2022
06e82cf
Update bone_length_from_to.yaml
meghalithic Aug 19, 2022
1560a76
Add comment field to template
rays22 Aug 19, 2022
fbfbc71
Merge branch 'issue73' of github.com:obophenotype/bio-attribute-ontol…
rays22 Aug 19, 2022
2e912b9
Fix xref annotation
rays22 Aug 19, 2022
2d61e2c
Delete redundant vars and axioms
rays22 Aug 19, 2022
8e9ab15
fixing pattern
meghalithic Aug 26, 2022
ea7f682
Update dosdp patterns file
Aug 26, 2022
599e0a1
getting rid of unneeded syn
meghalithic Aug 26, 2022
57fadc6
Merge branch 'master' into issue73
matentzn Nov 26, 2022
55481cb
Update length_from_to.yaml
meghalithic Feb 9, 2023
4869992
Update length_from_to.yaml
meghalithic Feb 9, 2023
fc03cf1
Merge branch 'master' into issue73
rays22 Feb 16, 2023
fef5f75
Merge branch 'master' into issue73
rays22 Feb 22, 2023
e3dc2fe
Update pattern templates
rays22 Mar 2, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
79 changes: 79 additions & 0 deletions src/patterns/dosdp-patterns/bone_length_from_to.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
---
pattern_name: bone_length_from_to

pattern_iri: http://purl.obolibrary.org/obo/oba/patterns/bone_length_from_to.yaml

description: 'A bone length trait that is the distance between two anatomical reference points measured in a straight line.'

# examples:
# - http://purl.obolibrary.org/obo/FOVT_0001070 # femur length from caput to lateral condyle
# - http://purl.obolibrary.org/obo/FOVT_0001077 # length of talus along the midline
# - http://purl.obolibrary.org/obo/FOVT_0000007 # femur length from caput to medial condyle

contributors:
- https://orcid.org/0000-0002-7073-9172 # David Osumi-Sutherland
matentzn marked this conversation as resolved.
Show resolved Hide resolved
- https://orcid.org/0000-0001-8314-2140 # Ray Stefancsik
- https://orcid.org/0000-0002-7356-1779 # Nicolas Matentzoglu
- https://orcid.org/0000-0003-2699-3066 # Meghan A. Balk

classes:
skeletal_element: UBERON:0004765
anatomical_entity: UBERON:0001062
length: PATO:0000122
line: BFO:0000026 # one-dimensional spatial region
physical_object_quality: PATO:0001241

relations:
connected_to: RO:0002170
characteristic_of: RO:0000052

annotationProperties:
exact_synonym: oio:hasExactSynonym
meghalithic marked this conversation as resolved.
Show resolved Hide resolved
related_synonym: oio:hasRelatedSynonym
xref: oio:hasDbXref

vars:
bone: "'skeletal_element'"
from: "'anatomical_entity'"
to: "'anatomical_entity'"
fovt: "'physical_object_quality'" # FOVT id

name:
text: "%s length from %s to %s"
vars:
- bone
- from
- to

annotations:
- annotationProperty: related_synonym
text: "%s length"
vars:
- bone

meghalithic marked this conversation as resolved.
Show resolved Hide resolved
- annotationProperty: xref
text: "FOVT:%s" # give FOVT id here
vars:
- fovt
meghalithic marked this conversation as resolved.
Show resolved Hide resolved

def:
text: "The length of a line from %s of a %s to %s."
rays22 marked this conversation as resolved.
Show resolved Hide resolved
vars:
- from
- bone
- to
rays22 marked this conversation as resolved.
Show resolved Hide resolved

logical_axioms:
- axiom_type: subClassOf
text: "'length' and 'characteristic_of' some %s"
vars:
- bone
- axiom_type: subClassOf
text: "'characteristic_of' some ('line' and 'connected_to' some %s)"
rays22 marked this conversation as resolved.
Show resolved Hide resolved
vars:
- from
- axiom_type: subClassOf
text: "'characteristic_of' some ('line' and 'connected_to' some %s)"
vars:
- to
...
rays22 marked this conversation as resolved.
Show resolved Hide resolved