I agree, say no to garbage query languages, including SQL. Datalog has been a thing for aeons, why not use it?
If you encounter datalog in the wild it will be something pretty-custom, like datomic, pydatalog, or even differential dataflow (that feels more like map-reduce with fix-points?)
Hey. What do you mean? Which Prolog conventions?
(I write a lot of Prolog and I'm always curious what other people think about it).