SWI-Prolog Did You Know Did you know? s(CASP) implements ASP without grounding Search Documentation:
Embedding SWI-Prolog in other applications