4 ms·
did you try https://github.com/logpy/logpy/ https://github.com/logpy/logpy/
by amirouche 7y ago
did you try https://github.com/logpy/logpy/ https://github.com/logpy/logpy/
- logicprog 7y agoThanks for the link! Yeah, I'm aware of Kanren and miniKanren and stuff like that. I really want to implement my own (especially using generators), but I'll look at that source to get some inspiration... I'm actually facing a pretty difficult issue with recursion so this might be helpful.
- amirouche 7y agoYou might also know http://quepy.machinalis.com/ http://quepy.machinalis.com/ I have been working on similar stuff. I started with a graphdb in pure Python file-based then switched to EAV and bsddb. Nowdays I work mainly on https://github.com/amirouche/hoply/ https://github.com/amirouche/hoply/ and https://github.com/awesome-data-distribution/datae https://github.com/awesome-data-distribution/datae. I have not touched yet the NL to database query part because there is no silver bullet. At the end of the day, one need a use case, existing problems to come up with a solution. I learned the hard way that coming up with an elegant solution is not enough it must help with an actual need. For that, there is no silver bullet either. Experience helps. Being curious helps too. I thought that the chatbot mania would stir new tools. Chatbots are narrow. See also: - https://github.com/opencog/ https://github.com/opencog/ - https://en.wikipedia.org/wiki/Concept_search https://en.wikipedia.org/wiki/Concept_search - legaltech
- logicprog 7y agoWow, lots of awesome links to follow up on (: I know there isn't a silver bullet, and NL queries will never be as versatile as a real query language, but from testing with various people I know it _seems_ to be an OK on-ramp to more advanced stuff.