Skip to content

Start here

Pick the path that matches your goal. Each link is a single next step — not the full documentation map.

SQL CRUD only (no RDF)

Quick startpip install ontosql, copy the Tier 1 script, run semantic CRUD in under 10 minutes (no repo clone).

Tutorial — full walkthrough with reads, writes, and semantic queries.

Then go deeper: When to use OntoSQL · Semantic queries · Architecture · Technical specification

Async sessions

Async sessions — self-contained runnable example; requires ontosql[async].

FastAPI production API

FastAPI quick start — copy-paste OntoRouter app (no clone).

Production FastAPI router — auth, body limits, and async lifespan patterns.

Hybrid SQL + RDF graph

Hybrid deployments — mirror SQL writes to an RDF graph on commit; import and materialize.

Requires graph sync setup; eventually consistent after SQL commit.

Nested writes and many-to-many

Cascade policieslink, upsert, replace, ignore on nested entities.

Bridge tablesMap.collection for many-to-many.

Postgres in production

Postgres dialect — UUID, JSONB, ARRAY patterns.

Evaluate for production

Enterprise adoption · Security · Compatibility · Compliance · FAQ · Troubleshooting

OntoRouter on public networks

OntoRouter requires dependencies=[Depends(your_auth)] before internet exposure. See production-router.md.

Contribute to OntoSQL

Contributing on this site · CONTRIBUTING.md on GitHub

Full documentation map

Return to the documentation home for the complete table of contents.