← Brian Mills · selected workView code on GitHub ↗

Recorded run · replay

Hypergraph Schema Compiler

Describe a data model once and get three database schemas, plus an honest report of which rules were actually checked.

Code
BrianMills2718/hypergraph-schema-ir
Recorded
2026-09-26 · commit b1713f8

The run was askedCan one description of a small social network become PostgreSQL, MongoDB and GraphQL schemas without losing the fact that some links join three things at once?

Why custom: Ordinary graph and table tools only record two-way links, so a three-way fact (two people interacting inside one group) gets split up and the reason it belongs together is lost.

Replayed from: generated/social-network.schema.sql (+ .mongodb.js, .graphql); console output of `knowledgework translate examples/social-network.hks --out <dir>` and `knowledgework import generated/social-network.schema.sql`, run offline at b1713f8; regenerated files were byte-identical to the committed generated/ folder