quantity value
- CURIE:
gmeow:quantityValue - IRI: https://blackcatinformatics.ca/gmeow/quantityValue
- Category: property
- Defined by:
gmeow:slices/observations - Box roles: RBox role (What is this?)
The numeric value of a scalar quantity, as an xsd:decimal. Functional: a scalar quantity has exactly one numeric value. Meaningful only with its unit (gmeow:hasUnit) — no silent units.
Structure
Property shape: datatype property; gmeow:ScalarQuantity -> xsd:decimal; functional
Practical Pattern
Use gmeow:quantityValue from gmeow:ScalarQuantity to xsd:decimal when the relationship itself belongs in the native GMEOW graph.
Example Snippets
These snippets are generated from canonical slice examples and trimmed to the Turtle blocks where this term appears.
Temperature Reading
- Source:
slices/core/observations/examples/temperature-reading.ttl - Examples catalog: open in catalog#example-slices-core-observations-examples-temperature-reading
# --- 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
- Source:
slices/extensions/aggregation/examples/spatial-bins.ttl - Examples catalog: open in catalog#example-slices-extensions-aggregation-examples-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
Projects To
| Profile | External Targets |
|---|---|
qb |
qb, rdf |
schema-org |
schema |
External Equivalences
Equivalent or closely aligned targets: qudt
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:quantityValue |
equivalence | - |
skos:closeMatch | qudt:quantityValue | gmeow-qudt.sssom.tsv; gmeow:eqQudt005; confidence 0.9 |
Projection Coverage
| Source | Kind | Profile | Predicate/Relation | Target | Evidence |
|---|---|---|---|---|---|
gmeow:quantityValue |
projection | qb |
projects to / <= | gmeow:observedFeature, qb:ComponentSpecification, qb:DataSet, qb:DataStructureDefinition, qb:DimensionProperty, qb:MeasureProperty, qb:Observation, qb:component, qb:dataSet, qb:dimension, qb:measure, qb:measureType, qb:obsValue, qb:structure, rdf:type |
gmeow:mapQbObservation; lossy: vantage, confidence, temporal scope, granularity, determinacy, and k-anonymity metadata are dropped in pure QB; only the measure type (function), observation value (scalar), and spatial context (observedFeature) are retained. A well-formed qb:DataSet and qb:DataStructureDefinition are emitted per observation. Suppressed when displayable=false (Principle 10). |
gmeow:quantityValue |
projection | schema-org |
projects to / <= | schema:maximumAttendeeCapacity | gmeow:mapSchemaMaximumAttendeeCapacity; confidence 0.7; lossy: the Capacity relator (provenance, unit, temporal scope, standpoint) collapses to a flat schema:maximumAttendeeCapacity integer; non-displayable/superseded capacities are suppressed; restricted to gmeow:Place to avoid projecting byte capacities from StorageLocation |
gmeow:quantityValue |
projection | schema-org |
projects to / <= | schema:occupancy | gmeow:mapSchemaOccupancy; confidence 0.7; lossy: the Occupancy relator (provenance, unit, temporal scope, standpoint) collapses to a flat schema:occupancy integer; non-displayable/superseded occupancies are suppressed; restricted to gmeow:Place to avoid projecting byte occupancies from StorageLocation |
Usage Advice
Use when
- Use to carry the bare numeric magnitude of a
gmeow:ScalarQuantity(or its aliases) — the literal that, paired withgmeow:hasUnit, makes the reading meaningful.
Avoid when
- Avoid publishing or comparing it without its
gmeow:hasUnit(no silent units), avoid it for money (usegmeow:monetaryValue, whose currency frame is required), and avoid asserting two values — it is functional.
How to use
- Put the magnitude here as xsd:decimal, name the unit with
gmeow:hasUnit, the spread withgmeow:quantityUncertainty, and the ontic model withgmeow:hasDeterminacy; consumers read magnitude and unit together.
Examples
- ex:temp22
gmeow:quantityValue22.5.