Apache Ossie alternative

The Apache Ossie alternative: a language with a compiler and a verifier

Apache Ossie is a YAML file format: it runs no queries and checks no data. Synalog compiles each rule to SQL and proves it well-formed, safe and terminating first.

SynaLemma

SynaLemma vs Apache Ossie: key differences

  1. The engine reasons, not the model

    Ossie is a file format: it runs no queries, and each tool that reads the file decides how to compute it. In SynaLemma, the Synalog engine does every join, recursion and total, to a declared depth, compiled to SQL on PostgreSQL, BigQuery, Databricks, Trino, Presto, DuckDB and SQLite.

  2. Every rule proved before it runs

    Ossie validates a file against its schema; its draft ontology declares constraints but never checks them. A symbolic verifier proves each Synalog rule well-formed, safe and terminating before any SQL runs, and first-order assertions return the rows that break them.

  3. One definition per term

    In Ossie's core specification, a metric cannot reference another metric. In Synalog, rules use other rules: each business term is defined once, over your tables, and reused by every person and agent.

  4. Same rule, same SQL

    The engine compiles the SQL from the rule, so a rule always gives the same SQL. Every figure cites the rule it came from, and your team can read, correct or lock it.

  5. Every access scoped, every change on record

    The agent writes no SQL, raw SQL is refused before it runs, and the agent acts only with the rights of the person asking. Every change to a definition is a git commit with its author.

  6. Sovereign by construction, not by contract

    Data, rules and model stay on your infrastructure, and a small open model is enough. The Synalog engine is open source, under Apache-2.0.

Synalog

Example: a definition and its assertions

Revenue per customer, with three assertions. Customer 12 is missing from the customers table; the engine names the row.

shop.l
Order(order_id:, customer_id:, amount:, status:) :- orders(order_id:, customer_id:, amount:, status:);
Customer(customer_id:, country:) :- customers(customer_id:, country:);

@Assert(Revenue,
      one_row_per_customer: "∀ c r s, Revenue c r → Revenue c s → r = s",
      known_customer:       "∀ c r, Revenue c r → ∃ k, Customer c k",
      positive:             "∀ c, Revenue c > 0");
Revenue(customer_id:, revenue? += amount) distinct :-
  Order(customer_id:, amount:, status: "delivered");
$ synalog shop.l verify
✓ Revenue.one_row_per_customer holds ✗ Revenue.known_customer is violated: ∀ c r, Revenue c r → ∃ k, Customer c k 1 counterexample: +----+----+ | c | r | +----+----+ | 12 | 20 | +----+----+ 1 row ✓ Revenue.positive holds
At a glance

SynaLemma vs Apache Ossie at a glance

SynaLemma vs Apache Ossie at a glance
CriterionSynaLemmaApache Ossie
Semantic: one definition per term Definitions build on each other: each business term defined once, as a rule over your tables, reused by every person and agent Shared YAML definitions; in the core spec, a metric cannot reference another metric
Reasoning: who computes joins, recursion, totals The engine, not the model: Synalog computes every join and recursion, to a declared depth, compiled to SQL Not applicable: a file format, no query engine; each tool computes
Verified: what is checked before a rule runs Every rule proved well-formed, safe and terminating; first-order assertions return the rows that break them Schema validation; the draft ontology declares constraints, never checks them
Deterministic: same rule, same SQL Never generated per question: SQL compiled by the engine from the rule; definitions reused and lockable Not applicable: no SQL generated; a draft query interface specifies measure semantics
Governed: access and change control The agent cannot bypass the layer: no SQL written, raw SQL refused, the asker's role only; every change a git commit Not in the format: access and change control left to each tool
Language model The one you choose: a small open model is enough, no per-token fees Not applicable: ai_context gives hints and synonyms to any tool's model
Deployment On-premises, on your infrastructure Not applicable: a file, read wherever each tool runs
Definitions build on each other Yes: rules use other rules Not in the core spec; the draft ontology spec adds derived concepts
Relationships Any relationship a rule states Many-to-one foreign keys (core spec); the draft ontology adds OneToOne
Apache Ossie

Why teams look for an Apache Ossie alternative

  • A file format only

    Ossie does not run queries; each tool decides how to turn it into SQL (Ossie).

  • No composition

    A metric cannot reference another metric, and datasets cannot build on each other (spec).

  • Many-to-one only (core spec)

    Every relationship is a many-to-one foreign key (spec).

  • Schema validation only

    A valid file says nothing about what its metrics compute.

FAQ

Apache Ossie alternative: FAQ

What is the difference between Apache Ossie and Synalog?

Ossie is a YAML format for exchanging definitions; it does not run queries. Synalog is a language with a compiler and a verifier.

Can an Ossie metric reference another metric?

Not in Ossie's current version. In Synalog, rules use other rules.

Is a semantic layer file enough for AI agents?

No. A file gives a model hints. SynaLemma verifies every definition an agent writes before it is used.

See it on your data

Bring a question your current stack can't answer.

In 30 minutes, we show SynaLemma answering it, with the rule behind the number and the checks it passed.