Skip to content

Time

QuantityValue restricted to time units, that is a duration. It shows the per-quantity subclass pattern: constrain the units, default to the SI one, and give each unit individual its community aliases.

Not the same as the time module

This is the quantity kind Time: a duration with a unit. The time module is about process time, that is temporal regions, process start and end, and temporalized qualities. Upstream ontologies use the same word for both, so mapping one onto the other is a mistake that is easy to make and hard to notice.

TermConstraintsConsensus mappingAlternative mappings
typearray, default ["QuantityValue"]@type-
"QuantityValue"type aliasqudt:Quantity value
value *numberqudt:value
unitstring, format iri-referencequdt:has unit
standard_uncertainty
Standard uncertainty, expressed in the unit of value (GUM convention)
numberqudt:standard uncertainty
relative_standard_uncertainty
Dimensionless ratio, not percent; ratio-scale quantities only, undefined at value 0; redundant with standard_uncertainty (u = r * |v|), give only one
numberqudt:relative standard uncertainty-
Time
typedefault ["Time"]@type-
"Time"type aliasqkind:Time
  • emmo: emmo:Time
    Time (ISO 80000 item 3-7); Duration (EMMO_0adabf6f) is its subclass
unitenum, default "SEC"qudt:has unit-
"SEC"
second
value aliasqunit:Second
"MilliSEC"
milli_second
value aliasqunit:Millisecond
"HR"
hour
value aliasqunit:Hour

* marks a required property.

{
  "$schema": "https://oo-ld.org/latest/meta/oold-meta-schema.json",
  "$id": "Time.schema.json",
  "x-oold-uuid": "d06f35fd-0b42-54db-a2e6-1c329204346d",
  "x-oold-version": "0.1.0",
  "title": "Time",
  "examples": [
    {
      "type": [
        "Time"
      ],
      "value": 12.7,
      "unit": "SEC",
      "standard_uncertainty": 0.05
    }
  ],
  "allOf": [
    {
      "$ref": "QuantityValue.schema.json"
    }
  ],
  "@context": [
    "QuantityValue.schema.json",
    {
      "qkind": "http://qudt.org/vocab/quantitykind/",
      "Time": "qkind:Time",
      "SEC": "qunit:SEC",
      "MilliSEC": "qunit:MilliSEC",
      "HR": "qunit:HR"
    }
  ],
  "properties": {
    "type": {
      "default": [
        "Time"
      ]
    },
    "unit": {
      "enum": [
        "SEC",
        "MilliSEC",
        "HR"
      ],
      "default": "SEC",
      "x-enum-varnames": [
        "second",
        "milli_second",
        "hour"
      ]
    }
  },
  "x-oold-context": {
    "Time": {
      "emmo:EMMO_d4f7d378_5e3b_468a_baa1_a7e98358cda7": {
        "x-oold-sssom": {
          "predicate_id": "skos:exactMatch",
          "mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv",
          "object_source_version": "https://w3id.org/emmo/1.0.4",
          "comment": "Time (ISO 80000 item 3-7); Duration (EMMO_0adabf6f) is its subclass"
        }
      }
    },
    "SEC": {
      "emmo:Second": {
        "x-oold-sssom": {
          "predicate_id": "skos:exactMatch",
          "mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv"
        }
      },
      "obo:UO_0000010": {
        "x-oold-sssom": {
          "predicate_id": "skos:exactMatch",
          "mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv",
          "comment": "UO second; UO units are classes, punning like EMMO#377"
        }
      }
    },
    "MilliSEC": {
      "emmo:MilliSecond": {
        "x-oold-sssom": {
          "predicate_id": "skos:exactMatch",
          "mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv"
        }
      },
      "obo:UO_0000028": {
        "x-oold-sssom": {
          "predicate_id": "skos:exactMatch",
          "mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv",
          "comment": "UO millisecond"
        }
      }
    },
    "HR": {
      "emmo:Hour": {
        "x-oold-sssom": {
          "predicate_id": "skos:exactMatch",
          "mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv"
        }
      },
      "obo:UO_0000032": {
        "x-oold-sssom": {
          "predicate_id": "skos:exactMatch",
          "mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv",
          "comment": "UO hour"
        }
      }
    }
  }
}
$schema: https://oo-ld.org/latest/meta/oold-meta-schema.json
$id: Time.schema.json
x-oold-uuid: d06f35fd-0b42-54db-a2e6-1c329204346d
x-oold-version: 0.1.0
title: Time
examples:
- type:
  - Time
  value: 12.7
  unit: SEC
  standard_uncertainty: 0.05
