Is there a decent prolog/SQL bridge? Being able to write applications and queries using SQLite or Postgres database as the fact set for prolog would be very nice.
Wouldn't datalog be more suitable than SQL in this case? And in case the DB you want to query offers SQL only, I imagine there are datalog-SQL bridges available somewhere.