Skip to main content

Relative Quantity 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
RELATIVE QUANTITY 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/relative-quantity-ontology.html
Integration: AI Core / Entity Graph / Abstract Concepts / Quantity & Degree Concepts
Status: Proposed formalisation; live source and published grammar not independently verified.

1. CANONICAL DEFINITION
Relative quantity is a quantity represented by an explicitly defined comparison with a reference. Its meaning depends on the measurand, reference, comparison operator, scale, units and context. A ratio, signed difference, percentage change and standardised score are distinct relative representations. Relative does not necessarily mean dimensionless. A difference retains the dimension of its operands. A ratio of unlike dimensions is a derived quantity, not a same-kind normalised quantity.

2. ENTITY MODEL
RQ = (id, subject, kind, q, reference, b, operator, value, unit, scale, context, valid_time, evidence, uncertainty, status, version)
q: subject quantity; b: reference quantity or reference distribution.
operator: difference | ratio | relative_change | percentage_change | index | standard_score | log_ratio.
context: population, measurement method, spatial scope, temporal scope, reference policy and comparison purpose.
status: established | rejected | unknown | disputed | not_applicable.
The reference has its own identity, version and provenance. A missing reference is not a zero reference. A relative quantity record is distinct from the underlying quantity and may coexist with alternative representations of that quantity.

3. CLASSIFICATION
Reference-relative difference: q − b.
Ratio-relative quantity: q / b, for compatible ratio-scale quantities and nonzero b.
Relative change: (q − b) / b, conventionally with positive baseline; signed baselines require an explicit interpretation policy.
Percentage change: 100 times relative change, expressed in percent.
Part-to-whole share: q / b with 0 ≤ q ≤ b and b > 0, where the part is included in the whole.
Indexed quantity: k(q / b), with a declared index base k.
Standardised quantity: (q − μ) / σ, where μ and σ describe a specified reference distribution and σ > 0.
Log-relative quantity: log(q / b), requiring a positive dimensionless ratio and a declared logarithm base.
Dynamic relative quantity: reference or subject changes with time; each comparison identifies the reference version used.

4. LOCAL FLOW ALGEBRA NOTATION
X →[F] Y denotes a typed transformation; G ∘ F applies F first, then G. Operators below are proposed local notation, not a verified executable grammar.
F_bind: Quantity × Reference × Context → ComparisonCandidate
F_align: ComparisonCandidate → AlignedCandidate | Diagnostic
F_diff: AlignedCandidate → RelativeQuantity
F_ratio: AlignedCandidate → RelativeQuantity | Diagnostic
F_change: AlignedCandidate → RelativeQuantity | Diagnostic
F_index: AlignedCandidate × IndexBase → RelativeQuantity | Diagnostic
F_standardise: Quantity × ReferenceDistribution → RelativeQuantity | Diagnostic
F_log: RatioQuantity × LogBase → RelativeQuantity | Diagnostic
F_uncertainty: RelativeQuantity × JointUncertaintyModel → UncertaintyRecord
F_validate: RelativeQuantity × Policy → ValidationRecord
F_rebase: RelativeQuantity × NewReference → RelativeQuantity | Diagnostic
F_commit: ValidatedRecord × VersionedGraph → VersionedGraph
F_align checks quantity kind, units, admissible scale transformations, time and population scope. It must not silently coerce incompatible kinds.

5. COMPOSITE FLOWS
DifferenceFlow = F_diff ∘ F_align ∘ F_bind
RatioFlow = F_ratio ∘ F_align ∘ F_bind
ChangeFlow = F_change ∘ F_align ∘ F_bind
ValidationFlow: candidate →[align] aligned →[compare] result →[propagate uncertainty] assessed →[validate] decision.
RebaseFlow: original record →[recover underlying quantity if identifiable] q →[bind new reference] candidate →[compare] new record.
Parallel comparison flows retain separate operator and reference identifiers. Merge only when semantics, scope and units match; otherwise preserve alternatives. A diagnostic stops the affected branch, rather than manufacturing a numerical result.

6. MATHEMATICAL SEMANTICS
Let q and b be compatible scalar quantities expressed in a common unit.
D = q − b; R = q/b; C = R − 1; P = 100C percent.
For a ratio-scale unit conversion q'=aq, b'=ab, a>0, R'=R. For an affine conversion q'=aq+c, b'=ab+c, D'=aD but R' generally differs from R. Thus ratios of Celsius readings are not invariant under conversion to Kelvin.
For positive baselines a,b,c, R(a,c)=R(a,b)R(b,c). Relative changes compose as 1+C(a,c)=(1+C(a,b))(1+C(b,c)). Percentage changes do not generally add.
Rebase an index I_b(q)=kq/b to reference c by I_c(q)=I_b(q)b/c, provided original and new reference quantities are compatible and c is nonzero.
For disjoint additive populations, aggregate ratio = Σq_i / Σb_i = Σw_i R_i, with w_i=b_i/Σb_i when denominators are positive. Do not average ratios equally unless weights justify it.
First-order uncertainty for R=q/b:
Var(R) ≈ Var(q)/b² + q² Var(b)/b⁴ − 2q Cov(q,b)/b³.
This approximation requires sufficiently small uncertainty away from zero denominator. For near-zero or uncertain-sign denominators use an appropriate joint distribution or interval method; report unbounded or undefined results where warranted.
For difference, Var(D)=Var(q)+Var(b)−2Cov(q,b). Standardisation is not a probability statement without distributional assumptions. Logarithmic comparison requires a positive ratio and a valid base (>0 and not 1).

