nowfound

Dev tools · November 24, 2024

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-inspired-by-SQL syntax that compiles to various dialects of SQL (with DuckDB as the default). The target audience is people that really like SQL for analytics and data engineering, but want less boilerplate and sharp edges and looser coupling to the DB. Semantic models can be easily shared, composed…

Launched as “Trilogy – A Reusable, Composable SQL Experiment”

Trilogy launched on November 24, 2024 with 78 votes, #431 of 4,590 launches that month and more than 90% of that year's launches. The site was still online in September 2026, 2 years on.

Visit trilogydata.dev ↗Trilogy alternativestop 9% of November 2024

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 · 5 September 2026

Originality

70/100

Original. More original than 70% of products launched in 2024.

Similar products before it
3
in the archive on its launch day
See similar products ↓
Similar products since
None
launched after it

crowded fieldone of a kind

The score compares the words of this launch with every earlier launch in the archive: the fewer close matches on launch day, the higher the score. It says how new the idea was, not how good the product is. Similar products counted on November 30, 2026. See the similar products →This week’s most original launches →

Forecast

93%

chance that Trilogy’s website is still online in November 2031. Typical launch of 2024 gets 87%.

1 year
98%
typical 96%
3 years
95%
typical 91%
5 years
93%
typical 87%
  • Trilogy
  • Typical launch of 2024

Launch signals stronger than 96% of the archiveweakest → strongest

Made on November 29, 2026, when the site was online, from what was public on launch day. It is not revised, and it is graded when the site is checked again. How the forecast works and how often it is right →

From the sources

Simply SQL

This demo uses the popular TPC-DS dataset, often used to benchmark performance for databases. We’ll use it a little differently here. DuckDB can generate a representative data warehouse from TPC-DS using a simple extension, and we’ll use that to explore Trilogy syntax. You can read more about Trilogy and our use of this benchmark here . This demo uses a backing service that may take a few seconds to cold-start; follow-up queries should be fast. This service uses DuckDB. Trilogy is database-agnostic: the same syntax works on any backend, such as Postgres, BigQuery, or Snowflake. TPC-DS provides a nice, tidy warehouse: 17 dimension tables and 7 fact tables. That’s a lot to work with!…from trilogydata.dev

In the maker’s words, at launch

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-inspired-by-SQL syntax…

  • Natural-SQL-7B2024 · github.com · ▲362

    Would love thoughts! Here is the HF page: https://huggingface.co/chatdb/natural-sql-7b

  • learndb-py2023 · github.com · ▲371

    This is a relational database management system written entirely in Python that functions similarly to SQLite.

  • Using SQL's Turing completeness to build Tetris2024 · github.com · ▲338

    Using SQL's Turing Completeness to Build Tetris.

  • Arctype2021 · clickhouse.com · ▲492

    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://github.com/ClickHouse/ClickHouse/pull/150 Development continued in the past 6 years, and now clickhouse-local becomes a swiss-army knife for data processing. Say "ffmpeg" for datasets and more. It can resemble textql, octosql, dsq, duckdb, trdsql, q, datafusion-cli, spyql, but has better capabilities and performance. Here is a tutorial:…

  • SQLify2024 · sqlify.me · ▲121

    SQLify is a PostgreSQL-compatible SQL interface that lets users query APIs and data sources in real-time without ETL pipelines or synchronization.

  • Chat2DB Local2024 · chat2db.ai · ▲406

    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 rebuild the entire workflow around natural language? *Key technical changes*: • *Context-aware SQL Copilot* (Ctrl+K): Implements chain-of-thought prompting that self-debugs through query execution plans • *Multi-model routing*: Dynamically routes prompts to specialized models (Claude 3.7 Sonnet for schema analysis, GPT-4 for ambiguous requests) • *Zero-shot schema understanding*: Skips manual…

More dev tools this month

the category →

Is Trilogy yours? Feature it on the home page: $19, or free with the badge →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, November 2024

the whole month →