For Node, check out trealla-js: https://github.com/guregu/trealla-js. I tried to make it as easy to embed as possible.
This paper is also very interesting. It describes the Janus System, a deep integration between Python and Prolog: https://arxiv.org/pdf/2308.15893v1.pdf