Skip to content

Class: AssociationTypeMapping

A data class to hold the necessary information to produce association type counts for given entities with appropriate directional labels

URI: https://w3id.org/monarch/monarch-py/:AssociationTypeMapping

 classDiagram
    class AssociationTypeMapping
    click AssociationTypeMapping href "../AssociationTypeMapping"
      AssociationTypeMapping : category

      AssociationTypeMapping : object_label

      AssociationTypeMapping : subject_label

      AssociationTypeMapping : symmetric

Slots

Name Cardinality and Range Description Inheritance
subject_label 0..1
String
A label to describe the subjects of the association type as a whole for use i... direct
object_label 0..1
String
A label to describe the objects of the association type as a whole for use in... direct
symmetric 1
Boolean
Whether the association type is symmetric, meaning that the subject and objec... direct
category 1
String
The biolink category to use in queries for this association type direct

Identifier and Mapping Information

Schema Source

Mappings

Mapping Type Mapped Value
self https://w3id.org/monarch/monarch-py/:AssociationTypeMapping
native https://w3id.org/monarch/monarch-py/:AssociationTypeMapping

LinkML Source

Direct

name: AssociationTypeMapping
description: A data class to hold the necessary information to produce association
  type counts for given  entities with appropriate directional labels
from_schema: https://w3id.org/monarch/monarch-py
slots:
- subject_label
- object_label
- symmetric
- category
slot_usage:
  subject_label:
    name: subject_label
    description: A label to describe the subjects of the association type as a whole
      for use in the UI
    domain_of:
    - Association
    - CompactAssociation
    - AssociationTypeMapping
    - Mapping
    - TermPairwiseSimilarity
  object_label:
    name: object_label
    description: A label to describe the objects of the association type as a whole
      for use in the UI
    domain_of:
    - Association
    - CompactAssociation
    - AssociationTypeMapping
    - Mapping
    - TermPairwiseSimilarity
  symmetric:
    name: symmetric
    description: Whether the association type is symmetric, meaning that the subject
      and object labels should be interchangeable
    ifabsent: 'False'
    domain_of:
    - AssociationTypeMapping
    required: true
  category:
    name: category
    description: The biolink category to use in queries for this association type
    multivalued: false
    domain_of:
    - Association
    - AssociationCount
    - CompactAssociation
    - AssociationTypeMapping
    - Entity
    required: true

Induced

name: AssociationTypeMapping
description: A data class to hold the necessary information to produce association
  type counts for given  entities with appropriate directional labels
from_schema: https://w3id.org/monarch/monarch-py
slot_usage:
  subject_label:
    name: subject_label
    description: A label to describe the subjects of the association type as a whole
      for use in the UI
    domain_of:
    - Association
    - CompactAssociation
    - AssociationTypeMapping
    - Mapping
    - TermPairwiseSimilarity
  object_label:
    name: object_label
    description: A label to describe the objects of the association type as a whole
      for use in the UI
    domain_of:
    - Association
    - CompactAssociation
    - AssociationTypeMapping
    - Mapping
    - TermPairwiseSimilarity
  symmetric:
    name: symmetric
    description: Whether the association type is symmetric, meaning that the subject
      and object labels should be interchangeable
    ifabsent: 'False'
    domain_of:
    - AssociationTypeMapping
    required: true
  category:
    name: category
    description: The biolink category to use in queries for this association type
    multivalued: false
    domain_of:
    - Association
    - AssociationCount
    - CompactAssociation
    - AssociationTypeMapping
    - Entity
    required: true
attributes:
  subject_label:
    name: subject_label
    description: A label to describe the subjects of the association type as a whole
      for use in the UI
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    is_a: name
    alias: subject_label
    owner: AssociationTypeMapping
    domain_of:
    - Association
    - CompactAssociation
    - AssociationTypeMapping
    - Mapping
    - TermPairwiseSimilarity
    range: string
  object_label:
    name: object_label
    description: A label to describe the objects of the association type as a whole
      for use in the UI
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    is_a: name
    alias: object_label
    owner: AssociationTypeMapping
    domain_of:
    - Association
    - CompactAssociation
    - AssociationTypeMapping
    - Mapping
    - TermPairwiseSimilarity
    range: string
  symmetric:
    name: symmetric
    description: Whether the association type is symmetric, meaning that the subject
      and object labels should be interchangeable
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    ifabsent: 'False'
    alias: symmetric
    owner: AssociationTypeMapping
    domain_of:
    - AssociationTypeMapping
    range: boolean
    required: true
  category:
    name: category
    description: The biolink category to use in queries for this association type
    from_schema: https://w3id.org/monarch/monarch-py
    rank: 1000
    multivalued: false
    alias: category
    owner: AssociationTypeMapping
    domain_of:
    - Association
    - AssociationCount
    - CompactAssociation
    - AssociationTypeMapping
    - Entity
    range: string
    required: true