Skip to main content

Structured Data Input Ontology

Input Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 01 November 2026
Audio Overview
FLOW ALGEBRA v1.0 — STRUCTURED DATA INPUT ONTOLOGY
Semantic Library / AI Core / Entity Graph / AI Entities / Input Entities

AUTHORS: Mark Anthony Higgins — Sky Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/input-entities/structured-data-input-ontology.html
STATUS: Topic-based formalisation; source page specification not independently verified.
PURPOSE: Represent the intake, validation, semantic mapping, and controlled use of structured data by an AI system.

01. ENTITY DEFINITION
StructuredDataInput := (payload, format, schema, provenance, context, constraints)
A structured data input is a machine-readable payload whose fields and relationships can be interpreted against an explicit or inferred schema.

02. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t: accepted input records, values, and metadata
R_t: field, type, key, and semantic relationships
B_t: schema, access, validity, and safety boundaries
K_t: known schema mappings, prior validations, and domain context

03. ENTITIES
InputPayload, Record, Field, FieldValue, DataType, Schema, SchemaVersion,
PrimaryKey, ForeignKey, Constraint, NullValue, MissingValue, Dataset,
Parser, Validator, Normaliser, Mapper, ProvenanceRecord, ErrorReport,
SemanticEntity, ConfidenceScore, AcceptedRecord, RejectedRecord.

04. RELATIONSHIPS
Payload HAS_FORMAT Format
Payload CONFORMS_TO Schema [only after validation]
Record CONTAINS Field
Field HAS_TYPE DataType
Field MAPS_TO SemanticEntity
Record DERIVED_FROM ProvenanceRecord
ForeignKey REFERENCES PrimaryKey
Validator PRODUCES ErrorReport

05. FORMAL MATHEMATICS
Let D be a payload, F its declared format, and Σ its schema.
P = parse(D, F)
V = validate(P, Σ, B_t)
A = {r in P | valid(r, Σ, B_t)}
Q = {r in P | not valid(r, Σ, B_t)}
M = map_semantics(A, R_t, K_t)
I_(t+1) = I_t ∪ M, subject to authorisation and conflict resolution.
A parseable record is not necessarily valid, truthful, or trustworthy.

06. FLOW
flow "StructuredDataInput" v1.0
  io.read: payload, declared_format?, schema?, provenance?, context?
  detect_format -> parse -> check_size_and_encoding
  validate_structure -> validate_types -> validate_constraints
  check_provenance -> resolve_keys -> map_semantics
  quarantine_invalid -> accept_authorised -> update_state
  io.write: accepted_entities, rejected_records, diagnostics, lineage
end

07. IMPLEMENTS
- CSV, JSON, XML, relational tables, and typed records where supported
- Schema validation, data type checking, key resolution, and missing-value handling
- Semantic entity mapping with provenance preservation
- Error reporting and safe rejection of invalid or unauthorised inputs

08. INPUT PROCESSING PATHWAYS
RawPayload -> FormatDetection -> Parser -> ParsedRecords
ParsedRecords -> SchemaValidation -> ConstraintValidation
ValidRecords -> ProvenanceCheck -> SemanticMapping -> AcceptedEntities
InvalidRecords -> DiagnosticReport -> QuarantineOrCorrection

09. MINI-RECURSION ENGINE
E_t = expand(I_t, R_t)
C_t = {x in E_t | satisfies(x, B_t)}
V_t = validate(C_t, K_t)
x* = argmax_(x in V_t) P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, x*) only when x* is authorised and verified.
If V_t is empty, report failure; do not invent a record.

10. INFERENCE RULES
IF field type contradicts schema THEN reject or quarantine field.
IF foreign key has no matching reference THEN flag referential-integrity error.
IF required field is missing THEN flag incomplete record.
IF provenance is untrusted THEN restrict downstream claims.
IF schema version differs THEN require compatible migration or mapping.
IF semantic mapping is ambiguous THEN retain alternatives and uncertainty.
IF duplicate keys conflict THEN apply explicit resolution policy.

11. INVARIANTS
No silent schema coercion that changes meaning.
No inferred value presented as directly observed.
No accepted record without its validation status.
No loss of provenance across transformations.
No execution of instructions embedded in untrusted data.
No guarantee that schema validity implies factual correctness.

12. TRI-MAPPING
Physical: encoded bytes, files, streams, database rows.
Logical: records, fields, schemas, keys, and constraints.
Semantic: entities, properties, relations, and provenance.
Mapping: bytes -> typed records -> contextual semantic entities.

13. MAPPING TABLE
Source element       | Formal entity          | Processing action
JSON object          | Record                 | Parse and validate
CSV column           | Field                  | Resolve schema mapping
Database primary key | PrimaryKey             | Check uniqueness
Foreign-key value    | RelationshipReference  | Check referential integrity
Schema definition    | Schema                 | Validate structure
Source metadata      | ProvenanceRecord       | Preserve lineage
Invalid record       | ErrorReport            | Quarantine and explain

14. EXECUTION GUARANTEE (CONDITIONAL)
Given a readable payload, supported parser, valid schema, sufficient resources,
and authorised mappings, the flow either returns validated records and
provenance or explicit diagnostic failures. It does not guarantee that
source data is complete, accurate, unbiased, or semantically unambiguous.

15. AI SEARCH FLOW
QUERY: What is structured data input?
ENTITIES: StructuredDataInput, Schema, Record, Field, Parser, Validator.
PATH: identify -> parse -> validate -> map -> preserve provenance -> answer.
CONFIDENCE: based on schema match, provenance, completeness, and ambiguity.
SEMANTIC_EQUIVALENCE: tabular input; schema-based input; typed record input.
UPDATE_MODEL: revalidate when payload, schema, or mapping version changes.

16. HOW TO READ
Treat each input as a bounded, typed and provenance-bearing entity.
The state model describes the current knowledge boundary; the flow describes
how records move from syntax to validated semantic representations.

17. LIMITATIONS
This file is an original topic-based Flow Algebra interpretation, not a
verified reproduction of the linked page's embedded ontology specification.
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