The dlgp2ruleml program translates Dlgp to so-called Datalog+ fragment of Deliberation RuleML 1.01, which includes:
The translation from Dlgp to this sublanguage of RuleML is quite direct. Since this latter does not allow for existential quantification in facts, the tool translates each existential variable from the facts into a new constant.
java -jar dlgp2ruleml*.jar -f ./example2.dlp -o ./example.ruleml
java -jar dlgp2ruleml*.jar < ./example2.dlp > ./example.ruleml