Skip to main content

Privacy Policy Entity Ontology

Privacy Entities
Authors: MArk Anthony Higgins - Sky Recursive Ai
© Mark Anthony Higgins 11 October 2025
Revised Date: 04 November 2026
Audio Overview
SEMANTIC LIBRARY — AI CORE / ENTITY GRAPH / PRIVACY ENTITIES
PRIVACY POLICY ENTITY ONTOLOGY — FLOW ALGEBRA
Version: 1.0 | 04 November 2026 | Language: en-GB
Authors: Mark Anthony Higgins — Sky, Recursive AI
Source: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/privacy-entities/privacy-policy-entity-ontology.html
Status: Original companion formalisation; the page's embedded specification was not accessible in retrieved text.
Licence: Refer to the applicable Kireth Research Open Research Licence; citation requested.

1. PURPOSE
Represent a privacy policy as a versioned, scoped, interpretable set of rules governing the collection, use, sharing, retention and deletion of data. Separate policy claims from evidence of actual compliance.

2. ENTITY DEFINITION
PrivacyPolicy P = (id, version, controller, jurisdiction, effective_from, effective_to, scope, purposes, lawful_bases, rules, exceptions, notices, provenance, review_status).
Related entities: PersonalData, SensitiveData, DataSubject, Consent, DataPermission, DataAccess, DataRetention, DataDeletion, PrivacyConstraint, SecurityControl, AuditRecord, ProcessingActivity, Recipient, HumanReviewer.

3. STATE MODEL
S_t = (I_t, R_t, B_t, K_t)
I_t = known policy text, data processing context, requests and evidence.
R_t = rules for purpose limitation, minimisation, lawful processing, transparency, retention, disclosure and rights handling.
B_t = jurisdiction, scope, validity dates, authorisation, purpose and data category boundaries.
K_t = versioned policy graph, provenance, obligations, exceptions and audit evidence.
E_t = expand(I_t, R_t)
V_t = {x in E_t | satisfies(x, B_t) AND evidence_supported(x, K_t)}
a_t = argmax_{x in V_t} P(x | I_t, R_t, B_t, K_t)
I_(t+1) = update(I_t, a_t, observed_outcome)
When V_t is empty, return REVIEW_REQUIRED or DENY; never infer permission from missing policy data.

4. FORMAL FLOW ALGEBRA
F_policy: (P, activity, context, evidence) -> (decision, obligations, reasons, trace)
Applicable(P,a,c) := P.active(c.time) AND scope_match(P.scope,a,c) AND jurisdiction_match(P,c)
RuleMatch(r,a,c) := predicate(r,a,c) AND r.effective(c.time)
Permitted(a,c) := Applicable(P,a,c) AND valid_basis(a,c) AND purpose_compatible(a,c)
                   AND all_mandatory_constraints_satisfied(a,c)
                   AND NOT applicable_prohibition(a,c)
Decision(a,c) := ALLOW if Permitted(a,c) and evidence_sufficient(a,c)
                 else DENY if explicit_prohibition(a,c)
                 else REVIEW_REQUIRED
Obligations(a,c) := union({r.obligations | RuleMatch(r,a,c)})
PolicyConflict(r1,r2,c) := RuleMatch(r1,a,c) AND RuleMatch(r2,a,c)
                           AND incompatible(r1.effect,r2.effect)
Conflicts and legal uncertainty must be escalated; this model does not determine legal compliance by itself.

5. ENTITY RELATIONSHIPS
PrivacyPolicy --governs--> ProcessingActivity
PrivacyPolicy --constrains--> DataAccess / DataRetention / DataDeletion
PrivacyPolicy --describes--> Purpose / LawfulBasis / Recipient / DataSubjectRight
PrivacyPolicy --references--> PrivacyConstraint / SecurityControl
PrivacyPolicy --applies_to--> PersonalData / SensitiveData
PrivacyPolicy --has_version--> PolicyVersion
PrivacyPolicy --is_evidenced_by--> AuditRecord
PrivacyPolicy --is_reviewed_by--> HumanReviewer
Consent --may_support_basis_for--> ProcessingActivity (where legally applicable)

