Length¶
QuantityValue restricted to length units. It adds no properties: it pins the permitted
units, defaults to the SI unit, and names the quantity kind in each community's vocabulary.
- module:
quantities0.3.0 - module version: 0.1 · 0.2 · dev
- extends: QuantityValue (
allOf) - extended by: Diameter
- schema file:
/quantities/dev/Length.schema.json - earlier versions: 0.1.0, 0.2.0
| Term | Constraints | Consensus mapping | Alternative mappings |
|---|---|---|---|
type | array, default ["QuantityValue"] | @type | - |
"QuantityValue" | type alias | qudt:Quantity value |
|
value * | number | qudt:value | |
unit | string, format iri-reference | qudt:has unit |
|
standard_uncertaintyStandard uncertainty, expressed in the unit of value (GUM convention) | number | qudt:standard uncertainty |
|
relative_standard_uncertaintyDimensionless ratio, not percent; ratio-scale quantities only, undefined at value 0; redundant with standard_uncertainty (u = r * |v|), give only one | number | qudt:relative standard uncertainty | - |
| Length | |||
type | default ["Length"] | @type | - |
"Length"QuantityValue restricted to length units. | type alias | qkind:Length |
|
unit | enum, default "metre" | qudt:has unit | - |
"kilo_metre" | value alias | qunit:Kilometre |
|
"metre" | value alias | qunit:Metre |
|
"milli_metre" | value alias | qunit:Millimetre |
|
"micro_metre" | value alias | qunit:Micrometre |
|
* marks a required property.
{
"$schema": "https://oo-ld.org/latest/meta/oold-meta-schema.json",
"$id": "Length.schema.json",
"x-oold-uuid": "7c1d5a80-b42f-5dd5-ace8-3ae6841f3faf",
"x-oold-version": "0.2.0",
"title": "Length",
"description": "QuantityValue restricted to length units.",
"examples": [
{
"type": [
"Length"
],
"value": 0.0254,
"unit": "metre"
}
],
"allOf": [
{
"$ref": "QuantityValue.schema.json"
}
],
"@context": [
"QuantityValue.schema.json",
{
"qkind": "http://qudt.org/vocab/quantitykind/",
"Length": "qkind:Length",
"kilo_metre": "qunit:KiloM",
"metre": "qunit:M",
"milli_metre": "qunit:MilliM",
"micro_metre": "qunit:MicroM"
}
],
"properties": {
"type": {
"default": [
"Length"
]
},
"unit": {
"enum": [
"kilo_metre",
"metre",
"milli_metre",
"micro_metre"
],
"default": "metre"
}
},
"x-oold-context": {
"Length": {
"emmo:EMMO_cd2cd0de_e0cc_4ef1_b27e_2e88db027bac": {
"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": "EMMO Length, ISO 80000 item 3-1.1"
}
},
"obo:PATO_0000122": {
"x-oold-sssom": {
"predicate_id": "skos:closeMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv",
"comment": "PATO length is a quality inhering in a bearer, not a value with a unit"
}
}
},
"kilo_metre": {
"emmo:KiloMetre": {
"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"
}
},
"obo:UO_0010066": {
"x-oold-sssom": {
"predicate_id": "skos:exactMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv",
"comment": "UO kilometer; UO units are classes, punning as in EMMO#377"
}
}
},
"metre": {
"emmo:Metre": {
"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"
}
},
"obo:UO_0000008": {
"x-oold-sssom": {
"predicate_id": "skos:exactMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv",
"comment": "UO meter; UO units are classes, punning as in EMMO#377"
}
}
},
"milli_metre": {
"emmo:MilliMetre": {
"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"
}
},
"obo:UO_0000016": {
"x-oold-sssom": {
"predicate_id": "skos:exactMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv",
"comment": "UO millimeter; UO units are classes, punning as in EMMO#377"
}
}
},
"micro_metre": {
"emmo:MicroMetre": {
"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"
}
},
"obo:UO_0000017": {
"x-oold-sssom": {
"predicate_id": "skos:exactMatch",
"mapping_set_id": "https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv",
"comment": "UO micrometer; UO units are classes, punning as in EMMO#377"
}
}
}
}
}
$schema: https://oo-ld.org/latest/meta/oold-meta-schema.json
$id: Length.schema.json
x-oold-uuid: 7c1d5a80-b42f-5dd5-ace8-3ae6841f3faf
x-oold-version: 0.2.0
title: Length
description: QuantityValue restricted to length units.
examples:
- type:
- Length
value: 0.0254
unit: metre
allOf:
- $ref: QuantityValue.schema.json
'@context':
- QuantityValue.schema.json
- qkind: http://qudt.org/vocab/quantitykind/
Length: qkind:Length
kilo_metre: qunit:KiloM
metre: qunit:M
milli_metre: qunit:MilliM
micro_metre: qunit:MicroM
properties:
type:
default:
- Length
unit:
enum:
- kilo_metre
- metre
- milli_metre
- micro_metre
default: metre
x-oold-context:
Length:
emmo:EMMO_cd2cd0de_e0cc_4ef1_b27e_2e88db027bac:
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: EMMO Length, ISO 80000 item 3-1.1
obo:PATO_0000122:
x-oold-sssom:
predicate_id: skos:closeMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv
comment: PATO length is a quality inhering in a bearer, not a value with a unit
kilo_metre:
emmo:KiloMetre:
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
obo:UO_0010066:
x-oold-sssom:
predicate_id: skos:exactMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv
comment: UO kilometer; UO units are classes, punning as in EMMO#377
metre:
emmo:Metre:
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
obo:UO_0000008:
x-oold-sssom:
predicate_id: skos:exactMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv
comment: UO meter; UO units are classes, punning as in EMMO#377
milli_metre:
emmo:MilliMetre:
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
obo:UO_0000016:
x-oold-sssom:
predicate_id: skos:exactMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv
comment: UO millimeter; UO units are classes, punning as in EMMO#377
micro_metre:
emmo:MicroMetre:
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
obo:UO_0000017:
x-oold-sssom:
predicate_id: skos:exactMatch
mapping_set_id: https://w3id.org/oo-ld/schemas/mappings/pmdco.sssom.tsv
comment: UO micrometer; UO units are classes, punning as in EMMO#377
PREFIX ex: <https://example.org/>
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#>
ex:instance
a qkind:Length ;
qudt:hasUnit qunit:M ;
qudt:value 2.54e-02 ;
.
PREFIX emmo: <https://w3id.org/emmo#>
PREFIX ex: <https://example.org/>
PREFIX qudt: <http://qudt.org/schema/qudt/>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>
ex:instance
a emmo:EMMO_cd2cd0de_e0cc_4ef1_b27e_2e88db027bac ;
qudt:value 2.54e-02 ;
emmo:EMMO_eeb06032_dd4f_476e_9da6_aa24302b7588 emmo:Metre ;
.
flowchart LR
n0["instance<br>qkind:Length"]
n1["qunit:Metre"]
n2[/"0.0254"/]
n0 -->|qudt:has unit| n1
n0 -->|qudt:value| n2
flowchart LR
n0["instance<br>emmo:Length"]
n1[/"0.0254"/]
n2["emmo:Metre"]
n0 -->|qudt:value| n1
n0 -->|emmo:hasReferencePart| n2
flowchart LR
n0["instance<br>obo:length"]
n1["obo:meter"]
n2[/"0.0254"/]
n0 -->|obo:has measurement unit label| n1
n0 -->|obo:has specified numeric value| n2
flowchart LR
n0["instance<br>qkind:Length"]
n1["qunit:Metre"]
n2[/"0.0254"/]
n0 -->|schema:unitCode| n1
n0 -->|schema:value| n2
Why PATO is only a close match¶
EMMO Length is an exact match: it is the ISQ quantity, the same thing QUDT names. PATO
length is deliberately not. PATO models length as a quality inhering in a bearer, not as a
value with a unit. Declaring that exact would assert that a number-with-unit is the same entity
as a property of an object, which is the category error the mapping is meant to expose rather
than hide.
This is why the mapping sets carry SSSOM predicates rather than a flat list of equivalents, and why the derived crosswalks refuse to chain two close matches into a third.