Skip to content

Class: Activity

A provence-generating activity

URI: cellcard:Activity

Slots

Name Range Cardinality Description Info
id string 0..1 A unique identifier for a thing.
It MUST be either a CURIE shorthand for a URI or a complete URI .
name string 0..1 A human readable label for an entity .
started_at_time datetime 0..1 None .
ended_at_time datetime 0..1 None .
was_informed_by Activity 0..1 None .
was_associated_with Agent 0..1 None .
used string 0..1 None .

Usages

used by used in type used
AttributeValue was_generated_by range activity
QuantityValue was_generated_by range activity
ImageValue was_generated_by range activity
TextValue was_generated_by range activity
UrlValue was_generated_by range activity
PersonValue was_generated_by range activity
Activity was_informed_by range activity
Activity used domain activity
Agent was_informed_by range activity

Identifier and Mapping Information

LinkML Specification

Direct

name: activity
exact_mappings:
- prov:Activity
description: A provence-generating activity
in_subset:
- provenance
from_schema: https://cellcards.org/schema/cellcard-core
slots:
- id
- name
- started at time
- ended at time
- was informed by
- was associated with
- used

Induced

name: activity
exact_mappings:
- prov:Activity
description: A provence-generating activity
in_subset:
- provenance
from_schema: https://cellcards.org/schema/cellcard-core
attributes:
  id:
    name: id
    description: 'A unique identifier for a thing.

      It MUST be either a CURIE shorthand for a URI or a complete URI'
    from_schema: https://cellcards.org/schema/cellcard-core
    multivalued: false
    identifier: true
    alias: id
    owner: activity
    range: string
  name:
    name: name
    description: A human readable label for an entity
    from_schema: https://cellcards.org/schema/cellcard-core
    multivalued: false
    alias: name
    owner: activity
    range: string
  started at time:
    name: started at time
    exact_mappings:
    - prov:startedAtTime
    comments:
    - 'The regex for ISO-8601 format was taken from here: https://www.myintervals.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
      It may not be complete, but it is good enough for now.'
    in_subset:
    - provenance
    from_schema: https://cellcards.org/schema/cellcard-core
    alias: started_at_time
    owner: activity
    range: datetime
    pattern: ^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$
  ended at time:
    name: ended at time
    exact_mappings:
    - prov:endedAtTime
    comments:
    - 'The regex for ISO-8601 format was taken from here: https://www.myintervals.com/blog/2009/05/20/iso-8601-date-validation-that-doesnt-suck/
      It may not be complete, but it is good enough for now.'
    in_subset:
    - provenance
    from_schema: https://cellcards.org/schema/cellcard-core
    alias: ended_at_time
    owner: activity
    range: datetime
    pattern: ^([\+-]?\d{4}(?!\d{2}\b))((-?)((0[1-9]|1[0-2])(\3([12]\d|0[1-9]|3[01]))?|W([0-4]\d|5[0-2])(-?[1-7])?|(00[1-9]|0[1-9]\d|[12]\d{2}|3([0-5]\d|6[1-6])))([T\s]((([01]\d|2[0-3])((:?)[0-5]\d)?|24\:?00)([\.,]\d+(?!:))?)?(\17[0-5]\d([\.,]\d+)?)?([zZ]|([\+-])([01]\d|2[0-3]):?([0-5]\d)?)?)?)?$
  was informed by:
    name: was informed by
    exact_mappings:
    - prov:wasInformedBy
    in_subset:
    - provenance
    from_schema: https://cellcards.org/schema/cellcard-core
    alias: was_informed_by
    owner: activity
    range: activity
  was associated with:
    name: was associated with
    exact_mappings:
    - prov:wasAssociatedWith
    in_subset:
    - provenance
    from_schema: https://cellcards.org/schema/cellcard-core
    alias: was_associated_with
    owner: activity
    range: agent
  used:
    name: used
    mappings:
    - prov:used
    in_subset:
    - provenance
    from_schema: https://cellcards.org/schema/cellcard-core
    domain: activity
    alias: used
    owner: activity
    range: string