I am doing a project to integrate two similar ontologies, and in order to do this I want to use RuleML. The structure of RuleML is in many sites but no code snippets are given. Does anyone have any sample code snippets of RuleML in java?
Depending on what you want to do, there are two solutions:
(1) If you just want to syntactically process RuleML rule bases from within a Java program, then you can simply use a Java XML parser (I personally prefer DOM4J).
(2) If you want to use a RuleML-compliant rule engine, then I would take a look at the links posted by Nacéra - but note that not all of these rule engines can be integrated in custom applications.