pattern_name: abnormalColorOfAnatomicalEntityByColor

pattern_iri: http://purl.obolibrary.org/obo/upheno/patterns-dev/abnormalColorOfAnatomicalEntityByColor.yaml
description: "Anatomical entity with an abnormal specified color."

#  examples:
#    - http://purl.obolibrary.org/obo/MP_0003136
#    - http://purl.obolibrary.org/obo/MP_0011414

contributors:
  - https://orcid.org/0000-0001-8314-2140
  - https://orcid.org/0000-0002-7073-9172
  - https://orcid.org/0000-0001-5208-3432
  - https://orcid.org/0000-0003-4606-0597
  - https://orcid.org/0000-0002-9900-7880

classes:
  abnormal: PATO:0000460
  anatomical_entity: UBERON:0001062
  color: PATO:0000014

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

annotationProperties:
  exact_synonym: oio:hasExactSynonym

vars:
  entity: "'anatomical_entity'"
  color: "'color'"

name:
  text: "abnormally %s %s color"
  vars:
    - color
    - entity

annotations:
  - annotationProperty: exact_synonym
    text: "%s type abnormality of %s color"
    vars:
      - color
      - entity

  - annotationProperty: exact_synonym
    text: "abnormal %s color of %s"
    vars:
      - color
      - entity

def:
  text: "An abnormally %s %s."
  vars:
    - color
    - entity


equivalentTo:
  text: "'has_part' some (%s and ('characteristic_of' some %s) and ('has_modifier' some 'abnormal'))"
  vars:
    - color
    - entity
