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 partial pattern to help queries #905

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
pattern_name: hasPartCharacteristicOfAnatomicalEntity.yaml

pattern_iri: http://purl.obolibrary.org/obo/upheno/patterns-dev/hasPartCharacteristicOfAnatomicalEntity.yaml

description: 'Use this partial phenotype pattern to group phenotypes by
anatomical entity. For example, use this to group "head" related phenotypes.'


contributors:
- https://orcid.org/0000-0001-8314-2140 # Ray Stefancsik
- https://orcid.org/0000-0002-7356-1779 # Nicolas Matentzoglu
- https://orcid.org/0000-0003-4606-0597 # Susan Bello
- https://orcid.org/0000-0002-6490-7723 # Anna V. Anagnostopoulos

classes:
anatomical_entity: UBERON:0001062

relations:
characteristic_of: RO:0000052
has_part: BFO:0000051

annotationProperties:
exact_synonym: oio:hasExactSynonym
related_synonym: oio:hasRelatedSynonym
xref: oio:hasDbXref

vars:
anatomical_entity: "'anatomical_entity'" # "'variable_range'"

name:
text: "%partially %s phenotype"
vars:
- anatomical_entity

annotations:
- annotationProperty: exact_synonym
text: "%s phenotype component"
vars:
- anatomical_entity

- annotationProperty: xref
text: "AUTO:patterns/patterns/chemical_role_attribute"

def:
text: "A phenotype that is related to the %s."
vars:
- anatomical_entity

subClassOf:
text: "'has_part' some ('characteristic_of' some %s)"
vars:
- anatomical_entity
...