res.ontology.… and lives in a project.
The specification
Identifiers (
api_names, property names, subtypes) are [A-Za-z_][A-Za-z0-9_]*, safe as JSON-LD terms and as SQL identifiers. Everything is cross-validated at save time: an action naming a property or an object type that does not exist is a 400, and so is removing an object type a stored link still references.
GET /ontologies lists summaries (identity, api_name, version, is_standard); GET /ontologies/{id} returns the whole specification. PATCH replaces each of the three collections wholesale.
Standard ontologies
The platform ships twenty extraction ontologies, object types, subtypes and typed links without properties or bindings, to describe a domain before modelling a schema:general, business, finance, financial_analysis, accounting, insurance, legal, healthcare, human_resources, marketing, real_estate, supply_chain, maritime, energy, environment, esg, research, cyber, security, geopolitics. They are global, readable by everyone, listed with is_standard: true, and the first thing Klara reads before inventing a model.
Binding data
An object type bound to a dataset (dataset_id) has its instances in that dataset: the dataset’s columns must carry the declared property names, and only the declared properties are ever read, so extra columns never leak. A link type is backed either by a foreign key on the target object type (foreign_key_property, for ONE_TO_ONE and ONE_TO_MANY: the column holds the source’s primary key) or by an edge dataset (dataset_id with source_key/target_key columns, source_id/target_id by default).
Objects as JSON-LD
Bound instances are served asapplication/ld+json, read from the datasets with the same engine as SQL; the caller must be able to read both the ontology and the dataset.
@ids are {base_uri}/{object_type}/{pk}. Only single-typed links are traversable.
In an agent
An ontology bound to an agent gives itmodel, list_objects, get_object, list_links and list_linked_objects, and the agent’s instructions ask it to query the ontology first, before the datasets behind it: it is the structured view over the same data. Klara can create and update ontologies when asked to model a domain.
These endpoints are served by the platform and used by the Atlas interface; they are being opened on the public gateway progressively, and the Python library does not wrap them yet. The API reference lists what the gateway exposes today.