Edge Technology for Vocabulary becomes dangerous when a system combines individually correct facts into a wrong statement. Eighteen people choosing an option and twenty-four responding to a survey can form a useful proportion only if the numbers belong to the appropriate observation and group. The Evidence Join Guard checks the identity and meaning of records before combining their fields.
This original eduKate extension of the quantity type and evidence-lineage work includes a small JavaScript demonstrator executed on fourteen synthetic cases. It preserves compatible fields, holds conflicting or mismatched records and tracks source IDs. It does not establish source truth, independently validate extraction or deploy a real learning system.
- Identify the observation before joining facts.
- Match the measured property, group, time and definition version.
- Do not add duplicate observations or average conflicting values.
- Keep unknown and missing information visible.
- Separate data integration from independent corroboration and learner understanding.
Contents
- 1. A shared label is not a join key
- 2. Established data engineering and local semantic policy
- 3. From a percentage question to an evidence contract
- 4. The synthetic input contract
- 5. Executable JavaScript demonstrator
- 6. Actual local synthetic execution
- 7. Integration with the world knowledge crosswalk
- 8. Centre-to-edge vocabulary learning
- 9. Four-week validation laboratory
- 10. References and connected research
1. A shared label is not a join key
A teacher has one table reporting eighteen respondents who chose an option and a second table reporting twenty-four respondents to the same consultation. If the observation, question, group and period are actually identical, the records may provide complementary information. If the second table instead reports sixty invited pupils, the calculation changes its meaning. Joining on the word participants alone can create a plausible fraction that answers neither original question. The earlier Executable Quantity Type checks a calculation after quantities have been supplied. This guard acts earlier: it asks whether the pieces of evidence belong to the same record.
This is distinct from the Evidence Lineage Auditor. Lineage asks whether sources are independent or derived from the same information. The join guard asks whether records can be merged as descriptions of one observation. Two sources might independently report a similar finding but concern different observations. Conversely, two fragments from one report can be joined without being independent corroboration. Both distinctions matter. A source count is not a count of independent studies.
2. Established data engineering and local semantic policy
The W3C RDF Data Cube Vocabulary defines dimensions, measures and attributes and includes integrity conditions requiring dimension values and preventing duplicate observations with the same complete dimensional coordinates within a dataset. These concepts illustrate the importance of the observation identity. The code below is a local flat-record policy inspired by such integrity checking, not a conforming Data Cube validator.
Its five key dimensions are observation identifier, measured property, group, period and definition version. This is deliberately strict. Different studies can be compared using a separate reviewed operation, but not merged into one observation simply because their labels resemble each other. The input must have a real reviewed identity assignment in production. Equal strings do not establish that two sources truly describe the same event.
3. From a percentage question to an evidence contract
| Stage | Meaning to preserve |
|---|---|
| Base | Eighteen people selected an option. |
| Whole | Twenty-four actual respondents answered the same question. |
| Identity | The records refer to the same specified consultation. |
| Compute separately | 18 / 24 = 75%, among those respondents. |
| Boundary | No wider population estimate or nonrespondent preference is established. |
A Secondary 3 student can make this distinction using a paper table. Start from the known facts, locate the missing whole and check the actual source. Add only the relevant relationship. If the two records refer to different questions or groups, do not force a complete result. A parent can ask why the denominator belongs with the numerator. The machine guard represents this decision without substituting its verdict for the learner’s own explanation.
4. The synthetic input contract
{
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"denominator": "24",
"unit": "people"
}
}
}
The fields are small illustrative strings. Null means explicitly unknown; an absent field means it was not supplied in that fragment. A known value from another reviewed record can fill the unknown only if the full identity matches. Two different known strings cause a hold, even if they might be equivalent after an authorised unit conversion. This avoids silently choosing one value. The join does not perform arithmetic, evaluate source reliability or infer missing values. It returns per-field source IDs without counting them as independent support. In a production schema, units and numeric values should use a properly validated representation and real source references.
5. Executable JavaScript demonstrator
function join(a,b){
const dims=["observation","measure","group","period","definition"];
const fields=["numerator","denominator","unit","resultType"];
const valid=r=>r&&r.reviewed===true&&typeof r.source==="string"&&r.source.trim()&&r.key&&dims.every(k=>typeof r.key[k]==="string"&&r.key[k].trim())&&r.values&&Object.keys(r.values).every(k=>fields.includes(k)&&(r.values[k]===null||typeof r.values[k]==="string"));
if(!valid(a)||!valid(b))return {status:"HOLD_INPUT"};
if(dims.some(k=>a.key[k]!==b.key[k]))return {status:"HOLD_KEY"};
const values={},lineage={};
for(const f of fields){
const x=a.values[f],y=b.values[f],known=z=>z!==undefined&&z!==null;
if(known(x)&&known(y)&&x!==y)return {status:"HOLD_CONFLICT",field:f};
if(known(x)||known(y)){
values[f]=known(x)?x:y;
lineage[f]=[...new Set([...(known(x)?[a.source]:[]),...(known(y)?[b.source]:[])])].sort();
}else if(Object.hasOwn(a.values,f)||Object.hasOwn(b.values,f)){values[f]=null;lineage[f]=[]}
}
return {status:"JOINED",key:{...a.key},values,lineage};
}
JOINED means the structured inputs passed this narrow merge contract. It does not mean all required fields for a calculation are present or that the evidence is true. HOLD_KEY indicates that the declared identities differ; HOLD_CONFLICT indicates contradictory known values for one field; HOLD_INPUT indicates an unsupported or unreviewed input. No status grants permission to publish or act. An actual system needs schema validation, source review and a later decision-specific completeness gate.
6. Actual local synthetic execution
On 2 December 2026, 14 of 14 authored cases matched the expected status and, for successful joins, expected merged values. Inputs were checked for unchanged JSON serialization; the repeated-source case also checked deduplicated field lineage. These are local regression checks, not an independent evaluation.
| ID | Expected | Observed | Meaning |
|---|---|---|---|
| J01 | JOINED | JOINED | Complementary fields from a stipulated identical observation. |
| J02 | JOINED | JOINED | Repeated count is not added to itself. |
| J03 | HOLD_KEY | HOLD_KEY | Different denominator group. |
| J04 | HOLD_KEY | HOLD_KEY | Different measured outcome. |
| J05 | HOLD_CONFLICT | HOLD_CONFLICT | Conflicting units in the stipulated same observation. |
| J06 | HOLD_CONFLICT | HOLD_CONFLICT | No automatic average or newest-record priority. |
| J07 | JOINED | JOINED | A reviewed known value fills explicit unknown. |
| J08 | JOINED | JOINED | Unknown is preserved; absent is not zero. |
| J09 | HOLD_KEY | HOLD_KEY | Meaning versions cannot silently merge. |
| J10 | HOLD_KEY | HOLD_KEY | Different period. |
| J11 | HOLD_INPUT | HOLD_INPUT | Unreviewed record cannot satisfy this gate. |
| J12 | JOINED | JOINED | Same source ID counted once in field lineage. |
| J13 | HOLD_KEY | HOLD_KEY | Related studies are not the same observation. |
| J14 | HOLD_INPUT | HOLD_INPUT | Unsupported field needs a defined contract. |
const cases = [
{
"id": "J01",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"denominator": "24",
"unit": "people"
}
},
"want": "JOINED",
"expectedValues": {
"numerator": "18",
"denominator": "24",
"unit": "people"
}
},
{
"id": "J02",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"want": "JOINED",
"expectedValues": {
"numerator": "18"
}
},
{
"id": "J03",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"denominator": "24"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "invited",
"period": "one consultation",
"definition": "v1"
},
"values": {
"denominator": "60"
}
},
"want": "HOLD_KEY",
"expectedValues": null
},
{
"id": "J04",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "attendance",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"want": "HOLD_KEY",
"expectedValues": null
},
{
"id": "J05",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"unit": "people"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"unit": "visits"
}
},
"want": "HOLD_CONFLICT",
"expectedValues": null
},
{
"id": "J06",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "19"
}
},
"want": "HOLD_CONFLICT",
"expectedValues": null
},
{
"id": "J07",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"denominator": null
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"denominator": "24"
}
},
"want": "JOINED",
"expectedValues": {
"denominator": "24"
}
},
{
"id": "J08",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"denominator": null
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {}
},
"want": "JOINED",
"expectedValues": {
"denominator": null
}
},
{
"id": "J09",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v2"
},
"values": {
"denominator": "24"
}
},
"want": "HOLD_KEY",
"expectedValues": null
},
{
"id": "J10",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "later consultation",
"definition": "v1"
},
"values": {
"denominator": "24"
}
},
"want": "HOLD_KEY",
"expectedValues": null
},
{
"id": "J11",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": false,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"denominator": "24"
}
},
"want": "HOLD_INPUT",
"expectedValues": null
},
{
"id": "J12",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"want": "JOINED",
"expectedValues": {
"numerator": "18"
}
},
{
"id": "J13",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-02",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"denominator": "24"
}
},
"want": "HOLD_KEY",
"expectedValues": null
},
{
"id": "J14",
"a": {
"source": "A",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"numerator": "18"
}
},
"b": {
"source": "B",
"reviewed": true,
"key": {
"observation": "trial-01",
"measure": "preference",
"group": "club respondents",
"period": "one consultation",
"definition": "v1"
},
"values": {
"extra": "unknown"
}
},
"want": "HOLD_INPUT",
"expectedValues": null
}
];
for (const c of cases) console.log(c.id, join(c.a,c.b), c.want);
A reader can reproduce the status and record outputs with the function and fixtures in a compatible JavaScript runtime. The code is published as text, not deployed as an interactive service. The suite does not cover every possible malformed input, all data types or independent source-fact adjudication.
7. Integration with the world knowledge crosswalk
The crosswalk can propose that two concept definitions are related or compatible. The join guard still requires the observation identity. Then the quantity comparator can examine the resulting typed quantities, and the composed handover gate can check required evidence and separate action authority. A correction to the observation definition or source must invalidate the appropriate derived join. Do not change the original fragments to fit a desired conclusion. Preserve their identity and the reason a join was allowed or held.
Consider survey records, scientific observations and historical events. A report of visits cannot be merged with a count of distinct people under an assumed shared measure. A later record cannot be joined into an earlier observation solely because it mentions the same club. Legitimate cross-period analysis is a distinct operator with its own assumptions. If several potential record matches remain, use a clarification or review step instead of choosing a convenient one.
8. Centre-to-edge vocabulary learning
| Rung | Learning operation |
|---|---|
| L0 | Attend to source tables |
| L1 | Identify the requested quantity |
| L2 | Name numerator and denominator |
| L3 | Explain the group |
| L4 | Recall the distinction later |
| L5 | Read and write the record |
| L6 | Relate fields to their observation |
| L7 | Combine the supported statement |
| L8 | Disambiguate participants and respondents |
| L9 | Transfer to a fresh survey |
| L10 | Interpret a misleading join |
| L11 | Use the formal subject definition |
| L12 | Trace record versions |
| L13 | Critique an unsupported merge |
| L14 | Maintain reviewed keys and lineage |
| L15 | Propose a tested new distinction |
The eduKate ladder is a proposed instructional architecture, not an official scale. Involve the student in the reasoning rather than hide it behind a pass label. A correct automated join and a correct independent learner response are distinct observations.
9. Four-week validation laboratory
| Week | Activity | Evidence |
|---|---|---|
| 1 | Review invented records and label observation identities. | Independent source labels and ambiguities. |
| 2 | Reproduce the fourteen cases and add new incompatible and valid pairs. | Actual status, fields and lineage. |
| 3 | Compare with a naive label-based join and inspect false holds. | Correct joins, false joins, unresolved cases. |
| 4 | Use a fresh authorised school task on sample and population. | Separate software results and independent learner reasoning. |
Evaluate source extraction separately from merge logic. Keep task families held out of development, report coverage as well as correctness, and inspect the cost of unnecessary holds. A study with learners requires appropriate permission, consent or assent and privacy safeguards. Do not publish private student records. No such human study or deployment was conducted.
10. References and connected research
- W3C RDF Data Cube Vocabulary
- Executable Quantity Type
- Evidence Lineage Auditor
- Guarded Crosswalk
- Secondary 3: Population, Sample and Representativeness
- Fencing Method
- L0–L15 ladder
The local join policy and synthetic tests are original. Their result is a limited demonstration, not an official examination technique, independently validated crosswalk or established learning intervention.
