R2ML


title: "R2ML" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["rule-engines", "xml-markup-languages", "knowledge-representation-languages"] topic_path: "linguistics" source: "https://en.wikipedia.org/wiki/R2ML" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0

The REWERSE Rule Markup Language (R2ML) is developed by the REWERSE Working Group I1 for the purpose of rules interchange between different systems and tools.

Scope

  • An XML based rule language;
  • Support for: integrity rules, derivation rules, production rules and reaction rules;
  • Integrate functional languages (such as OCL) with Datalog languages (such as SWRL);
  • Serialization and interchange of rules by specific software tools;
  • Integrating rule reasoning with actual server side technologies;
  • Deploying, publishing and communicating rules in a network.

Design principles

  • Modeled using MDA;
  • Rule concepts defined with the help of MOF/UML;
  • Required to accommodate:
    • Web naming concepts, such as URIs and XML namespaces;
    • The ontological distinction between objects and data values;
    • The datatype concepts of RDF and user-defined datatypes;
  • Actions (following OMG PRR submission);
  • Events;
  • EBNF abstract syntax;
  • XML based concrete syntax validated by an XML Schema;
  • Allowing different semantics for rules.

::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::

rule-enginesxml-markup-languagesknowledge-representation-languages