Skip to content

Playground: add an "Explain with AI" button - #1

Merged
YoanSallami merged 3 commits into
mainfrom
playground-explain-button
Jun 14, 2026
Merged

Playground: add an "Explain with AI" button#1
YoanSallami merged 3 commits into
mainfrom
playground-explain-button

Conversation

@YoanSallami

Copy link
Copy Markdown
Contributor

Add a toolbar "Explain" pill beside Compile that opens a Claude / ChatGPT chat prefilled with a prompt built from the live editor state — the Synalog program, the selected engine, and the compiled SQL (only when the last compile succeeded). Mirrors the docs' Summarize button but uses toolbar-native styling so it matches the squared Compile control rather than the header pill.

Also reword the playground intro to match the stacked (top/bottom) layout instead of describing left/right panes.

YoanSallami and others added 3 commits June 14, 2026 14:56
Add a toolbar "Explain" pill beside Compile that opens a Claude / ChatGPT
chat prefilled with a prompt built from the live editor state — the Synalog
program, the selected engine, and the compiled SQL (only when the last
compile succeeded). Mirrors the docs' Summarize button but uses toolbar-native
styling so it matches the squared Compile control rather than the header pill.

Also reword the playground intro to match the stacked (top/bottom) layout
instead of describing left/right panes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Replace the property-axioms table in docs/ontologies.md with a worked,
code-first section. Add docs/examples/axioms.ttl — one ontology exercising
every translated OWL construct (subClassOf, equivalentClass, disjointWith,
Transitive/Symmetric/Reflexive/Functional/InverseFunctional/Asymmetric/
Irreflexive properties, inverseOf, subPropertyOf, equivalentProperty, sameAs,
differentFrom) — and its generated axioms.l, then walk through each construct
showing the OWL declaration and the exact Synalog import produces.

A few assertions are intentionally inconsistent so the generated *Violation
concepts return rows; axioms.log captures the closures and checks executing on
DuckDB. The actors are typed :Person directly because concept membership is
data-driven on the asserted type, not inferred through subClassOf.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@YoanSallami
YoanSallami merged commit 6e2d989 into main Jun 14, 2026
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant