Your data platform knows where the data is. We add what it means.
fastrdf gives your data a shared model that can be checked automatically, on the platforms you already run and in open standards.
- Nothing to replaceWorks with Microsoft Fabric, Databricks, Snowflake or your own servers.
- Checked on every changeLarge graphs validate in about a minute.
- Yours to keepOpen standards, no lock-in.
fastrdf brings the speed and interactivity of DataFrames to RDF. Map any data into a graph, query it with SPARQL, validate it with SHACL and reason over it with Datalog. You can run the process in memory, or use our disk storage capabilities for your large scale jobs.
from fastrdf import Model
m = Model()
# OTTR template + Polars DataFrame
m.map(tpl, df)
# -> Polars DataFrame
m.query("SELECT * WHERE { ?s ?p ?o }")
DataFrames in. Knowledge graph. DataFrames out.
What we are used for
Five use cases we see across sectors where data is spread over decades of source systems and errors in the model are costly.
Data integration
Bring data from many systems into one model that is rebuilt when a source changes. Works with Microsoft Fabric, Databricks, Snowflake, DuckDB, InfluxDB and more.
Standards and regulatory compliance
Show that your data meets the standard, with semantic modelling and automatic checks.
Data validation
Validate the whole dataset on every change, so errors are found when they are introduced.
Reasoning
Derive what the data implies with rules, and answer topology and impact questions with a plain query.
Digital sovereignty
Keep the data and the model under your own control, on-premise and in open standards.
All five in detail
Each use case with the situation, what we do, what you get and an example.
What fastrdf does
Map
OTTR templates turn a Polars DataFrame into RDF triples, so the modelling sits in one readable template instead of in code. JSON, XML and plain DataFrames map without a template through Façade-X, and relational data maps through W3C R2RML.
Query
SPARQL SELECT returns a Polars DataFrame, so a graph query fits into a data pipeline like any other step. m.insert adds the result of a CONSTRUCT to the graph, and SPARQL Update changes it in place.
Validate
The SHACL engine is fast enough to run on every load. Reports come back as DataFrames that you can diff and track over time.
Reason
Datalog rules, RDFS profiles and recursive SPARQL CONSTRUCT derive new facts, such as connectivity, topology and impact, from the facts already loaded.
Connect
One SPARQL query spans the graph and sources such as DuckDB, Snowflake, BigQuery, Databricks, Microsoft Fabric, InfluxDB, OPC UA, OSIsoft PI and Cognite Data Fusion without copying your source data.
Ship
Rust, Polars and Apache Arrow underneath, with a Python API on top. It runs in a notebook, a batch job or a container, and reads and writes object storage on S3, Google Cloud and Azure.
A Norwegian company building on open standards.
Data Treehouse is a small Norwegian company founded on doctoral research into knowledge graph systems and years of industrial software work. We build fast knowledge graph tooling, and we build it on open, vendor-neutral standards.
Models expressed in RDF, SPARQL, SHACL and OWL belong to the organisation that made them, and they can be moved to other tools. pip install fastrdf installs the whole of fastrdf, with every feature, and it is developed with supply chain security in mind, which matters to a defence programme and to a grid operator alike.
We work together with your engineers. Most engagements start from the models, databases and source systems you already have and lift them into a semantic graph, without replacing anything.
- Founded on
- PhD research in knowledge graph systems, plus industrial software delivery.
- Built with
- Rust, Polars and Apache Arrow, exposed through a Python API. No JVM.
- Published in
- IEEE Access and Expert Systems & Applications (Elsevier).
- Research with
- OsloMet, HVL, University of Oslo, University of South-Eastern Norway.
- Funded by
- The Research Council of Norway.
- INSTALL
- pip install fastrdf installs the whole library. README and licence: github.com/DataTreehouse/fastrdf
9–22×
Faster SHACL validation
Measured against Jena, RDF4J and TopBraid on the ERA-SHACL benchmark. The largest dataset validates in roughly 75 seconds where the alternatives take 11 to 24 minutes.
Published in IEEE Access
10–85×
Faster federated time-series queries
Measured against Ontop for SPARQL queries that span a triple store and a time-series database, which is the common case in industrial data.
Published in Expert Systems & Applications
The people behind fastrdf
We have some of the brightest minds in Europe working for us.
To be announced
Chief Executive Officer
Our new CEO will be revealed soon.

Magnus Bakken
Chief Technology Officer
Founder of Data Treehouse and author of fastrdf. The company builds on his doctoral research on knowledge graph systems and federated time-series querying.

Veronika Heimsbakk
Field CTO
Ontologist, speaker and author. With over a decade of practical experience, she shows builders across the globe how to leverage their full potential with fastrdf.
We have a great team of knowledge engineers who unlock value for our clients. To scale, we partner with small, specialised consultancy firms.
Free to evaluate and to learn with. Licensed for production.
pip install fastrdf installs the whole library, with every feature. It is licensed under the Business Source License 1.1: free outside production, for personal use and for accredited educational institutions. Other production use, including by companies and government institutions, needs a commercial licence.
Deploying fastrdf in production?
If you are looking to run fastrdf in production, reach out. We will set up a licence and support that fit your deployment.
Request a demo
Tell us roughly what you are modelling and where the data sits. A demo usually takes 30 to 45 minutes with an engineer. Where it makes sense, we map a slice of your own data live.
Prefer plain email?
info@data-treehouse.com