Skip to main content

Quantity Concept Ontology

Quantity & Degree Concepts
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 03 December 2026
Audio Overview
KIRETH RESEARCH — AI SEMANTIC LIBRARY
QUANTITY CONCEPT ONTOLOGY — STANDARD FLOW ALGEBRA
Version: 1.0 | Encoding: UTF-8 | Date: 2026-12-03
Authors: Mark Anthony Higgins — Sky Recursive AI
Licence: Open Research Licence (project attribution; exact terms unverified)
Source: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/quantity-degree-concepts/quantity-concept-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / Quantity & Degree Concepts
Status: Proposed formalisation; not a verified transcription or executable grammar.

1. CANONICAL DEFINITION
Quantity is a property whose amount can be expressed by counting or measurement under a specified quantity kind and scale. A quantity is distinct from its numerical representation, unit, measurement procedure and bearer. Different numerical values may represent the same quantity in different units. Equal dimensions do not establish equal quantity kinds (energy and torque, for example). A degree describes a level on a defined scale; an ordinal degree need not support arithmetic. Quantity does not imply physical substance: counts and model-defined abstract quantities are included.

2. ENTITY MODEL
Q = (id, bearer, kind, dimension, value, unit, scale, domain, context, time, uncertainty, evidence, version, status).
kind identifies what is quantified; dimension is a vector of base-dimension exponents; value may be scalar, vector, interval or distribution as specified by kind. Context records frame, reference conditions, population and measurement basis. Status ∈ {established, rejected, unknown, disputed, not_applicable}. Zero is a value, not missing information. An observation is a separate record linked to Q; repeated measurements do not create additional physical quantity bearers. A quantity estimate must identify its estimand and applicable interval.

3. CLASSIFICATION
Count: discrete cardinality of a defined collection; integer nonnegative unless representing a signed difference.
Continuous quantity: modelled over a continuous domain, with finite measurement resolution.
Extensive quantity: additive over disjoint subsystems under stated conditions.
Intensive quantity: not generally additive; aggregation requires a justified weighting or physical model.
Scalar, vector and tensor quantities: distinct mathematical structures and transformation laws.
Dimensionless quantity: zero dimension vector; may still have a meaningful kind, e.g. angle or fraction.
Ratio-scale quantity: meaningful ratios with a meaningful zero. Interval-scale quantity: meaningful differences but arbitrary origin. Ordinal degree: order only, absent additional scale assumptions. Nominal labels are not quantities merely because encoded numerically.
Exact count, measured estimate, derived quantity and predicted quantity retain distinct provenance.

4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation; g ∘ f applies f before g. Operators below are proposed local notation, not verified published syntax.
Identify : Bearer × Kind × Context → QuantityDescriptor
Observe : QuantityDescriptor × Method → Observation
Normalise : Observation × UnitRegistry → QuantityEstimate
Convert : QuantityEstimate × CompatibleUnit → QuantityEstimate
Compare : QuantityEstimate² × ComparisonPolicy → ComparisonResult
Add : CompatibleAdditiveQuantity² → QuantityEstimate
Subtract : CompatibleQuantity² → DifferenceQuantity
Multiply : Quantity² → DerivedQuantity
Divide : Quantity × NonzeroQuantity → DerivedQuantity
Aggregate : Collection × AggregationPolicy → QuantityEstimate
Scale : RatioQuantity × Scalar → QuantityEstimate
Validate : QuantityEstimate × Constraints × Evidence → ValidationRecord
Commit : ValidatedRecord × VersionedGraph → VersionedGraph
All operators may return explicit unknown, invalid or disputed results when prerequisites fail. No failed operation silently returns zero.

5. COMPOSITE FLOWS
Measurement: Bearer →[Identify] Descriptor →[Observe] Observation →[Normalise] Estimate →[Validate] Record.
Comparison: normalise both operands into a compatible representation, verify kind and context, compare with uncertainty policy, preserve evidence from both inputs.
Derivation: validate operands → apply typed arithmetic → propagate uncertainty → validate output kind and domain → record derivation.
Aggregation: identify population → deduplicate → establish disjointness or weighting → normalise → aggregate → validate coverage.
Parallel flows merge only when units, kinds, temporal validity and provenance are compatible. Conflicting estimates remain distinct until a justified reconciliation is available.

6. MATHEMATICAL SEMANTICS
For multiplicative unit conversion q = v u = v' u', with u' = k u, v' = v/k for k > 0. Affine conversion v' = a v + b applies to interval-scale coordinates; differences transform as Δv' = a Δv, not with the offset. Example: T(K) = T(°C) + 273.15.
Dimension vector D(Q) = (L,M,T,I,Θ,N,J) expressed as exponents. D(A·B)=D(A)+D(B); D(A/B)=D(A)−D(B). Addition requires compatible kinds and scales, not just equal dimensions. Absolute temperature addition is not a generally meaningful aggregation.
For disjoint finite sets A,B: count(A∪B)=count(A)+count(B). For overlapping sets subtract count(A∩B).
For additive quantities over disjoint components, Q_total=Σ Q_i under common conditions. Weighted mean = Σ w_i q_i / Σ w_i for nonnegative weights with positive total, only when justified by the quantity kind.
Relative change = (q₂−q₁)/q₁ for a meaningful ratio scale and nonzero baseline. Percentage change = 100 times relative change. A difference between percentages is expressed in percentage points.
For differentiable f and small errors, covariance propagation is approximately Σ_y=J Σ_x Jᵀ, with J the Jacobian. For addition, Var(A+B)=Var(A)+Var(B)+2Cov(A,B). Independence must not be assumed without justification. Nonlinear or large uncertainties may require interval bounds or distribution propagation.
Comparison of bounded estimates: A is definitely greater than B when lower(A)>upper(B); overlapping bounds alone establish neither equality nor a strict ordering. Equality within tolerance is not generally transitive.

