KT is in beta: iPhone →Android & web →

How Palantir Foundry Ontology Works

Katy & TheoEpisode 10 of Palantir7 min

PalantirEpisode 107 min · Katy & Theo
0:00-6:31

In the app you can ask Katy about anything mid-episode, then it picks back up.

Objects, links and actions: the business layer Palantir builds on top of your messy data.

Transcript

Katy

Palantir's own chief architect describes the Ontology as the nouns and the verbs of a company. Objects and links are the nouns. Actions are the verbs. Put them in a sentence and you've made a decision.

Theo

That's a nice line, but what IS it? Like, is it a database?

Katy

No, and that's the first thing to get straight. It sits on top of your databases and translates them into real-world concepts: a Machine, a Work Order, a Supplier. Not tables, things.

Theo

Honestly my assumption was that you just point it at your ERP system and it mirrors the tables.

Katy

That's the number one anti-pattern. A Palantir consultant, Michael Ellerbeck, wrote it up this February: if your object type is a direct copy of a source table, you've done it wrong. His test is whether the model is easier for a database admin to read than for an operator.

Theo

So the ontology is supposed to mirror the world, not the warehouse.

Katy

Exactly the design principle Palantir teaches. A virtual twin of what exists outside, not of your datasets. So, piece one: object types and properties. Then link types, which connect them. A hospital system that BD Emerson built this year has beds, units, staff, patients, and the events that move patients between them.

Theo

And the links are, what, this patient is in that bed?

Katy

Right, and links can be many-to-many. One nurse to many patients, one patient across many units over a stay. Every number on the charge nurse's dashboard traces back to the source system that produced it. That's lineage.

Theo

Okay so far it's a fancy map. Where does anything actually happen?

Katy

Actions. That's the kinetic half. An action is a defined, governed thing a person or an AI can do: reassign a work order, close a work order. And crucially it writes back into the real systems.

Theo

Writes back? So it's not just reading your data, it's changing the hospital's actual records?

Katy

That's the line between an analytical system and an operational one. Palantir's architecture paper says decisions get staged as scenarios, reviewed, then synced back to transactional systems, edge devices, rugged assets in the field.

Theo

Who's allowed to press the button though? That sounds terrifying.

Katy

There's a split: people who can explore options, people who can stage them for review, people who can commit. And each decision is logged with which version of the data it was made on.

Theo

Decision lineage.

Katy

Their term for it. And a developer writing about production ontologies in September argued most teams get this backwards: they design row-level read access beautifully and then let any editor submit any action.

Theo

Classic. Lock the front door, leave the window open.

Katy

The other killer mistake is the primary key. Every object type needs a unique ID, and Palantir says it must be a string, in its own column called id.

Theo

Why does that matter so much? It's just an ID.

Katy

Because links, user edits and every app downstream hang off it. If your key is a row number that gets regenerated each time the pipeline runs, your links break and people's edits get orphaned. Changing it later is expensive.

Theo

Orphaned edits. So a nurse's note just... detaches from the patient.

Katy

That's the fear. Which is why the advice is: unique, deterministic, stable across rebuilds. No reissued badge numbers. Now the newest piece. As of the week of November ninth, Palantir made Ontology SQL generally available across all Foundry enrollments.

Theo

Finally, SQL. So I can just query the whole thing like a warehouse?

Katy

No, and this is where people will trip. It's read-only. One SELECT statement, no writes, no schema changes, and you can't mix ontology objects and raw datasets in the same query.

Theo

Huh. So it's deliberately fenced in.

Katy

Plus hard limits: a twenty-second execution timeout, up to six seconds of queueing when Spark is saturated, and results truncated at ten thousand rows.

Theo

Ten thousand? That rules out anything like a big report.

Katy

Which matches the design advice, actually. Heavy aggregations belong in datasets and analytics tools. The ontology is for the entities people act on.

Theo

Alright. Say I've got an energy company, fifty thousand turbines, and I want a monthly report of total downtime hours by region. Ontology or not?

Katy

Go on, what's your call?

Theo

Not. That's a big aggregation, no one's taking an action on it, and I'd blow past ten thousand rows anyway. Put it in the warehouse.

Katy

Right. The ontology version is Turbine objects linked to Maintenance Jobs, with an action a technician presses to dispatch a crew. Report in Snowflake, decision in Foundry.

Theo

And presumably that's the honest case against all of this.

Katy

It is. InfoWorld ran a data engineer's take in August: he said the self-service layer felt like the default in Foundry, versus deliberate engineering effort on Snowflake. But he also said a strong team could build a better, more tailored layer themselves.

Theo

And it isn't cheap, I assume.

Katy

Palantir publishes no list price. From UK procurement records, core-based licences start around sixty-six thousand pounds per server core per year. His question for any organisation: what share of your people can actually write SQL?

Theo

If it's most of them, you don't need the translation layer.

Katy

That's the test. So: objects and links as the semantic map, actions as the governed verbs that write back, decision lineage recording who did what on which data, and a stable string primary key holding it all together.

Theo

And don't copy your ERP in there.

Katy

Don't copy your ERP in there.

Sources

Katy and Theo researched this episode from these sources.

  1. Palantir’s Ontology SQL is GA—but its execution limits should shape your rollout — nl2sql.ai
  2. Ontology basics (v2, latest) • API Reference • Palantir
  3. Hospital System Palantir Foundry Case Study | BD Emerson
  4. Palantir Foundry vs. Snowflake: A data engineer's honest take | InfoWorld
  5. A few Palantir Ontology Anti-Patterns (Don’t do this) – Michael Ellerbeck
  6. Deep Dive: Advanced Ontology | DevCon 5 Transcript, Summary & Key Takeaways — transcribe
  7. by Akshay Krishnaswamy, Chief Architect, Palantir
  8. Palantir Foundry vs. Traditional Data Platforms: When Does Enterprise Consulting Make Sense?
  9. Designing a Palantir Foundry Ontology That Holds Up in Production: Object Types, Link Types, and Action Governance - DEV Community
  10. Sovereign AI for the Supply Chain, Built on Infrastructure You Control | Dell USA