Did you know? SWI-Prolog can work with tar archivesSearch Documentation:
SWI-Prolog owl logoSWI-Prolog C++ interfaces

SWI-Prolog comes bundled with SWI-cpp.h, which provides a quite simpleminded C++ interface. In addition, there is