7. STRUCTURAL INVARIANTS
I01 Every quantity has a declared kind and bearer or abstract domain.
I02 Numerical representations identify unit and scale.
I03 Conversion preserves quantity kind and physical meaning.
I04 Additive operations require compatible kinds and valid scale semantics.
I05 Derived dimensions follow the declared arithmetic operation.
I06 Missing values are distinct from zero and not applicable.
I07 Counts obey cardinality constraints; signed changes are separately typed.
I08 Aggregation avoids double counting and unjustified intensive sums.
I09 Division by zero returns invalid, not a finite quantity.
I10 Uncertainty and dependence assumptions are preserved.
I11 Comparisons require compatible reference conditions and temporal scope.
I12 Revisions preserve provenance, identity and prior versions.

8. RECURSIVE VALIDATION
Let G_n be the accepted versioned quantity graph and E_n new evidence. Candidate H_n = Refine(G_n,E_n). Validate H_n against I01–I12 and domain-specific rules. Commit only authorised, validated changes; otherwise retain G_n and attach a diagnostic record. Recompute dependent quantities when an operand, conversion registry or context changes. Track dependencies to avoid circular derivations; cyclic physical models require explicit simultaneous equations and solution criteria. Stop on stable canonical state, evidence exhaustion, iteration budget or unresolved conflict. Detect oscillation by repeated state hashes. Numerical convergence requires a declared tolerance and does not establish empirical truth. Never overwrite a measured value merely to force model agreement.

9. EVIDENCE AND PROVENANCE
Record observation ID, source, instrument or counting method, calibration, timestamp, unit registry version, reference conditions, resolution, uncertainty type, confidence level where applicable, and derivation dependencies. Distinguish measurement uncertainty from model uncertainty and natural variability. Confidence scores are not probabilities unless calibrated. Preserve original reported units alongside normalised values. Record rounding separately from uncertainty. An absent measurement is unknown rather than evidence of absence. Retain competing observations and reasons for exclusion. Do not infer causal relationships from numerical association alone.

10. WORKED EXAMPLES
E01 Length: 250 cm →[Convert] 2.5 m. Both represent the same length.
E02 Temperature: 20 °C = 293.15 K; a rise of 5 °C corresponds to a rise of 5 K, not 278.15 K.
E03 Engineering: 12 N × 3 m = 36 N·m; classify as work only if force and displacement are aligned in the specified work calculation, not merely because dimensions match.
E04 Counting: collections of 12 and 8 records with 3 shared records contain 17 unique records.
E05 Intensive aggregation: 2 kg of a material at 10% mass fraction and 3 kg at 20% yield 16% combined mass fraction, assuming conserved constituent mass.
E06 Uncertainty: independent length estimates 10 ± 0.2 m and 5 ± 0.1 m (standard uncertainties) sum to 15 m with standard uncertainty approximately 0.224 m.
E07 Semantic degree: ordinal labels low, medium, high permit ranking; numeric coding 1,2,3 does not by itself justify averaging or ratio claims.

11. CROSS-ONTOLOGY INTEGRATION
Quantity & Degree Concepts: parent classification and scale semantics.
Spatial Entity, Distance, Region: spatial measures and metric context.
Time, Duration, Temporal Change: elapsed quantities and rates.
Growth and Decline: signed differences and relative change.
Identity and Equivalence: quantity identity versus representation equivalence.
Engineering Measurement and Evidence: observations, uncertainty and validation.
Causality: quantitative effects require separate causal identification.
Entity Graph: typed quantity nodes, hasBearer, hasKind, hasUnit, derivedFrom, measuredBy, validDuring and supersedes edges. These are proposed relationship names, not verified canonical identifiers.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 Convert 100 cm to m: expect 1 m, same kind.
T02 Add 2 m and 3 s: reject incompatible dimensions.
T03 Add torque and energy: reject incompatible kinds despite matching dimensions.
T04 Convert 0 °C to K: expect 273.15 K.
T05 Convert temperature difference 10 °C to K: expect 10 K difference.
T06 Count overlapping sets of sizes 12,8 with intersection 3: expect 17.
T07 Divide by zero: invalid result.
T08 Compare missing value with zero: unknown, not equal.
T09 Aggregate mass fractions in E05: expect 0.16.
T10 Compare intervals [2,4] and [3,5]: strict ordering not established.
T11 Sum independent estimates in E06: expect standard uncertainty about 0.224 m.
T12 Revise a source observation: dependent estimates recomputed, prior versions and provenance retained.

13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Quantity Concept Ontology — Standard Flow Algebra. Version 1.0. Kireth Research, AI Semantic Library.
Source URL: https://kirethresearch.org/booksai-core/entity-graph/abstract-concepts/quantity-degree-concepts/quantity-concept-ontology.html
Open Research Licence attribution follows the project convention; consult the publisher for authoritative licence terms. This is an original proposed formalisation based on the supplied topic, not a verified transcription. The live source, exact licence terms and compatibility with the published Flow Algebra grammar have not been independently verified. Acceptance tests are proposed, not executed.
END OF SPECIFICATION
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