has unit
- CURIE:
gmeow:hasUnit - IRI: https://blackcatinformatics.ca/gmeow/hasUnit
- Category: property
- Defined by:
gmeow:slices/kernel - Box roles: RBox role (What is this?)
Relates a quantitative value or measurement to its QUDT unit (by reference, never imported). Domain-free: used by temporal measurements, spatial measurements, and any other quantified claim.
Structure
Property shape: object property; ? -> qudt:Unit; functional
Practical Pattern
Use gmeow:hasUnit from ? to qudt:Unit 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.
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> .
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> .
Common Companion Terms
gmeow:MeasuredValue, gmeow:Quantity, gmeow:ScalarQuantity, gmeow:hasDeterminacy, gmeow:hasGranularity, gmeow:hasReferenceFrame
Cross-Cutting Concerns
External Equivalences
Equivalent or closely aligned targets: om, 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:hasUnit |
equivalence | - |
skos:closeMatch | om:Unit | gmeow-observations.sssom.tsv; gmeow:eqObs055; confidence 0.85 |
gmeow:hasUnit |
equivalence | - |
skos:closeMatch | qudt:hasUnit | gmeow-temporal.sssom.tsv; gmeow:eqTemporal024; confidence 0.9 |
Usage Advice
Use when
- Use to name the unit of any quantitative value — duration, distance, angle, mass — so a magnitude is never published or compared without its unit (no silent units).
Avoid when
- Avoid inventing local unit individuals or importing QUDT axioms; reference QUDT units by IRI (Principle 5). Functional by design — one unit per value — so avoid asserting conflicting units on the same node.
How to use
- Point the value at the QUDT unit IRI; keep the numeric magnitude on its own datatype property and let consumers read magnitude and unit together.
Examples
- ex:duration
gmeow:hasUnitqudt:SEC.