The best way of getting started is to consult an exemplary session under SICStus Prolog. In these session we take the example and proceeded in the following way:
[nlp41].(Or alternatively [nlp50].)
nlp2htl('Examples/t1').This results in the file t1.htl which is not readily usable by dlv.
Our compiler is pretty verbose and displays also intermediate versions of the compiled program (use the flag verbose_mode/no_verbose_mode for switching).
nlp2htl2dlv('Examples/t1').
In all, this call produces 3 files:
A dictonary, provided that the appropriate flags (cf. 4) are set.
The ``logically'' resulting file of the transformation.
The dlv-specific file obtained from the ``logically'' resulting file of the transformation.
dlv('Examples/t1').