The RuleML Family of Web Rule Languages PPSWR’06, Budva, Montenegro, 10 June 2006 Revised, RuleML’06, Athens, GA, 11 Nov. 2006 Shortened, Vienna, SWT Course,

Slides:



Advertisements
Similar presentations
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
Advertisements

May 23, 2004OWL-S straw proposal for SWSL1 OWL-S Straw Proposal Presentation to SWSL Committee May 23, 2004 David Martin Mark Burstein Drew McDermott Deb.
W3C Rules Interchange Format Basic Logic Dialect
1 Copyright ©2007 Sandpiper Software, Inc. Vocabulary, Ontology & Specification Management at OMG Elisa Kendall Sandpiper Software
OMV Ontology Metadata Vocabulary April 10, 2008 Peter Haase.
Exploiting ebXML Registry Semantics in the eHealth Domain*
RuleML Meets RDF: Triples, Rules, and Taxonomies Harold Boley*, NRC IIT e-Business Benjamin Grosof, MIT Sloan (with help from Bruce Spencer, Steve Ross-Talbot,
Requirements. UC&R: Phase Compliance model –RIF must define a compliance model that will identify required/optional features Default.
A Web Rules WG Charter Focus Strawman Proposal Version 1.1, April 30, 2005 This Version Prepared by: Benjamin Grosof, Harold Boley, Michael Kifer, and.
Language Specification using Metamodelling Joachim Fischer Humboldt University Berlin LAB Workshop Geneva
22-Sep-06 CS6795 Semantic Web Techniques 0 Extensible Markup Language.
Profiles Construction Eclipse ECESIS Project Construction of Complex UML Profiles UPM ETSI Telecomunicación Ciudad Universitaria s/n Madrid 28040,
Object-Oriented RuleML: User-Level Roles, URI-Grounded Clauses, and Order-Sorted Terms Harold Boley, NRC IIT e-Business, Fredericton RuleML-2003 Sanibel.
Schema Matching and Query Rewriting in Ontology-based Data Integration Zdeňka Linková ICS AS CR Advisor: Július Štuller.
1 ISWC-2003 Sanibel Island, FL IMG, University of Manchester Jeff Z. Pan 1 and Ian Horrocks 1,2 {pan | 1 Information Management.
Three Theses of Representation in the Semantic Web
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
Query Answering for OWL-DL with Rules Boris Motik Ulrike Sattler Rudi Studer.
Are Your Rules Online? Four Web Rule Essentials RuleML-2007, Oct 2007 Harold Boley National Research Council of Canada University of New Brunswick,
A rule language for the semantic web Dieter Fensel, Lausanne, June 14, 2004 SDK cluster meeting on WSMO.
1 An inference engine for the semantic web Naudts Guido Student at the Open University Netherlands.
1 Programming Languages (CS 550) Mini Language Interpreter Jeremy R. Johnson.
Sujit R Nair November 30,2009. Introduction Need / Requirement. Characteristics of current rule markup Languages. A sample Scenario of Rule Interchange.
CS570 Artificial Intelligence Semantic Web & Ontology 2
RDF Tutorial.
Answer Set Programming Overview Dr. Rogelio Dávila Pérez Profesor-Investigador División de Posgrado Universidad Autónoma de Guadalajara
The RuleML Family of Web Rule Languages PPSWR’06, Budva, Montenegro, 10 June 2006 Revised, RuleML’06, Athens, GA, 11 Nov Harold Boley University.
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
1 Ontology Language Comparisons doug foxvog 16 September 2004.
Production Rule Representation Team Response Presentation to BEIDTF OMG Montreal Aug 2004 Ruleml.org.
NaLIX: A Generic Natural Language Search Environment for XML Data Presented by: Erik Mathisen 02/12/2008.
Ontology and Ontology-Based Applications C. Farkas Some of the slides were obtained from presentations of Ian Horrocks.
1. Motivation Knowledge in the Semantic Web must be shared and modularly organised. The semantics of the modular ERDF framework has been defined model.
Harold Boley, Adrian Paschke, and Tara Athan (RuleML Initiative)RuleML Initiative The 6th International Symposium on Rules: Research Based and Industry.
Evaluating Centralized, Hierarchical, and Networked Architectures for Rule Systems Benjamin Craig University of New Brunswick Faculty of Computer Science.
The RuleML Initiative Prepared by (in alphabetical order): Harold Boley, Mike Dean, Benjamin Grosof, Michael Kifer, Said Tabet, Gerd Wagner W3C Workshop.
The RuleML Initiative, July/August 2001 International Semantic Web Working Symposium SWWS July - 1 August 2001, Stanford, California, USA Harold.
TRANSLATOR: A TRANSlator from LAnguage TO Rules David Hirtle David R. Cheriton School of Computer Science University of Waterloo (Work done at the University.
1 Expert Finding for eCollaboration Using FOAF with RuleML Rules MCeTECH May 2006 Jie Li 1,2, Harold Boley 1,2, Virendrakumar C. Bhavsar 1, Jing.
CS 6795 SEMANTIC WEB TECHNIQUES TEAM6: HAWRA BADER ALSEEF JEEVAN REDDY KODUR 19 NOV, 2012.
1 CENTRIA, Dept. Informática da Faculdade de Ciências e Tecnologia, Universidade Nova de Lisboa, Caparica, Portugal. 2 Institute of Computer Science,
The 7th International Web Rule Symposium: Research Based and Industry Focused (RuleML 2013) July 11-13, 2013, Seattle, USA.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
1 RDF/RuleML Interoperability W3C Workshop on Rule Languages for Interoperability Position Paper, April 2005 Authors: Harold Boley 1, Jing Mei 2,
1 Rule-based Social Networking for Expert Finding Presented by: Jie Li 1,2 Supervisors: Dr. Harold Boley 1,2 Dr. Virendrakumar C. Bhavsar 1 1 University.
David Hirtle Coop student, NRC IIT e-Business December 2, 2003 Object-Oriented RuleML Re-Modularized and XML Schematized via Content Models.
RuleML 1.0 The Overarching Specification of Web Rules Harold Boley, Adrian Paschke, and Omair Shafiq NRC, FUB, and UoC.
1 The OO jDREW Reference Implementation of RuleML RuleML-2005, November 2005 Marcel Ball 1, Harold Boley 2, David Hirtle 1,2, Jing Mei 1,2, Bruce.
Rules, RIF and RuleML.
Wellness-Rules: A Web 3.0 Case Study in RuleML-Based Prolog-N3 Profile Interoperation Harold Boley Taylor Osmun Benjamin Craig Institute for Information.
RuleML Rules Lite Harold Boley, NRC IIT e-Business Said Tabet, Macgregor Corp With Key Contributions from the Joint Committee DAML PI Meeting, Captiva.
The Semantic Web Riccardo Rosati Dottorato in Ingegneria Informatica Sapienza Università di Roma a.a. 2006/07.
From RuleML 0.88 to 0.89 Sublanguages Beyond Horn Logic ― Validation and Translation David Hirtle NRC-IIT, UNB April 21, 2005 Update: June 8, 2005.
Rule Responder: A Multi-Agent Web Platform for Collaborative Virtual Organizations Based on RuleML and OO jDREW Benjamin Craig University Of New Brunswick.
Harold Boley NRC IIT e-Business MOST Workshop - Maritimes Open Source Technologies Université de Moncton Nov 10, 2004 Revised: Apr 14, 2005 The Open RuleML.
RuleML Query Answering with Personal OO jDREW Agents in Rule Responder Benjamin Craig Harold Boley Fredericton, NB National Research Council - IIT May.
1 RIF Design Roadmap Draft PM Harold Boley (NRC), Michael Kifer (Stony Brook U), Axel Polleres (DERI), Jos de Bruijn (DERI), Michael Sintek.
Of 35 lecture 17: semantic web rules. of 35 ece 627, winter ‘132 logic importance - high-level language for expressing knowledge - high expressive power.
Using DSDL plus annotations for Netconf (+) data modeling Rohan Mahy draft-mahy-canmod-dsdl-01.
RuleML for the Semantic Web Harold Boley OntoWeb Kick-off WorkshopOntoWeb Kick-off Workshop, Heraklion, Greece, June 2001 Revised: 17 July 2001 (joint.
A Test Case Suite for Hornlog+ RuleML 1.01 A Test Case Suite for Hornlog+ RuleML 1.01 CS6795 Semantic Web Techniques Team 3: Zhenzhi Cui Radhika Yadav.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
OWL, DL and rules Based on slides from Grigoris Antoniou, Frank van Harmele and Vassilis Papataxiarhis.
ece 720 intelligent web: ontology and beyond
Rules, RIF and RuleML.
ece 720 intelligent web: ontology and beyond
Orlando Florida RuleML 2007 Thursday, October 25, 2007
Semantic Markup for Semantic Web Tools:
Model-Driven Semantic Web Rule Engineering
A Tutorial Summary of Description Logic and Hybrid Rules
Presentation transcript:

The RuleML Family of Web Rule Languages PPSWR’06, Budva, Montenegro, 10 June 2006 Revised, RuleML’06, Athens, GA, 11 Nov Shortened, Vienna, SWT Course, 17 Nov Harold Boley University of New Brunswick, Canada National Research Council of Canada

1 Introduction Rules are central to the Semantic Web Rule interchange in an open format is important for e-Business RuleML is the de facto open language standard for rule interchange/markup Collaborating with W3C (RIF), OMG (PRR, SBVR), OASIS, DARPA-DAML, EU-REWERSE, and other standards/gov'nt bodiesRIF

2 RuleML Enables... Rule modelling markup translation interchange execution publication archiving in UML RDF XML ASCII

3 RuleML Identifies... Expressive sublanguages  for Web rules  started with Derivation rules: extend SQL views Reaction rules: extend SQL triggers  to empower their subcommunities

4 RuleML Specifies... Derivation rules via XML Schema:  All sublanguages:(OO) RuleML 0.91  First Order Logic:FOL RuleML 0.91  With Ontology language: SWRL 0.7 A Semantic Web Rule Language Combining OWL (W3C) and RuleML  With Web Services language: SWSL 0.9 Translators in & out (e.g. Jess) via XSLT

5 Modular Schemas RuleML: Rule Markup Language  RuleML derivation rules (shown here) and production rules defined in XML Schema Definition (XSD)  Each XSD of the family corresponds to the expressive class of a specific RuleML sublanguage The most recent schema specification of RuleML is always available at Current release: RuleML 0.91 Previews: “RuleML is a family of sublanguages whose root allows access to the language as a whole and whose members allow to identify customized subsets of the language.”...

6 Schema Modularization XSD URIs identify expressive classes  Receivers of a rulebase can validate applicability of tools (such as Datalog vs. Hornlog interpreters)  Associated with semantic classes (such as function-free vs. function-containing Herbrand models) Modularization (Official Model)  Aggregation: e.g., Datalog part of Hornlog  Generalization: e.g., Bindatalog is a Datalog

7 E.g., in /xsd/hornlog.xsdhttp:// 0.91/xsd/hornlog.xsd Rectangles are sublanguages  Inheritance between schemas Ovals are auxiliary modules  Elementary, including only element and/or attribute definitions  Become part of sublanguages

8 Bring Datalog to the Semantic Web Start with n-ary relations (not binary properties) Keep Var iable typing optional (reuse RDFS’ subClassOf taxonomies as sort lattices) Allow signature declarations of arities and types Employ function-free facts as well as Horn rules (rather than 1 st : RDF descriptions; 2 nd : RDF rules) Use function-free Herbrand model semantics (querying stays decidable) Provide three syntactic levels:  User-oriented: Prolog-like, but with “?”-variables  Abstract: MOF/UML diagrams  XML serialization: Datalog RuleML

9 Business Rule: Positional ''The discount for a customer buying a product is 5 percent if the customer is premium and the product is regular.'' discount customer product 5.0 premium customer regular product Implies Atom headbody And discoun t premiumcustomer regularproduct customerproduct5.0 Var IndRel Var

10 Extend Datalog for the Semantic Web (I) Allow slots as name -> filler pairs in Atom s (cf. F-logic’s methods and RDF’s properties) Extend optional types and signatures for slots Add optional object identifiers ( oid s) to atoms Separate Data literals from Ind ividual constants

11 Business Rule: Slotted (for OO) ''The discount for a customer buying a product is 5 percent if the customer is premium and the product is regular.'' Implies Atom headbody And discoun t premiumcustomer regularproduct customerproduct5.0 Var DataRel Var rebate item buyer discount buyer customer item product rebate 5.0 premium customer regular product

12 Extend Datalog for the Semantic Web (II) Permit IRI webizing for Data (XML Schema Part 2), Ind ividuals (RDF’s resource s), Rel ations, slot names, types (RDFS’ classes), and oid s (RDF’s about ) Introduce Module (scope) construct for clauses (cf. RDF’s named graphs) Add scoped-default ( Naf ), strong ( Neg ), scoped- default-of-strong negation (unscoped: cf. ERDF)ERDF Integrate with Description Logics  Homogeneous (SWRL, Datalog RuleML + OWL-DL)  Hybrid (AL-log, Datalog DL, DL+log,...)

13 Bring Horn Logic to the Semantic Web Augment Datalog with uninterpreted Fun ctions and their Expr essions; also for extended Datalog Augment Datalog’s Herbrand model semantics with such Fun ctions (querying becomes undecidable) Extend Datalog syntaxes  XML Schema of Hornlog RuleML inherits and augments XML Schema of Datalog RuleML Add Equal ity and in terpreted Fun ctions (XML serialization: attribute in="yes" ) Reuse XQuery/XPath functions and operators as built-ins

14 Specify a First-Order Logic Web Language Layer on top of either  Disjunctive Datalog: Or in the head generalizing Datalog  Disjunctive Horn Logic: Or in head of near-Horn clauses Alternatively, layer on top of either  Disjunctive Datalog with restricted strong Neg ation  Disjunctive Horn Logic with restricted strong Neg Permit unrestricted Or, And, strong Neg, and quantifiers Forall and Exists to obtain FOL Use semantics of classical FOL model theory Extend Hornlog RuleML syntax to FOL RuleML

15 Approach Production and Reaction Rules Share Condition (C) part with earlier languages as proposed for the RIF Condition LanguageRIF Condition Language Develop Action (A) part of Production Rules via a taxonomy of actions on KBs (Assert, Retract,...), on local or remote hosts, or on the surroundings Develop Event (E) part of Reaction Rules via a corresponding taxonomy Create CA and ECA families bottom-up and map to relevant languages for Semantic Web Services Serialized: E C A See ReactionRuleML TG ReactionRuleML

16 Bidirectional Interpreters in Java Two varieties of reasoning engines  Top-Down: backward chaining  Bottom-Up: forward chaining jDREW: Java Deductive Reasoning Engine for the Web includes both TD and BU OO jDREW: Object-Oriented extension to jDREW Java Web Start online demo available at

17 OO jDREW Slots Normalized atoms and complex terms  oid s (object identifier)  Positional parameters (in their original order)  Positional rest terms  Slotted parameters (in the order encountered)  Slotted rest terms Efficient unification algorithm  Linear O(m+n): instead of O(m*n) No need for positional order Slots internally sorted  Steps: Scan two lists of parameters  Matching up roles and positions for positional parameters  Unifying those parameters Add unmatched roles to list of rest terms Generate dynamically a Plex (RuleML’s closest equivalent to a list) for a collection of rest terms

18 discount(?customer,?product,percent5) :- premium(?customer), regular(?product). premium(PeterMiller). regular(Honda). positional POSL syntax

19 discount(cust->?customer;prod->?product;rebate->percent5) :- premium(cust->?customer), regular(prod->?product). premium(cust->PeterMiller). regular(prod->Honda). slotted POSL syntax

20 OO jDREW Types Order-sorted type system  RDF Schema: lightweight taxonomies of the Semantic Web  To specify a partial order for a set of classes in RDFS Advantages  Having the appropriate types specified for the parameters  To restrict the search space  Faster and more robust system than when reducing types to unary predicate calls in the body Limitations  Only modeling the taxonomic relationships between classes  Not modeling properties with domain and range restrictions

21 base_price(customer->[sex->male;!?]; vehicle->:Car; price->650:Integer). base_price(customer->[sex->male;!?]; vehicle->:Van; price->725:Integer).

22 Conclusions RuleML is modular family, whose root allows to access the language as a whole and whose members allow customized subsets RuleML New members joining, e.g. Fuzzy RuleMLFuzzy RuleML Concrete & abstract syntax of RuleML  Specified by modular XSD (shown here) & MOF Formal semantics of OO Hornlog RuleML  Implemented by OO jDREW BU & TD Interoperability/Interchange of/with RuleML  Realized by translators, primarily via XSLT