Document Extraction into a Knowledge Graph | Fluree AI

Documents into governed graph facts.

Turn PDFs, Office files, HTML and scans into graph facts. Fluree finds the entities you already know, pulls out only the relationships your ontology allows, and lands every claim in the graph with the excerpt that proves it.

Extract Overview

  1. Ingest
  2. Parse
  3. Lift
  4. Map
  5. Relate
  6. Scale
  7. Cost
  8. Learn
  9. Accuracy

01 Thesis

Most of what a company knows is written down, not filed in a table. Contracts, filings, research, field reports and email carry the facts that decide things, and until recently the only way to query them was to read them.

The usual fix, cutting documents into chunks and retrieving whatever sounds similar, throws away the two things that make a fact usable: what it refers to and where it came from. An agent acting on a chunk cannot say which supplier, which clause, or which page.

Fluree takes the other route. A deterministic parser keeps the structure and position of every element. Your own vocabulary finds the things you already know. Your ontology tells a language model what it may extract, and every claim keeps the sentence that justified it. The result lands in FlureeDB as ordinary triples, under the same identifiers, history and policy as the rest of your data.

Capabilities

Ten things a chunking pipeline can’t do.

  1. 01 Structure first A deterministic engine reads geometry, outline, fonts and rules into sections, lists and tables. No model, no GPU.
  2. 02 Position survives Every element keeps its character offsets and, for PDFs, its page and bounding box, so a tag can point at the exact cell.
  3. 03 Escalation, earned A vision model reads only the pages and regions measured as unreadable, and its reading is arbitrated, never trusted outright.
  4. 04 Known things stay known A dictionary scan links every mention of your vocabulary to the IRI it already has. No tokens spent.
  5. 05 Taxonomy roll-up Auto-Categorization tags a document with the topics it names and the broader ones they roll up to, scored apart.
  6. 06 The ontology is the prompt The model may use only your classes and properties. A predicate that matches nothing is recorded as rejected.
  7. 07 Evidence on every claim Each relation is stored with its excerpt, its verdict and its document. No excerpt, no fact.
  8. 08 Resolution across sources Extracted entities reconcile to the identities you already hold, so document facts join CRM records without a mapping step.
  9. 09 Review that teaches Verdicts train a small ranker, every rejection becomes a standing caution, and missed entities grow the vocabulary.
  10. 10 One graph, same governance Mentions and relations are ordinary triples in FlureeDB. Time travel and policy apply to a fact from a scanned report as to a row.

Benchmarks

Fast and effective.

On opendataloader-bench, 200 PDFs scored for layout fidelity against ground truth in October 2026, the deterministic engine alone scores 0.895 with no model. With vision escalation for the regions that need it, the cascade scores 0.934, the highest of the 17 engines scored. The corpus has no scanned PDFs, so read it as a measure of structure, not of reading pixels.

Engine Overall score
Fluree cascade 0.934
OpenDataLoader hybrid 0.907
Fluree deterministic 0.895
Nutrient 0.885
Docling 0.882
Marker 0.861
Unstructured hi_res 0.841
EdgeParse 0.837
MinerU 0.831

Install

Ingest. Search. Extract.

Document extraction ships inside the FlureeDB command line. Parse a folder into a ledger with no model at all, search it by words or by meaning, then add the entities you already know and the ontology that governs extraction.

# the FlureeDB command line includes document extraction
brew install fluree/tap/fluree

# parse a folder into a ledger: structure, chunks, full-text index
fluree doc ingest ./contracts -l contracts
# search by words, or by meaning once embeddings are configured
fluree doc search "termination notice period" -l contracts -n 3
# add the entities you know and the ontology that governs extraction
fluree doc ingest ./contracts -l contracts \
  --entities counterparties.ttl --model ./contracts-ontology.ttl

Deploy

001

Local only

The CLI: deterministic parse, chunks and full-text search. No model, no GPU, nothing leaves the machine.

002

Local, your models

Point embeddings and extraction at any OpenAI-compatible endpoint: Ollama, vLLM or OpenAI.

003

With Fluree AI

Managed models through the gateway, and the hosted pipeline with the review loop that trains on your verdicts.

Put it on your documents.

Parse a folder and scan it against a vocabulary you already own today, with no tokens spent. Bring an ontology when you want relationships.