7. STRUCTURAL INVARIANTS
I01 Every relative quantity identifies its subject and reference.
I02 Operator semantics and scale type are explicit.
I03 Quantity kinds and dimensions are compatible with the operator.
I04 Division by zero yields a diagnostic, not a default value.
I05 Missing measurements remain unknown, not zero.
I06 Same-kind ratio-scale ratios are invariant under common positive unit scaling.
I07 Differences preserve quantity dimension; affine offsets cancel.
I08 Part-to-whole shares are bounded by zero and one under nonnegative additive assumptions.
I09 Aggregation preserves denominator weights and avoids overlapping population double counts.
I10 Reference changes create new versions and preserve prior interpretations.
I11 Uncertainty propagation accounts for shared reference covariance where relevant.
I12 Numeric agreement does not establish semantic equivalence across different references or operators.

8. RECURSIVE VALIDATION
Let G_n be a versioned graph of quantity and reference records, E_n new evidence and P the validation policy.
Candidate_n = derive(G_n,E_n,P).
G_(n+1) = commit(G_n,Candidate_n) only after type, provenance, scope and uncertainty checks.
Re-evaluate dependent relative quantities when a reference changes; retain old records and their validity intervals. A dependency graph must distinguish measured quantities from derived quantities. Reject unresolved circular definitions, or require explicit fixed-point semantics with a justified solver and convergence criteria.
Stop when no material changes remain, the iteration budget is reached, or evidence is insufficient. Detect oscillation by repeated state signatures. Convergence of a computation does not establish empirical correctness. Never silently replace an observed baseline with a forecast baseline.

9. EVIDENCE AND PROVENANCE
Record original values, units, source identifiers, observation times, reference validity, calibration, conversion functions, population definitions, aggregation weights and uncertainty assumptions. Distinguish measured, estimated, simulated and inferred quantities. Keep measurement uncertainty separate from confidence in semantic mapping. Confidence scores are not probabilities unless calibrated. Record corrections as new versions with explicit supersession links. A result derived from an uncertain reference inherits its uncertainty and may be correlated with other results using that reference.

10. WORKED EXAMPLES
A. Engineering: output 120 W against 100 W baseline gives ratio 1.2 and change +20%. The difference is 20 W, not 20 percent.
B. Inventory: 30 units out of 120 gives share 0.25. The part-to-remainder ratio is 30/90, not 0.25.
C. Statistics: value 80, reference mean 70, standard deviation 5 gives z=2. This is not automatically a percentile.
D. Temperature: 20 °C to 30 °C is a 10 °C difference; a claim of 50% thermodynamic temperature increase is invalid. On Kelvin scale the ratio is 303.15/293.15.
E. Sequential change: increase 100 to 120 then decrease to 100 gives +20% followed by −16.6667%, net zero change.
F. Aggregation: 1/2 and 9/10 over disjoint groups yield 10/12 overall, not the unweighted mean 0.7.
G. Indexing: baseline 50 and current 75 gives index 150 with base 100. Rebasing to 75 gives index 100; underlying quantity remains unchanged.

11. CROSS-ONTOLOGY INTEGRATION
Quantity Concept: underlying measurand and dimensional type.
Amount: additive quantities and denominator populations.
Magnitude Concept: absolute size versus signed relative difference.
Degree and Level: graded and threshold-based classification.
Scale: admissible transformations and reference conventions.
Ratio Concept: quotient semantics and composition.
Proportion Concept: part-to-whole constraints and allocation.
Rate Concept: exposure-normalised quantities, distinct from same-kind ratios.
Threshold, Minimum, Maximum, Range and Limit: admissibility and comparison boundaries.
Temporal Context and Temporal Change: baseline validity and longitudinal comparisons.
Evidence, Provenance and Validation: support and version control of derived assertions.

12. PROPOSED ACCEPTANCE TESTS (NOT EXECUTED)
T01 q=120,b=100, ratio → 1.2.
T02 q=120,b=100, change → +20%.
T03 q=0,b=10, ratio → 0.
T04 q=10,b=0, ratio → undefined diagnostic.
T05 missing b → unknown, not zero.
T06 q=2 m,b=100 cm → ratio 2 after alignment.
T07 q=2 kg,b=1 m, same-kind ratio → incompatible-kind diagnostic.
T08 Celsius readings with ratio operator → scale diagnostic.
T09 q=15,b=10, part-to-whole share → rejected.
T10 ratios 1/2 and 9/10, disjoint populations → aggregate 10/12.
T11 baseline 50 replaced by 75, q=75, index base 100 → new index 100; old index 150 retained.
T12 identical measured q and b with perfectly shared error → ratio 1 and zero propagated uncertainty under the stated model, provided denominator is nonzero.

13. CITATION AND LICENCE
Suggested citation: Higgins, Mark Anthony; Sky Recursive AI (2026). Relative Quantity 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/relative-quantity-ontology.html
Original proposed formalisation, not a verified transcription. Open Research Licence attribution follows project convention; consult the publisher for authoritative terms. Live source, exact licence terms and compatibility with 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