Skip to content

Annotation

An annotation describing the link between a "first class citizen" of the database (e.g. Gene / Allele / AGM) and an ontology term or description, supported by a single reference and an optional list of condition relations.

classDiagram SingleReferenceAssociation <|-- Annotation Annotation : condition_relations Annotation : created_by Annotation : curie Annotation : data_provider Annotation : data_provider_cross_reference Annotation : date_created Annotation : date_updated Annotation : db_date_created Annotation : db_date_updated Annotation : internal Annotation : mod_internal_id Annotation : obsolete Annotation : primary_external_id Annotation : related_notes Annotation : relation Annotation : single_reference Annotation : unique_id Annotation : updated_by

URI: alliance:Annotation

Parent Classes

Children

Slots

Name Description
condition_relations None
created_by The individual that created the entity.
curie A unique identifier for a thing. Must be either a CURIE shorthand for a URI or a complete URI
data_provider The organization (e.g. MOD) from which the data was sourced
data_provider_cross_reference CrossReference to the organization from which the data was sourced
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).
mod_internal_id The model organism database (MOD) internal identifier for the object
obsolete Entity is no longer current.
primary_external_id The primary external (non-Alliance) database identifier/curie for the object. Note that this may be an external (non-Alliance member) identifier for an object, like a UniProt ID for a protein, and may act as the MOD's/Alliance member's primary key for the entity.
related_notes Holds between an object and a list of related Note objects.
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.
single_reference holds between an object and a single reference
unique_id A non-curie unique identifier for a thing.
updated_by The individual that last modified the entity.

Mappings

Mapping Type Mapped Value
self ['alliance:Annotation']
native ['alliance:Annotation']

LinkML Specification

Direct

name: Annotation
description: 'An annotation describing the link between a "first class citizen" of
  the database (e.g. Gene / Allele / AGM) and an ontology term or description, supported
  by a single reference and an optional list of condition relations.  '
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
is_a: SingleReferenceAssociation
slots:
- curie
- unique_id
- primary_external_id
- mod_internal_id
- condition_relations
- related_notes
- data_provider
- data_provider_cross_reference
slot_usage:
  single_reference:
    name: single_reference
    domain_of:
    - SingleReferenceAssociation
    - Figure
    - ConditionRelation
    - SourceVariantGenomicLocationAssociation
    - SourceVariantTranscriptLocationAssociation
    - SourceVariantPolypeptideLocationAssociation
    - GeneToGeneOrthologyCurated
    - ExpressionExperiment
    - FunctionalGeneSet
    required: true

Induced

name: Annotation
description: 'An annotation describing the link between a "first class citizen" of
  the database (e.g. Gene / Allele / AGM) and an ontology term or description, supported
  by a single reference and an optional list of condition relations.  '
from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
is_a: SingleReferenceAssociation
slot_usage:
  single_reference:
    name: single_reference
    domain_of:
    - SingleReferenceAssociation
    - Figure
    - ConditionRelation
    - SourceVariantGenomicLocationAssociation
    - SourceVariantTranscriptLocationAssociation
    - SourceVariantPolypeptideLocationAssociation
    - GeneToGeneOrthologyCurated
    - ExpressionExperiment
    - FunctionalGeneSet
    required: true
attributes:
  curie:
    name: curie
    description: A unique identifier for a thing. Must be either a CURIE shorthand
      for a URI or a complete URI
    from_schema: https://github.com/alliance-genome/agr_curation_schema/core.yaml
    multivalued: false
    alias: curie
    owner: Annotation
    domain_of:
    - CurieObject
    - Identifier
    - OntologyTerm
    - Laboratory
    - Annotation
    - ExternalDataBaseEntityDTO
    - GeneNomenclatureSet
    range: uriorcurie
  unique_id:
    name: unique_id
    description: A non-curie unique identifier for a thing.
    from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
    multivalued: false
    alias: unique_id
    owner: Annotation
    domain_of:
    - Reagent
    - Exon
    - CodingSequence
    - Person
    - Annotation
    - ExperimentalCondition
    - ConditionRelation
    - ExpressionExperiment
    - GeneInteraction
    range: string
  primary_external_id:
    name: primary_external_id
    description: The primary external (non-Alliance) database identifier/curie for
      the object. Note that this may be an external (non-Alliance member) identifier
      for an object, like a UniProt ID for a protein, and may act as the MOD's/Alliance
      member's primary key for the entity.
    from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
    alias: primary_external_id
    owner: Annotation
    domain_of:
    - SubmittedObject
    - SubmittedObjectDTO
    - Person
    - Annotation
    - AnnotationDTO
    range: string
  mod_internal_id:
    name: mod_internal_id
    description: The model organism database (MOD) internal identifier for the object
    from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
    alias: mod_internal_id
    owner: Annotation
    domain_of:
    - SubmittedObject
    - SubmittedObjectDTO
    - Annotation
    - AnnotationDTO
    range: string
  condition_relations:
    name: condition_relations
    from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
    multivalued: true
    alias: condition_relations
    owner: Annotation
    domain_of:
    - Annotation
    - ExpressionExperiment
    range: ConditionRelation
  related_notes:
    name: related_notes
    description: Holds between an object and a list of related Note objects.
    notes:
    - The original name suggested for this slot was simply notes, but I think that
      label is reserved in LinkML for internal descriptions of objects, hence the
      related_notes label used here.
    from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
    multivalued: true
    alias: related_notes
    owner: Annotation
    domain_of:
    - Allele
    - Antibody
    - ConstructComponentSlotAnnotation
    - ConstructGenomicEntityAssociation
    - Gene
    - GeneChangeEventSlotAnnotation
    - Annotation
    - Variant
    - HTPExpressionDatasetSampleAnnotation
    - ExpressionExperiment
    range: Note
  data_provider:
    name: data_provider
    description: The organization (e.g. MOD) from which the data was sourced
    from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
    multivalued: false
    alias: data_provider
    owner: Annotation
    domain_of:
    - SubmittedObject
    - Chromosome
    - Species
    - Annotation
    - HTPExpressionDatasetAnnotation
    range: Organization
    required: true
  data_provider_cross_reference:
    name: data_provider_cross_reference
    description: CrossReference to the organization from which the data was sourced
    from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
    multivalued: false
    alias: data_provider_cross_reference
    owner: Annotation
    domain_of:
    - SubmittedObject
    - Chromosome
    - Species
    - Annotation
    - HTPExpressionDatasetAnnotation
    range: CrossReference
    required: false
  single_reference:
    name: single_reference
    description: holds between an object and a single reference
    from_schema: https://github.com/alliance-genome/agr_curation_schema/alliance_schema
    multivalued: false
    alias: single_reference
    owner: Annotation
    domain_of:
    - SingleReferenceAssociation
    - Figure
    - ConditionRelation
    - SourceVariantGenomicLocationAssociation
    - SourceVariantTranscriptLocationAssociation
    - SourceVariantPolypeptideLocationAssociation
    - GeneToGeneOrthologyCurated
    - ExpressionExperiment
    - FunctionalGeneSet
    range: Reference
    required: true
  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: Annotation
    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: Annotation
    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: Annotation
    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: Annotation
    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: Annotation
    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: Annotation
    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: Annotation
    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: Annotation
    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: Annotation
    domain_of:
    - AuditedObject
    - AuditedObjectDTO
    range: boolean