I don't think so. Sql is declarative though and the engine does the imperative work for you. A simple example of multiple uses:
Simpsons = ['bart', 'lisa', 'homer'], member(X, Simpsons)?
will do a for each over the list, with X bound to each character.
and the same member definition can also be used to answer Simpsons = ['bart', 'lisa', 'homer'], member('brian griffin', Simpsons)?
Re:The truth about Lisp (2006)
by qwertyuiop924 on Friday August 05, 2016 @12:11PM
(#12233425)
Yes, yes it is. In fact, Picolisp's builtin database uses a built in prolog dialect as its query language.
With respect to answering "multiple questions/queries", is it fair to draw a parallel with SQL?