A Usable Interchange Format for Rich Syntax Rules Integrating OCL, RuleML and SWRL
نویسندگان
چکیده
Rules are becoming increasingly important in business modeling and requirements engineering, and as a high level programming paradigm. In the area of rule modeling there are different developer communities like UML modelers and ontology architects. The former use rules in business modeling and in software development, while the latter use rules in collaborative Web applications. Each of them is using different rule languages and tools. Since a business rule is the same rule no matter in which language it is formalized, it is important to support the interchange of rules between different systems and tools. This paper presents an interchange format for rules integrating the Rule Markup Language (RuleML), the Semantic Web Rule Language (SWRL) and the Object Constraint Language (OCL). These languages provide a rich syntax for expressing rules. This means that they support conceptual distinctions, such as distinguishing different types of terms and different types of atoms, which are not present in standard predicate logic. The interchange format is usable in the sense that it allows structure-preserving markup of all constructs of these different languages and does not force users to translate their rule expressions to a completely different language paradigm such as having to transform a function into a functional predicate. In the case of OCL rules this is achieved by developing a logical reconstruction of the ’unlogical’ original OCL metamodel. We consider three kinds of rules in this paper: integrity rules, derivation rules and production rules. We define rule concepts with the help of MOF/UML, a subset of the UML class modeling language proposed by the Object Management Group (OMG) for the purpose of ’meta-modeling’, i.e. for defining languages conceptually on the level of an abstract (semi-visual) syntax.
منابع مشابه
Sharing OCL Constraints by Using Web Rules
This paper presents an MDE-based approach to interchanging rules between the Object Constraint Language (OCL) and REWERSE I1 Rule Markup Language (R2ML). The R2ML tends to be a standard rule markup language by following up the W3C initiative for Rule Interchange Format (RIF). The main benefit of this approach is that the transformations between languages are completely based on the languages’ a...
متن کاملVisualizing SWRL Rules: From Unary/Binary Datalog and PSOA RuleML to Graphviz and Grailog
SWRL rules are transformed in two steps for visualization in a subset of Grailog. A Unary/Binary Datalog rule in SWRL presentation syntax is translated to a corresponding PSOA RuleML rule in a RIF-like presentation syntax employing frame formulas. This is then translated to the Graphviz DOT language so that the Graphviz tool can render it visually as a Grailog graph with an object identifier an...
متن کاملRules and Norms: Requirements for Rule Interchange Languages in the Legal Domain
In this survey paper we summarize the requirements for rule interchange languages for applications in the legal domain and use these requirements to evaluate RuleML, SBVR, SWRL and RIF. We also present the Legal Knowledge Interchange Format (LKIF), a new rule interchange format developed specifically for applications in the legal domain.
متن کاملSWRLp: An XML-Based SWRL Presentation Syntax
RuleML and SWRL are closely related rule markup languages that are growing in popularity particularly within the Semantic Web community. Both are based on XML and as such are more amenable to computer processing than human generation and interpretation. Even so it is possible to read and write RuleML and SWRL rules manually using a text editor. Due to certain constraints imposed within SWRL, ho...
متن کاملSharing OWL/SWRL and UML/OCL Rules
The paper presents a metamodel-driven model transformation approach to sharing rules between the Semantic Web Rule Language along with the Web Ontology Language (OWL/SWRL) and Object Constraint Language (OCL) along with UML (UML/OCL). The solution is based on the REWERSE Rule Markup Language (R2ML), a MOF-defined general rule language, as a pivotal metamodel and the bi-directional transformatio...
متن کامل