Scalar Quantity

A scalar numeric value with a unit, determinacy model, and granularity — the entity-valued wrapper for literal observation results (temperatures, distances, counts, probabilities). Keeps gmeow:observationResult uniformly entity-valued: the scalar literal lives here, not on the observation directly.

Structure

Subclass of: gmeow:Entity, gufo:Object

Practical Pattern

Use gmeow:ScalarQuantity as a specialized kind of gmeow:Entity, gufo:Object. Add statement metadata or a standpoint when the assertion needs provenance, confidence, or vantage.

Example Snippets

These snippets are generated from canonical slice examples and trimmed to the Turtle blocks where this term appears.

Temperature Reading

# SPDX-FileCopyrightText: 2026 Blackcat Informatics® Inc. <paudley@blackcatinformatics.ca>
# SPDX-License-Identifier: CC-BY-4.0
#
# Worked example: a measurement is a reified Observation ( P11). A
# gmeow:Measurement records WHAT was observed (gmeow:observedFeature), HOW
# (gmeow:observationMethod), and from WHERE (gmeow:vantage — the sensor). Its
# result is NOT a bare number on the observation: the scalar lives in an
# entity-valued gmeow:ScalarQuantity wrapper that bundles the value with its UNIT
# and uncertainty, so a temperature is never asserted free-floating (P11 — every
# value carries its frame). The unit is aligned to QUDT by reference (P5).
@prefix gmeow: <https://blackcatinformatics.ca/gmeow/> .
@prefix ex:    <https://blackcatinformatics.ca/gmeow/examples/observations/> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .

# --- The result wrapper: value + unit + uncertainty, not a bare literal.
ex:temp a gmeow:ScalarQuantity ;
    gmeow:quantityValue       "22.5"^^xsd:decimal ;
    gmeow:quantityUncertainty "0.1"^^xsd:decimal ;
    gmeow:hasUnit             <http://qudt.org/vocab/unit/DEG_C> .

Spatial Bins

# The result is a scalar with its unit (a Quantity must declare exactly one unit,
# P11); a count of persons-per-household is the dimensionless QUDT number unit.
ex:avgHouseholdSize a gmeow:ScalarQuantity ;
    gmeow:quantityValue "2.4"^^xsd:decimal ;
    gmeow:hasUnit       <http://qudt.org/vocab/unit/NUM> .

Common Companion Terms

gmeow:Entity, gmeow:MeasuredValue, gmeow:Quantity, gmeow:hasDeterminacy, gmeow:hasGranularity, gmeow:hasReferenceFrame, gmeow:hasUnit, gmeow:assertedAt, gmeow:confidence, gmeow:recordedNoLaterThan

Cross-Cutting Concerns

frames and units, provenance and evidence

Projects To

Profile External Targets
ivoa obscore
loinc loinc

External Equivalences

Equivalent or closely aligned targets: loinc, obscore, om, sosa

Linkages

Generated from the canonical mapping DSL. SSSOM files are the generated public interchange form for term equivalences.

Term Equivalences

Source Kind Profile Predicate/Relation Target Evidence
gmeow:ScalarQuantity equivalence - skos:relatedMatch loinc:Quantity gmeow-observations.sssom.tsv; gmeow:eqObs075; confidence 0.75
gmeow:ScalarQuantity equivalence - skos:relatedMatch obscore:observable gmeow-observations.sssom.tsv; gmeow:eqObs067; confidence 0.7
gmeow:ScalarQuantity equivalence - skos:relatedMatch om:Measure gmeow-observations.sssom.tsv; gmeow:eqObs040; confidence 0.7
gmeow:ScalarQuantity equivalence - skos:closeMatch sosa:Result gmeow-observations.sssom.tsv; gmeow:eqObs008; confidence 0.7

Projection Coverage

Source Kind Profile Predicate/Relation Target Evidence
gmeow:ScalarQuantity projection ivoa projects to / <= obscore:observable gmeow:mapIvoaObservable; confidence 0.7; lossy: unit, determinacy, granularity, and reference frame are dropped; only the measured physical quantity survives
gmeow:ScalarQuantity projection loinc projects to / <= loinc:Quantity gmeow:mapLoincQuantity; confidence 0.75; lossy: unit, determinacy, granularity, and reference frame are dropped; only the numeric result value survives

Usage Advice

Use when

Avoid when

How to use

Examples

Published Alignment Graph

Alignments

RelationTarget
closeMatchsosa:Result
relatedMatchloinc:Quantity
relatedMatchobscore:observable
relatedMatchom:Measure