Visual Ontology Studio & Object 360° Dossier
The Visual Ontology Studio delivers full feature parity with Palantir Ontology Management Application (OMA) and Object View, providing an open, no-code visual modeling canvas that bridges Google BigQuery and Apache Iceberg physical lakehouse tables into an enterprise business semantic graph.
Strategic Value & Architecture
Enterprise data platforms fail when raw physical schemas (tbl_order_header_v3_partitioned) remain decoupled from business mental models. Visual Ontology Studio elevates lakehouse data into first-class operational objects:
Key Capabilities
1. Interactive Visual Modeling Canvas
- Draggable Entity Cards: Position objects freely on an infinite SVG canvas with real-time coordinate persistence.
- Dynamic Bezier Links: Curved connectors illustrate cardinality (
1:1,1:N,M:N) and semantic relationship verbs (contains,routes_through,manufactured_by). - Physical Column Mapping: Each property explicitly declares its physical table origin, data type (
STRING,NUMERIC,TIMESTAMP), and nullability constraints.
2. Live Lakehouse Metastore Deployment (2PC)
Deploying changes to the ontology automatically increments the metastore schema version (e.g., v2.7.0) and issues a cryptographic commit receipt:
- Generates an immutable transaction hash (
0x9b78e2...). - Synchronizes physical metadata with Google BigQuery metadata tables and Apache Iceberg catalog.
- Emits audit telemetry to the SLSA L3 compliance ledger.
Palantir Object View Parity: 360° Object Dossier
Clicking any entity within the Strategic Cockpit or Ontology Studio opens the Object 360° Dossier, providing deep end-to-end operational inspection:
Dossier Structure:
- Canonical Identity Header: Unique system ID, object class (
DAG_WORKFLOW,SKU,ORDER,FACILITY), and operational status badge. - Properties Matrix: Complete attribute breakdown with data types, physical table references, and freshness timestamps.
- Graph Relations (Upstream & Downstream): Interactive link map displaying interconnected parent nodes (e.g. SCM Parent Swarm) and child nodes (e.g. Workers, Telemetry Nodes).
- Lifecycle Timeline: Chronological event stream recording state transitions, metric drift, and operator interventions.
- Bound 2PC Actions: Action trigger buttons (e.g.
Emergency Rebalance,Freeze Inventory) with cryptographic signature confirmation.
Governed FastMCP Tools
The Visual Ontology Studio is fully exposed to external LLMs and micro-agent swarms via FastMCP:
| Tool Name | Scope | Schema / Parameters |
|---|---|---|
dxp.ontology.list | List registered enterprise object classes | include_properties?: boolean |
dxp.object.dossier | Retrieve full 360° dossier for a specific entity ID | entity_id: string, depth?: number |
dxp.ontology.studio.graph | Fetch graph nodes, coordinates, and Bezier links | tower?: string |
dxp.ontology.studio.deploy | Deploy draft ontology schema changes to Lakehouse | version_bump: "patch" | "minor" |
Shape Admittance & Ingestion Contracts
Knowledge graph pollution occurs when LLM agents or autonomous collectors insert ungrounded entities or invented relationship predicates into the graph store. To ensure strict semantic fidelity and schema conformity, the platform implements a closed-vocabulary Shape Admittance Validator (ShapeAdmittanceValidator) under isa_data.services.data_fabric_service.graph.shape_admittance.
Architecture & Verification Flow
Closed-Vocabulary Predicates & Domain-Range Shapes
All graph edges must conform to closed-vocabulary predicates defined in ONTOLOGY_EDGE_SHAPES. Any edge violating domain-range constraints is rejected at ingestion time:
Predicate (GraphEdgeType) | Permitted Domain (Subject) | Permitted Range (Object) | Semantic Description |
|---|---|---|---|
CONTAINS | DATA_ASSET, DATA_PRODUCT | COLUMN, DATA_ASSET | Structural composition |
DERIVES_FROM | DATA_ASSET, COLUMN, METRIC | DATA_ASSET, COLUMN | Lineage and transformation derivation |
DEFINES | BUSINESS_TERM | METRIC, DATA_ASSET | Semantic glossary governance |
GOVERNED_BY | DATA_ASSET, DATA_PRODUCT | POLICY | Security and compliance binding |
OWNED_BY | Any Entity (*) | USER | Principal accountability |
PRODUCED_BY | DATA_ASSET, RUN | RUN, JOB | Execution lineage provenance |
CONSUMED_BY | DATA_ASSET | RUN | Execution input data consumption |
STORED_IN | DATA_ASSET | PLATFORM | Physical infrastructure binding |
DESCRIBED_BY | Any Entity (*) | DOCUMENT, KNOWLEDGE_BASE | Documentation and unstructured context |
RELATED_TO | Any Entity (*) | Any Entity (*) | Generic symmetric semantic association |
Entity Natural Key Format & Guardrails
Natural key formats are strictly validated:
- Format:
prefix:natural_key(e.g.,run:8f91a2...,data_asset:iceberg/analytics/orders). - Whitespace & Control Characters: Empty keys, leading/trailing whitespace, and non-printable control characters (ASCII
< 32or DEL127) are immediately rejected. - Path Traversal Prevention: Keys containing traversal patterns (
..) are rejected to prevent file-system or metastore breakout. - Groundedness Catalog: When initialized with
grounded_entities, the validator confirms that both subject and object exist in the verified entity catalog.
Admittance Error Codes
| Error Code | Trigger Condition | Severity |
|---|---|---|
UNKNOWN_PREDICATE | Predicate not registered in closed vocabulary GraphEdgeType | Fatal / Reject |
UNGROUNDED_ENTITY | Subject or object lacks valid canonical prefix or is missing from entity catalog | Fatal / Reject |
DOMAIN_RANGE_VIOLATION | Subject label and object label pairing is not permitted for the given predicate | Fatal / Reject |
Python Admittance Validation API
from isa_data.services.data_fabric_service.graph.shape_admittance import (
ShapeAdmittanceValidator,
Triple,
AdmittanceErrorCode,
)
validator = ShapeAdmittanceValidator()
# Valid triple: DataAsset produced by Run
valid_triple = Triple(
subject="data_asset:iceberg/finance/invoices",
predicate="PRODUCED_BY",
object="run:c842b109-6447-49f3-8b71-125032607901",
)
result = validator.validate_triple(valid_triple)
assert result.is_admitted # True
# Invalid triple: Policy cannot be consumed by Run (Domain-Range violation)
invalid_triple = Triple(
subject="policy:gdpr_retention_rule",
predicate="CONSUMED_BY",
object="run:c842b109-6447-49f3-8b71-125032607901",
)
bad_result = validator.validate_triple(invalid_triple)
assert not bad_result.is_admitted
print(bad_result.violations[0].code) # AdmittanceErrorCode.DOMAIN_RANGE_VIOLATIONUnified Execution & Lineage Graph Schema
To bridge operational workflow executions (isA_Orch / isA_Agent_SDK) and storage metadata plane (isA_Data), the platform implements a unified graph schema centered on two canonical entity labels: :Run and :DataAsset.
Canonical Node Projections
Legacy scoped entity identifiers are automatically projected into canonical graph nodes via to_canonical_node_id():
agent_run:<uuid>➔run:<uuid>digital_asset:<uuid>➔data_asset:agent_assets/<uuid>
Node Schema Reference
1. :Run Node
Represents a discrete unit of agent execution, DAG pipeline run, or micro-workflow step:
id(STRING, Primary Key): Canonical formatrun:<uuid>.name(STRING): Descriptive name of the task, agent, or workflow stage.scope(STRING): Tenant or project isolation scope.status(STRING):RUNNING,COMPLETED,FAILED,CANCELLED.legacy_id(STRING): Original identifier from legacy systems if re-projected.created_at(TIMESTAMP): Start time.updated_at(TIMESTAMP): Completion or last status change timestamp.metadata(JSON/STRING): Execution facets, runtime options, parameters.
2. :DataAsset Node
Represents an immutable dataset partition, physical table, vector index, or produced artifact:
id(STRING, Primary Key): Canonical formatdata_asset:<uuid>.name(STRING): Table or artifact name (e.g.,analytics.fct_daily_orders).domain(STRING): Business domain (finance,supply_chain,telemetry).scope(STRING): Security namespace / tenant.status(STRING):ACTIVE,DEPRECATED,CORRUPTED.version(INT): Monotonically increasing schema or snapshot version.created_at(TIMESTAMP): Materialization timestamp.updated_at(TIMESTAMP): Last modification timestamp.metadata(JSON/STRING): Parquet storage paths, Iceberg snapshot IDs, column hashes.
Canonical Causality Edge Types
The unified schema enforces three primary causal edges for deterministic lineage tracing:
(:DataAsset)-[:PRODUCED_BY]->(:Run): Materialization provenance linking an output asset to the run that created it.(:DataAsset)-[:CONSUMED_BY]->(:Run): Upstream dependency indicating that a run utilized an asset as input.(:Run)-[:CAUSED_BY]->(:Run): Direct causal link connecting child task runs to triggering parent runs or preceding DAG steps.