What are good / established database support strategies for logic programming in clojure

I am having a hard time finding comprehensive information on strategies for creating a (deductive) database to get facts using a logic programming approach such as core.logic . Most of the examples that can be found relate to facts created in memory.

Really good library out there Cascalog . It sits on top of the chaos and abstracts away from map shortening with a nice and intuitive query language created by datalog.

But Cascalog is only hadoop and I'm wondering if there are similar clojure solutions that go well with other types of databases, be it nosql or relational (deductive databases).

+3


source to share


1 answer


This blog post shows you how to write a relationship that queries a data source:

http://tsdh.wordpress.com/2012/01/06/using-clojures-core-logic-with-custom-data-structures/



Using the ideas there, I was able to write a relationship for a query from MongoDB and Redis.

+1


source







All Articles