|
|
|
|
|
by cmrdporcupine
272 days ago
|
|
The relational model is built on first order / predicate logic. While SQL itself is kind of a dubious and low grade implementation of it, it's not a surprise to me that it would be useful for applications of reasoning and memory about facts generally. I think a Datalog type dialect would be more appropriate, myself. Maybe something like that RelationalAI has implemented. |
|
I assume because datalog is more about composing queries from assertions/constraints on the data?
Nicely, queries can be recursive without having to create views or CTE's (common table expressions).
Often the data for datalog is modeled as fact databases (i.e., different tables are decomposed into a common table of key+record+value).
So I could see training an LLM to recognize relevant entity features and constraints to feed back into the memory query. Less obliviously, data analytics might feed into prevalence/relevance at inference time.
So agreed: It might be better as an experiment to start with a simple data model and teachable (but powerful) querying than the full generality of SQL and relational data.
Is that what RelationalAI has done? Their marketecture blurbs specifically mention graph data (no), rule-based inference (yes? backwards or forwards?)
As an aside, their rules description defies deconstruction:
So: rules built on ontologies?