Palantir Technologies Inc. has a published patent application for planning ontology queries by first test-running their joins and filters on a sample of the data. Application US20260320049A1, "Query Execution Planning for Ontology-Based Databases", was published on October 15, 2026, according to the USPTO record.
It is an application, not a granted patent. The USPTO lists its status as "Docketed New Case - Ready for Examination", and its claims can change before any grant. Application 19532822 was filed on February 6, 2026.
The inventors are James Baker, Xavier Falco, Samuel Flavio Barroso Souza, Amr Al Mallah, Yixun Xu, Arseny Bogomolov and Slawomir Mucha.
In our reading, the problem is one of ordering. A single question asked of an ontology can become many database queries. The order of the joins and filters changes how much work the system does.
Claim 1, the first independent claim, protects a computer-implemented method in six steps:
- It receives a query against an ontology that defines entity types, each with one or more properties.
- It transforms the query into multiple database queries, "including one or more joins or filters".
- It estimates the data processing by running those queries "in a specific order on a sample" of the object databases representing the ontology.
- It determines an execution plan based on that estimate.
- It causes the queries to run according to the plan.
- It sends back a reply based on the result.
Claims 13 and 20 cover the same steps as a system and as a storage medium.
The dependent claims add detail. Claim 7 runs the queries in a second order on the sample and compares a first amount of data processing against the other. Claim 10 adds a grouping operation or an aggregation on the sample. Claim 11 adds extrapolating the amount of data processing from the sample.
The abstract goes further than the independent claims. When it compares join orders, it considers "how much data in the ontology can be accessed by the user account under the access controls". The text of claims 1, 13 and 20 does not mention access controls.
The application names no Palantir product, and no source says Palantir uses the method. In our view, its subject fits the ontology layer described in Palantir's Foundry documentation. That documentation says: "The Ontology's security system has to reconcile all of these granular policies, at the time of interaction, across tens of thousands of humans and agents."
We think the filing shows Palantir working on the layer between the objects users query and the databases that hold them. In our view, that is the layer that shapes how quickly an object-level question comes back for builders. We think the thing for competitors building semantic layers to watch is whether the abstract's permission-aware planning reaches the claims during examination.
The application follows an earlier Palantir application on turning text into ontology data.
