Association
A typed association between two entities, supported by evidence. Associations have three base slots: subject, object, and relation, but they can have any number of additional attributes that help qualify the relationship between the subject and the object. The subject is the curie (or identifier) of the class that is the subject of the association, and likewise the object is the curie (or identifier of the class that is the object. The relationship between subject and object is defined by the relation slot (which can also be constrained using the range of the relation).
classDiagram
AuditedObject <|-- Association
Association : created_by
Association : date_created
Association : date_updated
Association : db_date_created
Association : db_date_updated
Association : internal
Association : obsolete
Association : relation
Association : updated_by
URI: alliance:Association
Parent Classes
Children
Slots
Name | Description |
---|---|
created_by | The individual that created the entity. |
date_created | The date on which an entity was created. This can be applied to nodes or edges. |
date_updated | Date on which an entity was last modified. |
db_date_created | The date on which an entity was created in the Alliance database. This is distinct from date_created, which represents the date when the entity was originally created (i.e. at the MOD for imported data). |
db_date_updated | Date on which an entity was last modified in the Alliance database. This is distinct from date_updated, which represents the date when the entity was last modified and may predate import into the Alliance database. |
internal | Classifies the entity as private (for internal use) or not (for public use). |
obsolete | Entity is no longer current. |
relation | A high-level grouping for the relationship type. This is analogous to category for nodes. In RDF, this corresponds to rdf:predicate and in Neo4j this corresponds to the relationship type. |
updated_by | The individual that last modified the entity. |
Mappings
Mapping Type | Mapped Value |
---|---|
self | ['alliance:Association'] |
native | ['alliance:Association'] |
LinkML Specification
Direct
name: Association
description: 'A typed association between two entities, supported by evidence. Associations
have three base slots: subject, object, and relation, but they can have any number
of additional attributes that help qualify the relationship between the subject
and the object. The subject is the curie (or identifier) of the class that is the
subject of the association, and likewise the object is the curie (or identifier
of the class that is the object. The relationship between subject and object is
defined by the relation slot (which can also be constrained using the range of the
relation).'
notes:
- Keeping this more generic than biolink:association by foregoing the qualifiers and
negated slots. Association child classes must also have subject and object slots
defined, but (due to implementation issues) these must have distinct names if the
range of the slot inherits from a different base table in the database. Therefore
these are defined in the appropriate classes with a prefix indicating the class(es)
using the slot, e.g. disease_annotation_subject, allele_association_subject, allele_construct_association_object.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
is_a: AuditedObject
slots:
- relation
slot_usage:
relation:
name: relation
domain_of:
- ConstructComponentSlotAnnotation
- Association
required: true
Induced
name: Association
description: 'A typed association between two entities, supported by evidence. Associations
have three base slots: subject, object, and relation, but they can have any number
of additional attributes that help qualify the relationship between the subject
and the object. The subject is the curie (or identifier) of the class that is the
subject of the association, and likewise the object is the curie (or identifier
of the class that is the object. The relationship between subject and object is
defined by the relation slot (which can also be constrained using the range of the
relation).'
notes:
- Keeping this more generic than biolink:association by foregoing the qualifiers and
negated slots. Association child classes must also have subject and object slots
defined, but (due to implementation issues) these must have distinct names if the
range of the slot inherits from a different base table in the database. Therefore
these are defined in the appropriate classes with a prefix indicating the class(es)
using the slot, e.g. disease_annotation_subject, allele_association_subject, allele_construct_association_object.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
is_a: AuditedObject
slot_usage:
relation:
name: relation
domain_of:
- ConstructComponentSlotAnnotation
- Association
required: true
attributes:
relation:
name: relation
description: A high-level grouping for the relationship type. This is analogous
to category for nodes. In RDF, this corresponds to rdf:predicate and in Neo4j
this corresponds to the relationship type.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
is_a: association_slot
alias: relation
owner: Association
domain_of:
- ConstructComponentSlotAnnotation
- Association
range: string
required: true
created_by:
name: created_by
description: The individual that created the entity.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
domain: AuditedObject
multivalued: false
alias: created_by
owner: Association
domain_of:
- AuditedObject
range: Person
date_created:
name: date_created
description: The date on which an entity was created. This can be applied to nodes
or edges.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
aliases:
- creation_date
exact_mappings:
- dct:createdOn
- WIKIDATA_PROPERTY:P577
alias: date_created
owner: Association
domain_of:
- AuditedObject
- AuditedObjectDTO
range: datetime
updated_by:
name: updated_by
description: The individual that last modified the entity.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
domain: AuditedObject
multivalued: false
alias: updated_by
owner: Association
domain_of:
- AuditedObject
range: Person
date_updated:
name: date_updated
description: Date on which an entity was last modified.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
aliases:
- date_last_modified
alias: date_updated
owner: Association
domain_of:
- AuditedObject
- AuditedObjectDTO
range: datetime
db_date_created:
name: db_date_created
description: The date on which an entity was created in the Alliance database. This
is distinct from date_created, which represents the date when the entity was
originally created (i.e. at the MOD for imported data).
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
alias: db_date_created
owner: Association
domain_of:
- AuditedObject
- AuditedObjectDTO
range: datetime
db_date_updated:
name: db_date_updated
description: Date on which an entity was last modified in the Alliance database. This
is distinct from date_updated, which represents the date when the entity was
last modified and may predate import into the Alliance database.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
alias: db_date_updated
owner: Association
domain_of:
- AuditedObject
- AuditedObjectDTO
range: datetime
internal:
name: internal
description: Classifies the entity as private (for internal use) or not (for public
use).
notes:
- Default value is true.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
alias: internal
owner: Association
domain_of:
- AuditedObject
- AuditedObjectDTO
range: boolean
required: true
obsolete:
name: obsolete
description: Entity is no longer current.
notes:
- Obsolete entities are preserved in the database for posterity but should not
be publicly displayed.
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
alias: obsolete
owner: Association
domain_of:
- AuditedObject
- AuditedObjectDTO
range: boolean