3 ms·
Two (more) things I'd like to point out: Prolog clauses are the same logical relations as in the Relational Model of DBs. ( Cf. Datalog https://en.wikipedia.o
by carapace 7y ago
Two (more) things I'd like to point out:
Prolog clauses are the same logical relations as in the Relational Model of DBs. ( Cf. Datalog https://en.wikipedia.org/wiki/Datalog https://en.wikipedia.org/wiki/Datalog )
The next big thing IMO is categorical databases. Go get your mind blown by CQL: https://www.categoricaldata.net/ https://www.categoricaldata.net/ It's "an open-source implementation of the data migration sketch from" the book "Seven Sketches in Compositionality: An Invitation to Applied Category Theory" which went by yesterday here: https://news.ycombinator.com/item?id=20376325 https://news.ycombinator.com/item?id=20376325
> The open-source Categorical Query Language (CQL) and integrated development environment (IDE) performs data-related tasks — such as querying, combining, migrating, and evolving databases — using category theory, ...
- dmux 7y agoIn reading both your comments, I kept thinking about Smalltalk's Browser and Method Finder functionalities. In Hay's book, he talks about modeling not just Object Classes, but how you can go about modeling ObjectClass classes (the metadata). In Smalltalk, this metadata is automatically available via the Browser. In reviewing the CQL Tutorial, the Typesides' "java_functions" specification section made me think of the Method Finder (wherein you could provide an input value and the expected output value and methods that satisfied the transformation would be shown). I'm not sure if in CQL you'd be able to search for a function that satisfied criteria, but that may beyond the scope of what that system is trying to provide. In any case, interesting threads of thought to be followed and explored.
- carapace 7y agoCheers! Apparently Conal Elliott[1] has reached out to the CQL folks so if they get together there should be some interesting and useful stuff emerging there. I told Wisnesky they should make a self-hosting CQL compiler in CQL. ;-D Maybe modeled on Arcfide's thing[2]. Categorical APL... [1] http://conal.net/papers/compiling-to-categories/ http://conal.net/papers/compiling-to-categories/ [2] https://news.ycombinator.com/item?id=13797797 https://news.ycombinator.com/item?id=13797797