David Hirtle Co-op student, NRC IIT e-Business August 12, 2004 The RuleML 0.87 Release UML Model, Validation Stability, and Abridged Syntax.

Slides:



Advertisements
Similar presentations
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,
Advertisements

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.
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,
A rule language for the semantic web Dieter Fensel, Lausanne, June 14, 2004 SDK cluster meeting on WSMO.
Sujit R Nair November 30,2009. Introduction Need / Requirement. Characteristics of current rule markup Languages. A sample Scenario of Rule Interchange.
SRDC Ltd. 1. Problem  Solutions  Various standardization efforts ◦ Document models addressing a broad range of requirements vs Industry Specific Document.
1 CP3024 Lecture 9 XML revisited, XSL, XSLT, XPath, XSL Formatting Objects.
XML e X tensible M arkup L anguage 1/23.
4/16/2007Declare a Schema File I1. 4/16/2007Declare a Schema File I2 Declare a Schema File A collection of semantic validation rules designed to constrain.
The RDF meta model: a closer look Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations.
XML Introduction What is XML –XML is the eXtensible Markup Language –Became a W3C Recommendation in 1998 –Tag-based syntax, like HTML –You get to make.
Semantic Web Research: Visual Modelling of OWL-S Services Computer Science Annual Workshop September 2004 Charlie Abela, James Scicluna Department of Computer.
CS 6975 Web Semantics Normalizers for RuleML 1.0 in XSLT 2.0 Nada Alsalmi ‍ Leah Bidlake ‍ Ao Cheng ‍ Thea Gegenberg ‍ Emily Wilson Instructor: Dr. Harold.
Introduction to XSLT & its use in Grainger Library full-text & metadata projects Thomas G. Habing Grainger Engineering Library Presentation to ASIS&T,
OCLC Online Computer Library Center Two Paths to Interoperable Metadata Jean Godby, Devon Smith, Eric Childress DC-2003 September 29, 2003.
Harold Boley, Adrian Paschke, and Tara Athan (RuleML Initiative)RuleML Initiative The 6th International Symposium on Rules: Research Based and Industry.
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.
©2003 Altova GmbH. All Rights Reserved. Architecting XML Schemas for Oracle XML DB September 10th, 2003 Alexander Falk President, CEO – Altova, Inc. Member.
Introduction to XML cs3505. References –I got most of this presentation from this site –O’reilly tutorials.
Why XML ? Problems with HTML HTML design - HTML is intended for presentation of information as Web pages. - HTML contains a fixed set of markup tags. This.
9 th Open Forum on Metadata Registries Harmonization of Terminology, Ontology and Metadata 20th – 22nd March, 2006, Kobe Japan. XMDR Prototype Day: 21.
CREATED BY ChanoknanChinnanon PanissaraUsanachote
CS 6795 SEMANTIC WEB TECHNIQUES TEAM6: HAWRA BADER ALSEEF JEEVAN REDDY KODUR 19 NOV, 2012.
Business Rules and Web Services Research Group A proposal for a joint UNB/NRC Research group Bruce Spencer Feb 28, 2002.
XSLT for Data Manipulation By: April Fleming. What We Will Cover The What, Why, When, and How of XSLT What tools you will need to get started A sample.
Introduction to XSLT By Ed Rosenthal And Dave Pion.
Another PillowTalk Presentation  2004 Dynamic Systems, Inc. Introduction to XML for SOA Lee H. Burstein,
The 7th International Web Rule Symposium: Research Based and Industry Focused (RuleML 2013) July 11-13, 2013, Seattle, USA.
WHAT THE HELL IS XML?. What the Hell is XML? What the hell is XML?  Markup Language  Derived from SGML (Standardized General Markup Language)  Describes.
Introduction to XML Extensible Markup Language. What is XML XML stands for eXtensible Markup Language. A markup language is used to provide information.
1 RDF/RuleML Interoperability W3C Workshop on Rule Languages for Interoperability Position Paper, April 2005 Authors: Harold Boley 1, Jing Mei 2,
O Supervisor : Dr. Harold Boley o Advisor : Dr. Tara Athan o Team : Simranjit Singh Pratik Shah Bijiteshwar R Aayush.
David Hirtle Coop student, NRC IIT e-Business December 2, 2003 Object-Oriented RuleML Re-Modularized and XML Schematized via Content Models.
TUTORIAL Dolphy A. Fernandes Computer Science & Engg. IIT Bombay.
Object-Oriented RuleML for RDF: Facts, Queries, and Inferences Harold Boley*, NRC IIT e-Business (with help from Said Tabet, Duncan Johnston-Watt, Benjamin.
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.
1 Credits Prepared by: Rajendra P. Srivastava Ernst & Young Professor University of Kansas Sponsored by: Ernst & Young, LLP (August 2005) XBRL Module Part.
Rules, RIF and RuleML.
TMF - Terminological Markup Framework Laurent Romary Laboratoire LORIA (CNRS, INRIA, Universités de Nancy) ISO meeting London, 14 August 2000.
Internet & World Wide Web How to Program, 5/e. © by Pearson Education, Inc. All Rights Reserved.2.
The RDF meta model Basic ideas of the RDF Resource instance descriptions in the RDF format Application-specific RDF schemas Limitations of XML compared.
COMP9321 Web Application Engineering Semester 2, 2015 Dr. Amin Beheshti Service Oriented Computing Group, CSE, UNSW Australia Week 4 1COMP9321, 15s2, Week.
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,
Dom and XSLT Dom – document object model DOM – collection of nodes in a tree.
® A Proposed UML Profile For EXPRESS David Price Seattle ISO STEP Meeting October 2004.
RuleML Rules Lite Harold Boley, NRC IIT e-Business Said Tabet, Macgregor Corp With Key Contributions from the Joint Committee DAML PI Meeting, Captiva.
PRACTICAL KNOWLEDGE REPRESENTATION FOR THE WEB Frank van Harmelen Dieter Fensel AIFB Kim Kangil Structural Complexity Laboratory.
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.
Object-Oriented RuleML for RDF: Facts, Queries, and Inferences Harold Boley, NRC IIT e-Business (with help from Said Tabet, Duncan Johnston-Watt, Benjamin.
The Rule Markup Initiative: RDF Relationships and DTD Modularization Harold Boley Benjamin Grosof Said Tabet Updated (8 Mar 2001) from talk at: RDF Interest.
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.
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.
RuleML for the Semantic Web Harold Boley OntoWeb Kick-off WorkshopOntoWeb Kick-off Workshop, Heraklion, Greece, June 2001 Revised: 17 July 2001 (joint.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
 XML derives its strength from a variety of supporting technologies.  Structure and data types: When using XML to exchange data among clients, partners,
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.
XML Notes taken from w3schools. What is XML? XML stands for EXtensible Markup Language. XML was designed to store and transport data. XML was designed.
LegalRuleML Metamodel Tara Athan, Harold Boley, Guido Governatori, Monica Palmirani, Adrian Paschke, Adam Wyner July 13, 2013 RuleML th International.
Lecture Transforming Data: Using Apache Xalan to apply XSLT transformations Marc Dumontier Blueprint Initiative Samuel Lunenfeld Research Institute.
1 Introduction to XML Babak Esfandiari. 2 What is XML? introduced by W3C in 98 Stands for eXtensible Markup Language it is more general than HTML, but.
ece 720 intelligent web: ontology and beyond
CmpE 583- Web Semantics: Theory and Practice RULES & RULE MARKUP
Rules, RIF and RuleML.
LegalRuleML Metamodel
Model-Driven Semantic Web Rule Engineering
Presentation transcript:

David Hirtle Co-op student, NRC IIT e-Business August 12, 2004 The RuleML 0.87 Release UML Model, Validation Stability, and Abridged Syntax

1 Overview Introduction –example RuleML 0.87 –background –UML model –type/role distinction –slot changes –stripe-skipping –validation stability –demo Future Work

2 Introduction rules are essential for the Semantic Web –derivation rules (implicational-inference) –reaction rules (event-condition-action) –transformation rules (functional-equational) rule interchange is important for e-Business Rule Markup Initiative’s goal is a canonical language (RuleML) for interoperable rule markup –XSLT translators to other SW languages, e.g. RDF collaborating with W3C and other standards bodies

3 Introduction – Example ''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 percent premium customer regular product Imp Atom headbody And discoun t opr premiumcustomer opr regularproduct customerproduct5 percent Var IndRel Var

4 RuleML 0.87 release announced today full specification: –XML Schemas: –Examples: –Stylesheet: highlights –UML model for system of sublanguages –new type/role tag distinction –slot changes –“stripe-skipping” syntax –validation stability

5 RuleML Background transition from DTDs to XML Schema was problematic –many issues were resolved –then remodularization in 0.85 revealed a new one… W3C XML Schema expressiveness gap –cannot extend ranges by decreasing lowerbound –impossible to go from binary to “zero or more” arguments e.g. from binary datalog sublanguage to regular datalog

[ (version 0.85)

7 RuleML 0.87 – Background cont’d transition from DTDs to XML Schema was problematic –many issues were resolved –then remodularization in 0.85 revealed a new one… W3C XML Schema expressiveness gap –cannot extend ranges by decreasing lowerbound –impossible to go from binary to “zero or more” e.g. from binary datalog sublanguage to regular datalog evaluated three alternative versions of modularization –see for detailswww.ruleml.org/modularization –the “winner” was further refined and represented in UML

8 RuleML UML Model graphical conventions: –rectangle - schema drivers (actual sublanguages) –oval - elementary modules –UML-like aggregation arrows e.g. datalog is part of hornlog –UML-like inheritance arrows e.g. bindatalog is a datalog element and attribute definitions grouped into modules –not intended to be directly validated against –allow others to “borrow” specific parts of RuleML top-down expressiveness ordering

9 (uml model) [

10 RuleML Type/Role Distinction role tags distinguished with “_” prefix since 0.8 –e.g. role tags: _head, _opr type tags: imp, var now switching to Java-style case convention –role tags begin with lowercase letter e.g. head, opr –type tags begin with uppercase letter e.g. Imp, Var XSLT stylesheet automatically upgrades 0.86 to 0.87 –see comparison of input and output files using HTMLDiffcomparison of input and output filesHTMLDiff

11 RuleML Slot Changes to accommodate F-logic… –slot names as subelements, not attributes e.g. bass becomes instrument bass –variables and complex terms as slot names e.g. Property bass ( Property can be bound to instrument or fish ) slot evolves from a role to a type –so with new naming convention: Property bass

12 RuleML Stripe-Skipping alternating type/role tags called “striped syntax” –e.g. result is quite verbose –but important for compatibility with OO modeling and RDF “Stripe-Skipping” to the rescue –cf. RuleML 0.8 and Sandro Hawke, W3C: StripeSkippingRuleML 0.8StripeSkipping –role tags become optional (can be “reconstructed” anyway) –result is (combinable) compact and expanded forms

13 RuleML Stripe-Skipping (2) Compact: discount customer product 5.0 percent premium customer regular product Expanded: discount customer product 5.0 percent premium customer regular product

14 RuleML Validation Stability emphasized in 0.86 and 0.87, but … XML Schema spec is complex and difficult to implementXML Schema spec –current tools (e.g. validators) can be misleading “I suspect it is true that there is no single schema processor which correctly enforces all the constraints defined in the schema specification.... Certainly the fact that it gets through XML Spy (or any other product) is no proof of validity…” Michael Kay, mailing mailing list modularity of RuleML XSDs adds to the challenge –discovered (and reported) issues with several tools, e.g. XML Spy –useful as a benchmark for finding validator bugs

15 RuleML Validation Stability (2) determining if RuleML XSDs are valid is not trivial our approach: use a variety of validators –W3C XML Schema Validator (XSV) (stable, free, online)W3C XML Schema Validator (XSV) –Altova XML SpyAltova XML Spy –Saxon-SASaxon-SA –Microsoft XML Core Services (MSXML)Microsoft XML Core Services (MSXML) –Xerces2 Java Parser (Xerces-J)Xerces2 Java Parser (Xerces-J) see for full resultswww.ruleml.org/0.87/#Validation via Stylus StudioStylus Studio

16 RuleML Demo W3C XML Schema Validator (XSV)

17 Steering Committee presented to RuleML Steering Committee during teleconference –Monday, August 9, :00pm ADT Committee members: –Asaf Adi (IL) –Harold Boley (CA) –Mike Dean (USA) –Andreas Eberhart (DE) –Benjamin Grosof (USA) –Michael Kifer (USA) –Steve Ross-Talbot (UK) –Bruce Spencer (CA) –Said Tabet (USA) –Gerd Wagner (NL) work was approved

18 Future Work fully compact and fully expanded role tag normal forms –possible XSLT between these and earlier “mixed” form first-order logic extensions reaction rules, transformation rules abstract syntax glossary of terms guarded Horn Logic –suggested by Wolfgang Nejdl, U Hannover CLP (Corteous Logic Programs) overrides facts –work by Benjamin Grosof, MIT

19 Questions/Comments?