Menu

Post image 1
Post image 2
1 / 2
109

GitHub - mat-mgm/kb-prolog: A hyper-relational knowledge base with content-addressable storage, built on Prolog, SQLite, and C..

Hacker News·Hacker News·3 months ago
#6pSmPb12
Reading 0:00
15s threshold

A local-first, hyper-relational knowledge base with content-addressable storage (CAS). Built as a Master's thesis prototype. What it is Hyper-relational graph : Knowledge is stored as statement(Subject, Predicate, Object, Properties) . Subjects and objects can themselves be statements (reification), enabling claims about claims. Content-addressable storage : Files are staged, SHA-256 hashed, and committed atomically alongside their graph metadata. Deduplication is automatic. Time-travel : Updates create new statement versions linked via replaces_id . pl history walks the version chain. Prolog-first : Trealla Prolog is the main runtime. SQLite and Raylib are accessed via C shared libraries loaded through FFI. Interactive GUI : A Raylib-based graph viewer with image previews, a query bar, and node search. Build Dependencies : Clang, X11 (Linux) or Xcode CLT (macOS). Trealla Prolog, Raylib, raygui, and SQLite are included as submodules.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More