allOf:
- $ref: QuantityValue.schema.json
'@context':
- QuantityValue.schema.json
- qkind: http://qudt.org/vocab/quantitykind/
  Time: qkind:Time
  SEC: qunit:SEC
  MilliSEC: qunit:MilliSEC
  HR: qunit:HR
properties:
  type:
    default:
    - Time
  unit:
    enum:
    - SEC
    - MilliSEC
    - HR
    default: SEC
    x-enum-varnames:
    - second
    - milli_second
    - hour
x-oold-context:
  Time:
    emmo:EMMO_d4f7d378_5e3b_468a_baa1_a7e98358cda7:
      x-oold-sssom:
        predicate_id: skos:exactMatch
        mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv
        object_source_version: https://w3id.org/emmo/1.0.4
        comment: Time (ISO 80000 item 3-7); Duration (EMMO_0adabf6f) is its subclass
  SEC:
    emmo:Second:
      x-oold-sssom:
        predicate_id: skos:exactMatch
        mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv
    obo:UO_0000010:
      x-oold-sssom:
        predicate_id: skos:exactMatch
        mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv
        comment: UO second; UO units are classes, punning like EMMO#377
  MilliSEC:
    emmo:MilliSecond:
      x-oold-sssom:
        predicate_id: skos:exactMatch
        mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv
    obo:UO_0000028:
      x-oold-sssom:
        predicate_id: skos:exactMatch
        mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv
        comment: UO millisecond
  HR:
    emmo:Hour:
      x-oold-sssom:
        predicate_id: skos:exactMatch
        mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/emmo.sssom.tsv
    obo:UO_0000032:
      x-oold-sssom:
        predicate_id: skos:exactMatch
        mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv
        comment: UO hour
{
  "$schema": "https://w3id.org/oo-ld/schemas/quantities/0.1/Time.schema.json",
  "@context": "https://w3id.org/oo-ld/schemas/quantities/0.1/Time.schema.json",
  "@id": "https://example.org/m1-duration",
  "type": [
    "Time"
  ],
  "value": 12.7,
  "unit": "SEC",
  "standard_uncertainty": 0.05
}

@prefix qkind: <http://qudt.org/vocab/quantitykind/> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@prefix qunit: <http://qudt.org/vocab/unit/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org/m1-duration> a qkind:Time ;
    qudt:hasUnit qunit:SEC ;
    qudt:standardUncertainty 5e-02 ;
    qudt:value 1.27e+01 .
@prefix emmo: <https://w3id.org/emmo#> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org/m1-duration> a emmo:EMMO_d4f7d378_5e3b_468a_baa1_a7e98358cda7 ;
    qudt:value 1.27e+01 ;
    emmo:EMMO_bba7f0f0_3707_42b9_b3fa_fd04610ef147 5e-02 ;
    emmo:EMMO_eeb06032_dd4f_476e_9da6_aa24302b7588 emmo:Second .
@prefix obo: <http://purl.obolibrary.org/obo/> .
@prefix qkind: <http://qudt.org/vocab/quantitykind/> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org/m1-duration> a qkind:Time ;
    obo:IAO_0000039 obo:UO_0000010 ;
    obo:OBI_0001937 1.27e+01 ;
    qudt:standardUncertainty 5e-02 .
@prefix qkind: <http://qudt.org/vocab/quantitykind/> .
@prefix qudt: <http://qudt.org/schema/qudt/> .
@prefix qunit: <http://qudt.org/vocab/unit/> .
@prefix schema1: <http://schema.org/> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

<https://example.org/m1-duration> a qkind:Time ;
    qudt:standardUncertainty 5e-02 ;
    schema1:unitCode qunit:SEC ;
    schema1:value 1.27e+01 .

Where the unit aliases come from

The EMMO 1.0.4 branch publishes around 1600 unit individuals, each carrying a qudtReference annotation. The alias table is therefore generated rather than hand-typed, and the same source gives the UCUM and UN/CEFACT codes when they are needed.