This example shows how to use external atoms:
    clingo external.lp external-py.lp
    clingo external.lp external-lua.lp
