PostgreSQL-Prolog: A Prolog library to connect to PostgreSQL databases
1–10 of 23 posts
Re: PostgreSQL-Prolog: A Prolog library to connect to PostgreSQL databases
#2Re: PostgreSQL-Prolog: A Prolog library to connect to PostgreSQL databases
#3Re: PostgreSQL-Prolog: A Prolog library to connect to PostgreSQL databases
#4The Datalog query language is a subset of Prolog. I wonder how hard it would be to translate Datalog into SQL and query PostgreSQL with that. XTDB (aka Crux), which uses Datalog, supports some limited SQL querying. How limited would it be to go in the other direction?
Re: PostgreSQL-Prolog: A Prolog library to connect to PostgreSQL databases
#5This is extremely cool and I will be testing it out. I’m building large systems for handling biological data, and have wanted to use prolog for that use, but couldn’t fit all of my data in RAM. This could help me a bunch.
Re: PostgreSQL-Prolog: A Prolog library to connect to PostgreSQL databases
#6Re: PostgreSQL-Prolog: A Prolog library to connect to PostgreSQL databases
#7The Datalog query language is a subset of Prolog. I wonder how hard it would be to translate Datalog into SQL and query PostgreSQL with that. XTDB (aka Crux), which uses Datalog, supports some limited SQL querying. How limited would it be to go in the other direction?
And then you just write down all the rules.
edit: As long as queries aren't recursive in a difficult manner, like co-recursive or have multiple recursive calls in the same rule.