Skip to content

Class: Sample

A physical sample with its environmental context (MIxS), host, place and date.

URI: [sosa:Sample](http://www.w3.org/ns/sosa/Sample)
 classDiagram
    class Sample
    click Sample href "../Sample/"
      NamedThing <|-- Sample
        click NamedThing href "../NamedThing/"

      Sample : accession

      Sample : collection_date

      Sample : compartment





        Sample --> "0..1" CompartmentEnum : compartment
        click CompartmentEnum href "../CompartmentEnum/"



      Sample : description

      Sample : env_broad_scale

      Sample : env_local_scale

      Sample : env_medium

      Sample : geo_loc_name

      Sample : geo_location

      Sample : has_host





        Sample --> "0..1" Host : has_host
        click Host href "../Host/"



      Sample : host_body_site

      Sample : id

      Sample : latitude

      Sample : longitude

      Sample : name

      Sample : part_of_study





        Sample --> "0..1" Study : part_of_study
        click Study href "../Study/"



## Inheritance * [NamedThing](NamedThing.md) * **Sample** ## Class Properties | Property | Value | | --- | --- | | Class URI | [sosa:Sample](http://www.w3.org/ns/sosa/Sample) | ## Slots | Name | Cardinality and Range | Description | Inheritance | | --- | --- | --- | --- | | [part_of_study](part_of_study.md) | 0..1
[Study](Study.md) | The study the sample belongs to | direct | | [accession](accession.md) | 0..1
[String](String.md) | INSDC/ENA/MGnify accession | direct | | [compartment](compartment.md) | 0..1
[CompartmentEnum](CompartmentEnum.md) | One Health compartment the sample comes from | direct | | [env_broad_scale](env_broad_scale.md) | 0..1
[Uriorcurie](Uriorcurie.md) | MIxS broad-scale environmental context, an ENVO biome | direct | | [env_local_scale](env_local_scale.md) | 0..1
[Uriorcurie](Uriorcurie.md) | MIxS local-scale environmental context, an ENVO environmental system | direct | | [env_medium](env_medium.md) | 1
[Uriorcurie](Uriorcurie.md) | MIxS environmental medium | direct | | [has_host](has_host.md) | 0..1
[Host](Host.md) | The host organism or participant the sample was taken from | direct | | [host_body_site](host_body_site.md) | 0..1
[Uriorcurie](Uriorcurie.md) | Body site the sample was taken from, as a UBERON term | direct | | [collection_date](collection_date.md) | 0..1
[Date](Date.md) | Date the sample was collected | direct | | [geo_loc_name](geo_loc_name.md) | 0..1
[String](String.md) | Free-text location as in MIxS, e | direct | | [geo_location](geo_location.md) | 0..1
[Uriorcurie](Uriorcurie.md) | Resolvable place identifier (GAZ, GeoNames) used for joins across samples | direct | | [latitude](latitude.md) | 0..1
[Float](Float.md) | Decimal degrees | direct | | [longitude](longitude.md) | 0..1
[Float](Float.md) | Decimal degrees | direct | | [id](id.md) | 1
[Uriorcurie](Uriorcurie.md) | CURIE or IRI | [NamedThing](NamedThing.md) | | [name](name.md) | 0..1
[String](String.md) | Human-readable label | [NamedThing](NamedThing.md) | | [description](description.md) | 0..1
[String](String.md) | Free-text description | [NamedThing](NamedThing.md) | ## Usages | used by | used in | type | used | | --- | --- | --- | --- | | [Container](Container.md) | [samples](samples.md) | range | [Sample](Sample.md) | | [Observation](Observation.md) | [has_feature_of_interest](has_feature_of_interest.md) | range | [Sample](Sample.md) | ## Identifier and Mapping Information ### Schema Source * from schema: https://w3id.org/micokg ## Mappings | Mapping Type | Mapped Value | | --- | --- | | self | sosa:Sample | | native | micokg:Sample | | exact | OBI:0000747 | ## LinkML Source ### Direct
name: Sample
description: A physical sample with its environmental context (MIxS), host, place
  and date.
from_schema: https://w3id.org/micokg
exact_mappings:
- OBI:0000747
is_a: NamedThing
slots:
- part_of_study
- accession
- compartment
- env_broad_scale
- env_local_scale
- env_medium
- has_host
- host_body_site
- collection_date
- geo_loc_name
- geo_location
- latitude
- longitude
slot_usage:
  env_medium:
    name: env_medium
    required: true
class_uri: sosa:Sample
### Induced
name: Sample
description: A physical sample with its environmental context (MIxS), host, place
  and date.
from_schema: https://w3id.org/micokg
exact_mappings:
- OBI:0000747
is_a: NamedThing
slot_usage:
  env_medium:
    name: env_medium
    required: true
attributes:
  part_of_study:
    name: part_of_study
    description: The study the sample belongs to.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: dct:isPartOf
    owner: Sample
    domain_of:
    - Sample
    range: Study
  accession:
    name: accession
    description: INSDC/ENA/MGnify accession.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: dct:identifier
    owner: Sample
    domain_of:
    - Sample
    range: string
  compartment:
    name: compartment
    description: One Health compartment the sample comes from.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: micokg:compartment
    owner: Sample
    domain_of:
    - Sample
    range: CompartmentEnum
  env_broad_scale:
    name: env_broad_scale
    description: MIxS broad-scale environmental context, an ENVO biome.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: mixs:0000012
    owner: Sample
    domain_of:
    - Sample
    range: uriorcurie
    bindings:
    - range: BiomeEnum
      obligation_level: RECOMMENDED
    pattern: ^ENVO:\d{8}$
  env_local_scale:
    name: env_local_scale
    description: MIxS local-scale environmental context, an ENVO environmental system.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: mixs:0000013
    owner: Sample
    domain_of:
    - Sample
    range: uriorcurie
    bindings:
    - range: EnvironmentalSystemEnum
      obligation_level: RECOMMENDED
    pattern: ^ENVO:\d{8}$
  env_medium:
    name: env_medium
    description: MIxS environmental medium. An ENVO material, or a UBERON term for
      host-associated samples (e.g. feces).
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: mixs:0000014
    owner: Sample
    domain_of:
    - Sample
    range: uriorcurie
    bindings:
    - range: EnvironmentalMaterialEnum
      obligation_level: RECOMMENDED
    required: true
    pattern: ^(ENVO:\d{8}|UBERON:\d{7})$
  has_host:
    name: has_host
    description: The host organism or participant the sample was taken from.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: micokg:has_host
    owner: Sample
    domain_of:
    - Sample
    range: Host
  host_body_site:
    name: host_body_site
    description: Body site the sample was taken from, as a UBERON term.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: micokg:host_body_site
    owner: Sample
    domain_of:
    - Sample
    range: uriorcurie
    bindings:
    - range: AnatomyEnum
      obligation_level: RECOMMENDED
    pattern: ^UBERON:\d{7}$
  collection_date:
    name: collection_date
    description: Date the sample was collected.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: mixs:0000011
    owner: Sample
    domain_of:
    - Sample
    range: date
  geo_loc_name:
    name: geo_loc_name
    description: Free-text location as in MIxS, e.g. "Spain:Barcelona".
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: mixs:0000010
    owner: Sample
    domain_of:
    - Sample
    range: string
  geo_location:
    name: geo_location
    description: Resolvable place identifier (GAZ, GeoNames) used for joins across
      samples.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: micokg:geo_location
    owner: Sample
    domain_of:
    - Sample
    range: uriorcurie
  latitude:
    name: latitude
    description: Decimal degrees.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: geo:lat
    owner: Sample
    domain_of:
    - Sample
    range: float
    minimum_value: -90
    maximum_value: 90
  longitude:
    name: longitude
    description: Decimal degrees.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: geo:long
    owner: Sample
    domain_of:
    - Sample
    range: float
    minimum_value: -180
    maximum_value: 180
  id:
    name: id
    description: CURIE or IRI. Reuse ontology IDs; mint micokg:<type>/<local-id> for
      instances.
    from_schema: https://w3id.org/micokg
    rank: 1000
    identifier: true
    owner: Sample
    domain_of:
    - NamedThing
    range: uriorcurie
    required: true
  name:
    name: name
    description: Human-readable label.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: rdfs:label
    owner: Sample
    domain_of:
    - NamedThing
    range: string
  description:
    name: description
    description: Free-text description.
    from_schema: https://w3id.org/micokg
    rank: 1000
    slot_uri: dct:description
    owner: Sample
    domain_of:
    - NamedThing
    range: string
class_uri: sosa:Sample