Lisp has no standard query language per se, yet it is often the choice for building query languages and applications that support user queries. The flexibility of the language itself allows to separate data model and logic just enough and no more. Lisp languages have always been attractive to developers who appreciate DSLs and other forms of extensibility in applications. Examples: Emacs, Lisp machines, expert system shells.
I haven’t done adaptive programming, but my favorite languages support FP and excel in some of the capabilities you mention. Rather than RDF standards-based QL, I’ve used general purpose languages to build and/or query KGs: Scala, Clojure, Common Lisp, OPS5 variants, Prolog. Most of those languages have most but not all of (recursion, modularity, polymorphism). Scala and Common Lisp shine in those areas. (I’m told the JVM puts the kibosh on efficient recursion optimizations.)