Skip to main content

📘 1. SYNCTX Ontology (TTL)

This is the canonical semantic model.


@prefix synctx: <https://kivanura.org/spec/hdip/synctx#> .
@prefix dp: <https://kivanura.org/spec/dp#> .
@prefix hpd: <https://kivanura.org/spec/hdip/hpd#> .
@prefix org: <https://kivanura.org/spec/org#> .
@prefix dprod: <https://example.org/ikgf/dprod#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix owl: <http://www.w3.org/2002/07/owl#> .

##################################################
# Ontology Declaration
##################################################

synctx:Ontology a owl:Ontology ;
rdfs:label "HDIP Synthetic Context Ontology" ;
rdfs:comment "Defines the relational boundary construct for synthetic data generation in HDIP." .

##################################################
# Core Class
##################################################

synctx:SyntheticContext a owl:Class ;
rdfs:label "Synthetic Context" ;
rdfs:comment "A platform-generated construct defining relational boundaries for synthetic data generation." .

##################################################
# Core Relationships
##################################################

synctx:hasMemberProduct a owl:ObjectProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range dp:DataProduct ;
rdfs:label "has member product" .

synctx:hasRelationship a owl:ObjectProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range synctx:Relationship ;
rdfs:label "has relationship" .

synctx:produces a owl:ObjectProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range dp:DataProduct ;
rdfs:label "produces synthetic product" .

##################################################
# Relationship Modeling
##################################################

synctx:Relationship a owl:Class ;
rdfs:label "Cross Product Relationship" ;
rdfs:comment "Represents a relationship between member data products." .

synctx:fromProduct a owl:ObjectProperty ;
rdfs:domain synctx:Relationship ;
rdfs:range dp:DataProduct .

synctx:toProduct a owl:ObjectProperty ;
rdfs:domain synctx:Relationship ;
rdfs:range dp:DataProduct .

synctx:relationshipType a owl:DatatypeProperty ;
rdfs:domain synctx:Relationship ;
rdfs:range rdfs:Literal ;
rdfs:label "relationship type (e.g. foreign_key)" .

##################################################
# Purpose & Generation
##################################################

synctx:hasPurpose a owl:DatatypeProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range rdfs:Literal ;
rdfs:label "purpose of synthetic context" .

synctx:hasFidelityLevel a owl:DatatypeProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range rdfs:Literal ;
rdfs:label "fidelity level" .

synctx:generationMode a owl:DatatypeProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range rdfs:Literal ;
rdfs:label "generation mode" .

##################################################
# Constraints
##################################################

synctx:hasConstraint a owl:ObjectProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range synctx:Constraint .

synctx:Constraint a owl:Class ;
rdfs:label "Constraint" .

synctx:constraintType a owl:DatatypeProperty ;
rdfs:domain synctx:Constraint ;
rdfs:range rdfs:Literal .

synctx:constraintValue a owl:DatatypeProperty ;
rdfs:domain synctx:Constraint ;
rdfs:range rdfs:Literal .

##################################################
# Governance
##################################################

synctx:contextOwner a owl:ObjectProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range rdfs:Resource ;
rdfs:label "context owner (requesting domain)" .

synctx:enforcedBy a owl:ObjectProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range rdfs:Resource ;
rdfs:label "platform or system enforcing context" .

##################################################
# Lifecycle
##################################################

synctx:createdOn a owl:DatatypeProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range rdfs:Literal .

synctx:version a owl:DatatypeProperty ;
rdfs:domain synctx:SyntheticContext ;
rdfs:range rdfs:Literal .

🧠 Key Design Notes (TTL)


✔ SYNCTX is a first-class class

synctx:SyntheticContext a owl:Class

✔ Relationships are modeled explicitly

Instead of implicit joins:

synctx:Relationship

✔ Members are Data Products

synctx:hasMemberProduct → dp:DataProduct

✔ Outputs are explicitly linked

synctx:produces → dp:DataProduct

✔ Ownership is separated

synctx:contextOwner
synctx:enforcedBy

📦 2. JSON-LD Context for SYNCTX

Now we define the runtime-friendly layer.


{
"@context": {

/* Namespaces */
"synctx": "https://kivanura.org/spec/hdip/synctx#",
"dp": "https://kivanura.org/spec/dp#",
"hpd": "https://kivanura.org/spec/hdip/hpd#",
"org": "https://kivanura.org/spec/org#",
"dprod": "https://example.org/ikgf/dprod#",
"rdfs": "http://www.w3.org/2000/01/rdf-schema#",

/* Core */
"id": "@id",
"type": "@type",

"SyntheticContext": "synctx:SyntheticContext",

/* Members */
"members": {
"@id": "synctx:hasMemberProduct",
"@type": "@id"
},

/* Relationships */
"relationships": {
"@id": "synctx:hasRelationship",
"@type": "@id"
},

"from": {
"@id": "synctx:fromProduct",
"@type": "@id"
},

"to": {
"@id": "synctx:toProduct",
"@type": "@id"
},

"relationshipType": "synctx:relationshipType",

/* Purpose & Generation */
"purpose": "synctx:hasPurpose",
"fidelity": "synctx:hasFidelityLevel",
"generationMode": "synctx:generationMode",

/* Constraints */
"constraints": {
"@id": "synctx:hasConstraint",
"@type": "@id"
},

"constraintType": "synctx:constraintType",
"constraintValue": "synctx:constraintValue",

/* Outputs */
"outputs": {
"@id": "synctx:produces",
"@type": "@id"
},

/* Governance */
"contextOwner": {
"@id": "synctx:contextOwner",
"@type": "@id"
},

"enforcedBy": {
"@id": "synctx:enforcedBy",
"@type": "@id"
},

/* Lifecycle */
"createdOn": "synctx:createdOn",
"version": "synctx:version"
}
}

📄 3. Example SYNCTX Instance (JSON-LD)


{
"@context": "https://kivanura.org/context/synctx.jsonld",

"id": "https://kivanura.org/data/synctx/SYNCTX-AI-TRAINING-001",
"type": "SyntheticContext",

"purpose": "model_training",
"fidelity": "high",
"generationMode": "coordinated",

"members": [
"https://kivanura.org/data/dp/PaymentDataProduct",
"https://kivanura.org/data/dp/PartyDataProduct"
],

"relationships": [
{
"type": "synctx:Relationship",
"from": "https://kivanura.org/data/dp/PaymentDataProduct",
"to": "https://kivanura.org/data/dp/PartyDataProduct",
"relationshipType": "foreign_key"
}
],

"constraints": [
{
"type": "synctx:Constraint",
"constraintType": "privacy",
"constraintValue": "no_pii"
}
],

"outputs": [
"https://kivanura.org/data/dp/SynthPaymentDataProduct",
"https://kivanura.org/data/dp/SynthPartyDataProduct"
],

"contextOwner": "https://example.org/org/AIEngineering",

"enforcedBy": "https://kivanura.org/platform/DPFI",

"version": "1.0.0"
}

🔥 Final Mental Model


🔹 SYNCTX in HDIP Graph

Data Products

SYNCTX (relational boundary)

Synthetic Data Products

🔹 Interaction with HPD

HPD → references SYNCTX
SYNCTX → produces products