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 1 commit
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
41 changes: 33 additions & 8 deletions src/patterns/dosdp-patterns/bone_length_from_to.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ classes:
length: PATO:0000122
line: BFO:0000026 # one-dimensional spatial region
physical_object_quality: PATO:0001241
NCBITaxon: OBI:0100026

relations:
connected_to: RO:0002170
Expand All @@ -30,33 +31,50 @@ relations:
annotationProperties:
exact_synonym: oio:hasExactSynonym
meghalithic marked this conversation as resolved.
Show resolved Hide resolved
related_synonym: oio:hasRelatedSynonym
broad_synonym: oio:hasBroadSynonym
xref: oio:hasDbXref
measured_in_taxon: oio:measuredInTaxon
not_measured_in_taxon: oio:notMeasuredInTaxon

vars:
bone: "'skeletal_element'"
from: "'anatomical_entity'"
to: "'anatomical_entity'"
fovt: "'physical_object_quality'" # FOVT id
def_ref: "xsd:string"
taxa: "NCBITaxon"

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

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

meghalithic marked this conversation as resolved.
Show resolved Hide resolved
- annotationProperty: exact_synonym
text: "%s length"
vars:
- bone

- annotationProperty: broad_synonym
text: "%s length"
vars:
- bone

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

- annotationProperty: measured_in_taxon
text: "%s"
vars:
- taxa

- annotationProperty: not_measured_in_taxon
text: "%s"
vars:
- taxa

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:
Expand All @@ -70,6 +88,13 @@ def:
- def_ref


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


logical_axioms:
- axiom_type: subClassOf
text: "'length' and 'characteristic_of' some %s"
Expand Down