# Model your domain once. Query it across silos.

> Bind the databases, APIs, data lakes and spreadsheets that already hold your data to one model of your domain, and Folio builds and validates one graph that spans them all for your agents to query.

Source: https://semvia.io/docs

Your databases, APIs, data lakes and spreadsheets each describe part of your domain, and
none of them agree. In a Folio workspace, you and your agents model your domain once and bind
that model to each source where the data already lives. Start with one process or one system,
and grow the model toward the whole enterprise.

## Your model, a query and your agent, in one window

Your model describes your domain's entities, how they relate, and the state, actions and events
of the systems behind them. Bound to your sources, the model becomes a digital twin of your
enterprise: one graph across your sources. Folio validates the graph against your model and serves
it to your agents to query.

Figure: Folio with crm.ttl and pipeline-by-parent.rq open side by side and Folio's terminal below. crm.ttl in the Turtle Editor shows the Account class schema folded under its comment, which says an account is a company the sales team sells to, with one name and a link to its legal entity in GLEIF, and the Deal class schema open below it with its label, its comment and its first two properties, name and account. pipeline-by-parent.rq in the SPARQL Editor shows the first lines of a query that joins the open deals in the CRM's Postgres database to GLEIF's API, and its Results list three parent companies with their open deals and pipeline: HONEYWELL INTERNATIONAL INC., 5, 1675000; Johnson & Johnson, 3, 515000; GENERAL ELECTRIC COMPANY, 2, 350000. In the terminal, Claude Code, connected to Folio's MCP server, was asked which parent company has the largest open pipeline, called Folio 3 times, and answered that Honeywell International Inc. has the largest open pipeline, $1,675,000 across 5 open deals. Three numbered outlines mark crm.ttl (1), the query and its Results (2) and the terminal (3).

1. **Your model**: `crm.ttl` describes accounts and deals and binds them to a Postgres CRM. `gleif.ttl` binds
parent companies from the API of the
[Global Legal Entity Identifier Foundation](https://www.gleif.org/) (GLEIF). GLEIF records a
company's ultimate parent when the company reports one.
2. **A query**: `pipeline-by-parent.rq` joins the two sources and rolls open deals up to each ultimate parent.
3. **Your agent**: Claude, in Folio's terminal, asks the same graph over the
[Model Context Protocol](https://modelcontextprotocol.io/specification) (MCP), the protocol AI
agents use to call tools.