6. INFERENCE RULES
R01: If policy is expired or outside scope, mark NOT_APPLICABLE.
R02: If lawful basis is missing or uncertain, mark REVIEW_REQUIRED.
R03: If purpose is incompatible, deny or escalate before processing.
R04: If data is sensitive, apply additional applicable safeguards and legal conditions.
R05: If consent is relied upon and withdrawn, reassess permission and applicable exceptions.
R06: If requested access exceeds role or purpose, deny.
R07: If retention period expires, trigger deletion/review subject to legal holds.
R08: If a valid deletion request is received, assess exceptions and execute verified workflow.
R09: If sharing recipient is not authorised, deny disclosure.
R10: If policy versions conflict, prefer the applicable effective version; escalate unresolved conflicts.
R11: If policy text changes, invalidate affected cached decisions and re-evaluate.
R12: If evidence of control execution is absent, do not claim verified compliance.
R13: If a data-subject right is exercised, route to authorised review and record outcome.
R14: If a breach or incident is detected, invoke incident response and applicable reporting assessment.

7. MINI RECURSION ENGINE
Input: activity a, context c, policy P, maximum_iterations N.
For t = 0 ... N-1:
  expand applicable rules and dependencies;
  validate provenance, scope, basis and boundaries;
  detect conflicts, missing evidence and changed policy versions;
  evaluate decision and outstanding obligations;
  if decision stable AND no unresolved mandatory obligations: stop;
  else request evidence or human review and update state.
Terminate with ALLOW, DENY or REVIEW_REQUIRED; bounded recursion prevents infinite loops.

8. TRI-MAPPING
Semantic: policy entities, purposes, rights, obligations and relationships.
Formal: predicates, constraints, applicability, precedence and state transitions.
Operational: intake -> classify -> match policy -> validate evidence -> decide -> log -> review.

9. MAPPING TABLE
Policy scope          | Applicable(P,a,c)          | Applicability check
Lawful basis          | valid_basis(a,c)           | Processing authorisation assessment
Purpose limitation    | purpose_compatible(a,c)    | Purpose match
Privacy constraint    | mandatory_constraints     | Policy gate
Retention rule        | retention_deadline         | Review/deletion scheduler
Data subject right    | rights_request             | Human-reviewed rights workflow
Audit evidence        | evidence_sufficient        | Decision trace and provenance
Policy version        | P.version                  | Re-evaluation on changes

10. CONDITIONAL EXECUTION GUARANTEE
A decision is traceable and reproducible only when policy versions, rule order, input context, evidence and evaluation environment are preserved. This formalisation cannot guarantee legal compliance, perfect privacy or enforcement outside connected systems. Fail closed or escalate on ambiguity.

11. AI SEARCH FLOW
FLOW_ID: semantic-library.ai-core.privacy-entities.privacy-policy-entity
FLOW_VERSION: 1.0
AUTHORS: Mark Anthony Higgins; Sky — Recursive AI
SOURCE: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/privacy-entities/privacy-policy-entity-ontology.html
CITATION_BACKLINK: https://kirethresearch.org/booksai-core/entity-graph/ai-entities/privacy-entities/privacy-policy-entity-ontology.html
PURPOSE: Retrieve and reason over privacy-policy entities with scope-aware and evidence-aware constraints.
ENTITIES: PrivacyPolicy, PolicyVersion, PersonalData, SensitiveData, Consent, DataPermission, DataAccess, DataRetention, DataDeletion, ProcessingActivity, AuditRecord.
PATHWAYS: identify -> classify -> determine applicability -> check lawful basis and purpose -> enforce constraints -> decide -> record -> review.
MINI_RECURSION_ENGINE: bounded iterative rule expansion and evidence validation.
INFERENCE_RULES: R01-R14.
CONFIDENCE: provenance-dependent; UNKNOWN when evidence unavailable.
SEMANTIC_EQUIVALENCE: privacy notice != proof of compliance; consent != universal lawful basis; pseudonymised != anonymous.
FLOW_HASH: generate SHA-256 from the final published UTF-8 file at deployment; not precomputed here.
UPDATE_MODEL: versioned policy changes require dependency invalidation and re-evaluation.

12. HOW TO READ
Read the state model first, then the applicability and permission predicates. Use the entity relationships to traverse the graph, inference rules to resolve cases, and the execution conditions to avoid unsupported compliance claims.

13. IMPLEMENTATION NOTES
Store policies as versioned structured records; preserve timestamps and provenance. Use deterministic rule ordering, least-privilege access, audit logging and human review for contested legal interpretations. Test contradictory rules, withdrawn consent, retention exceptions and missing evidence.

END OF FLOW
Kireth Research
38 Thorndale Croft, Wetwang, Driffield
East Riding of Yorkshire YO25 9XZ