# Trilogy

> Recipe: Add a semantic layer to SQL; use it drop the requirement for joins/group\_by; add in type-checking and a lightweight python-esque import syntax to enable reuse and hierarchical querying. Trilogy is intended to provide an accessible but deep alternative to raw SQL. It offers a new-but-inspire…

Page: https://nowfound.app/launch/trilogy-a-reusable-composable-sql-experiment

- Launched: 2024-11-24
- Launch-day votes: 78, 40 comments; #431 of 4,590 launches that month (top 9%)
- Website: [trilogydata.dev](https://trilogydata.dev/demo), online when checked 2026-09-13
- Category: [Dev tools](https://nowfound.app/c/developer-tools.md)
- Forecast: 93% chance its website is still online in November 2031 (98% in November 2027, 95% in November 2029). Made 2026-11-29 and not revised. Typical launch of 2024: 87%. [Method](https://nowfound.app/forecast.md)
- Originality: 70/100 (original). More original than 70% of products launched in 2024. On its launch day the archive already held 3 similar products; none have launched since.

## In plain words

Trilogy is a SQL alternative that adds a semantic layer to reduce boilerplate like joins and group-by clauses. It uses a Python-inspired syntax with type-checking and a reusable import system, compiling to various SQL dialects including DuckDB. Designed for analysts and data engineers who prefer SQL but want cleaner code and looser database coupling, Trilogy enables interactive semantic model composition and sharing while maintaining SQL's ad-hoc workflow capabilities. It includes experimental ETL and DBT integration support.

_Written by AI from its launch page and website, 2026-09-05._

## What it does, from its own words

Simply SQL

## Does a similar job

- [Natural-SQL-7B](https://nowfound.app/launch/natural-sql-7b-a-strong-text-to-sql-model): Would love thoughts! Here is the HF page: https://huggingface.co/chatdb/natural-sql-7b (2024-02-05, 362 votes, free, forecast: 91% online in 2031, github.com)
- [learndb-py](https://nowfound.app/launch/i-wrote-a-rdbms-sqlite-clone-from-scratch-in-pure-python): This is a relational database management system written entirely in Python that functions similarly to SQLite. (2023-08-13, 371 votes, free, forecast: 93% online in 2031, github.com)
- [Using SQL's Turing completeness to build Tetris](https://nowfound.app/launch/using-sql-s-turing-completeness-to-build-tetris): Using SQL's Turing Completeness to Build Tetris. (2024-09-04, 338 votes, free, forecast: 95% online in 2031, github.com)
- [Arctype](https://nowfound.app/launch/arctype): Me with my friend Vitaly Ludvichenko made an experiment to combine ClickHouse server and client to make a self-contained program running a database engine and processing data without a server: https:… (2021-12-08, 492 votes, free tier, from $50/mo, forecast: 86% online in 2031, clickhouse.com)
- [SQLify](https://nowfound.app/launch/sqlify): SQLify is a PostgreSQL-compatible SQL interface that lets users query APIs and data sources in real-time without ETL pipelines or synchronization. (2024-10-23, 121 votes, from $42.12/mo, forecast: 85% online in 2031, sqlify.me)
- [Chat2DB Local](https://nowfound.app/launch/chat2db-local): After 6 months of working with 300+ early adopters, we've fundamentally reimagined how developers interact with databases. The core insight: Existing SQL tools treat AI as a plugin, but what if we re… (2024-10-28, 406 votes, free tier, one-time $9.9, forecast: 86% online in 2031, chat2db.ai)

All alternatives: https://nowfound.app/alternatives/trilogy-a-reusable-composable-sql-experiment.md

## For the maker of Trilogy

- Feature it at the top of the NowFound home page for $19 for 30 days, marked sponsored: https://nowfound.app/feature/trilogy-a-reusable-composable-sql-experiment
- Free: put the badge on the product's own site and it joins Featured products after the paid spots, and this page links to the site with a normal link search engines follow. HTML for the footer: `<a href="https://nowfound.app/launch/trilogy-a-reusable-composable-sql-experiment"><img src="https://nowfound.app/badge/trilogy-a-reusable-composable-sql-experiment.svg" alt="Trilogy on NowFound" height="32"></a>`

Source: [Show HN post](https://news.ycombinator.com/item?id=42231325)
