Model-Driven Semantic Web Rule Engineering - PowerPoint PPT Presentation

About This Presentation
Title:

Model-Driven Semantic Web Rule Engineering

Description:

Model-Driven Semantic Web Rule Engineering – PowerPoint PPT presentation

Number of Views:126
Avg rating:3.0/5.0
Slides: 28
Provided by: Drag65
Category:

less

Transcript and Presenter's Notes

Title: Model-Driven Semantic Web Rule Engineering


1
Model-Driven Semantic Web Rule Engineering
2
Semantic Web Rules
  • Two directions of research
  • Semantic Web Rule Interchange Format (RIF)
  • RuleML and R2ML
  • Semantic Web Rule reasoning layer over OWL
  • Semantic Web Rule Language (SWRL)
  • Many other approaches
  • F-Logic, WSML-Rules, etc.

3
Model-Driven Semantic Web Rule Engineering
  • Continuing efforts of the ODM initiative
  • Using MDE principles to define an abstract
    syntax (i.e., metamodel) of a Semantic Web rule
    language
  • Initial steps
  • Rule Definition Metamodel Brockmans et al, 2006
  • A metamodel for SWRL
  • Abstract syntax of RuleML Wager et al, 2004

4
Model-Driven Semantic Web Rule Engineering
  • Rule Definition Metamodel (RDM) Brockmans et al,
    2006
  • Basic idea
  • ODM is an abstract syntax for OWL
  • RDM is an abstract syntax for SWRL
  • SWRL is based on OWL, similarlyRDM is based on
    ODM

5
Model-Driven Semantic Web Rule Engineering
  • Rule Definition Metamodel (RDM)Brockmans et al,
    2006

6
Model-Driven Semantic Web Rule Engineering
  • UML Profile for Rules Brockmans et al, 2006
  • Based on RDM
  • In combination with the Ontology UML Profile
  • Example
  • BadVintager(x) ? ownsWinery(x, y) ?
    dislikesWine(x, z) ? hasMaker(z, y)

7
Rule Definition Metamodel
  • Summary
  • A good starting point for integrating Semantic
    Web rules and MDA
  • RDM covers SWRL as an abstract syntax properly
  • Its authors did not develop model transformations
    or reported on its use
  • It was based on non-standard ODM
  • Does not satisfy all Semantic Web needs
  • Other types of rules, policies, services, and
    applications

8
Model-Driven Semantic Web Rule Engineering
  • Abstract syntax of RuleML Wager et al, 2004
  • Following MDA chain of models
  • CIM
  • PIM
  • PSM
  • MDE principle fully followed in the development
    of R2ML

9
Model-Driven Semantic Web Rule Engineering
  • REWERSE Rule Markup Language
  • http//rewerse.net/I1/
  • Current version 0.5
  • Addresses RIF requirements
  • Organization
  • R2ML MOF-based metamodel for rules
  • An abstract syntax
  • R2ML XML Schema
  • A concrete syntax
  • UML-based Rule Modeling Language (URML)
  • A concrete syntax
  • Transformations

10
Model-Driven Semantic Web Rule Engineering
  • R2ML Abstract rule

11
Model-Driven Semantic Web Rule Engineering
  • R2ML integrity rules
  • Example The driver of a rental car must be at
    least 25 years old

12
Model-Driven Semantic Web Rule Engineering
  • R2ML integrity rules
  • Logical formulas

13
Model-Driven Semantic Web Rule Engineering
  • R2ML integrity rules
  • Atoms

14
Model-Driven Semantic Web Rule Engineering
  • R2ML derivation rules
  • Example If male is not a husband then the male
    is a bachelor

15
Model-Driven Semantic Web Rule Engineering
  • R2ML production rules
  • Example If customer has no items with type CD
    in his shopping cart, then add CD link to
    customer page

16
Model-Driven Semantic Web Rule Engineering
  • R2ML production rules
  • System action expression

17
Model-Driven Semantic Web Rule Engineering
  • R2ML reaction rules
  • Event-Condition-Action (ECA) rules
  • Example On customer book request, if the book
    is available, then approve order and decrease
    amount of books in stock

18
Model-Driven Semantic Web Rule Engineering
  • UML-based Rule Language (URML)
  • An extension of UML metamodel
  • Defining rules on top of vocabulary definitions
    (UML classes)
  • Syntax for derivation, production and reaction
    rules
  • Integrity rules can be expressed with OCL
  • Developing rules using UML
  • Tool support Strelka
  • A plug-in for Fujaba
  • Migration to Eclipse is an on going effort

19
Model-Driven Semantic Web Rule Engineering
  • URML derivation rules
  • Example If male is not a husband then the male
    is a bachelor

20
Model-Driven Semantic Web Rule Engineering
  • URML production rules
  • Example If customer has no items with type CD
    in his shopping cart, then add CD link to
    customer page

21
R2ML XML Schema
  • Concrete syntax
  • R2ML metamodel has an XMI schema
  • verbose and hard to follow
  • Syntax to be used in R2ML applications
  • Defined as a regular XML schema
  • Vocabulary agnostic
  • any vocabulary can be referred by URI OWL,
    RDFS, UML, XSD

22
R2ML Transformations
  • R2ML as a pivotal metamodel
  • Transformation reusability
  • Number of transformations 2N instead of N(N-1)
  • ATLAS Transformation Language (ATL), XSLT, and
    Textual Concrete Syntax (TCS)

23
R2ML Transformations
  • Example UML/OCL lt-gt OWL/SWRL

24
R2ML Transformations
  • R2ML metamodel lt-gt OWL/SWRL
  • Model transformation ATL (not XSLT)
  • Preparation stage 2 steps
  • Injection (automatic) and XMLlt-gtRDM ATL

25
R2ML Transformations
  • R2ML metamodel lt-gt OWL/SWRL
  • main transformation step 3
  • RDM lt-gt R2ML transformation

26
R2ML Transformations
  • Transformations
  • http//oxygen.informatik.tu-cottbus.de/rewerse-i1/
    ?qnode/15

R2ML RuleML Jess F-Logic F-Logic XML Jena KAoS Rei JBoss SWRL OCL
Derivation ? ? ? ? ? ? ? ?
Integrity ? ?
Reaction
Production ? ? ?
Transformation Language XSLT XSLT XSLT XSLT XSLT XSLT XSLT XSLT QVT/ATL QVT/ATL
27
Model-Driven Semantic Web Rule Engineering
  • Summary
  • Semantic Web rules is the area that requires a
    lot of research
  • Impacts the use of MDE principles and way back
  • RIF as a MOF-based metamodel
  • Efforts to use MDE for Semantic Web rules are
    promising
  • Connecting with relevant OMGs standards
  • UML, ODM, Production Rule Representation (PRR),
    andSemantics for Business Vocabularies and Rules
    (SBVR)
  • Connecting rule metamodels with policies,
    service choreographies, and applications
  • Defining the place of rules in software
    development methodologies
  • Service behavior or service description
Write a Comment
User Comments (0)
About PowerShow.com