The Rule Markup Initiative: RDF Relationships and DTD Modularization Harold Boley Benjamin Grosof Said Tabet Updated (8 Mar 2001) from talk at: RDF Interest.

Slides:



Advertisements
Similar presentations
DAML PI Meeting Status Briefing UMBC, JHU APL, MIT Sloan Tim Finin Jim Mayfield Benjamin Grosof February 12, 2002 tell register JHU APL Haircut retrieval.
Advertisements

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,
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.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
RDF Schemata (with apologies to the W3C, the plural is not ‘schemas’) CSCI 7818 – Web Technologies 14 November 2001 Van Lepthien.
Sujit R Nair November 30,2009. Introduction Need / Requirement. Characteristics of current rule markup Languages. A sample Scenario of Rule Interchange.
An Introduction to Semantic Web Portal
CS570 Artificial Intelligence Semantic Web & Ontology 2
RDF Tutorial.
1 Reasoning about Anonymous Resources and Meta Statements on the Semantic Web Guizhen Yang and Michael Kifer Holger Lausen
1 An Introduction To The Semantic Web. 2 Information Access on the Web Find an mp3 of a song that was on the Billboard Top Ten that features a cowbell.
ModelicaXML A Modelica XML representation with Applications Adrian Pop, Peter Fritzson Programming Environments Laboratory Linköping University.
From Semistructured Data to XML: Migrating The Lore Data Model and Query Language Roy Goldman, Jason McHugh, Jennifer Widom Stanford University
Winter 2004/5Pls – inductive – Catriel Beeri1 Inductive Definitions (our meta-language for specifications)  Examples  Syntax  Semantics  Proof Trees.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
RDF (Resource Description Framework) Why?. XML XML is a metalanguage that allows users to define markup XML separates content and structure from formatting.
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.
22-Sep-06 CS6795 Semantic Web Techniques 0 Horn Logic Markup Languages.
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.
Lecture 6 of Advanced Databases XML Schema, Querying & Transformation Instructor: Mr.Ahmed Al Astal.
Practical RDF Chapter 1. RDF: An Introduction
CS 6795 SEMANTIC WEB TECHNIQUES TEAM6: HAWRA BADER ALSEEF JEEVAN REDDY KODUR 19 NOV, 2012.
The 7th International Web Rule Symposium: Research Based and Industry Focused (RuleML 2013) July 11-13, 2013, Seattle, USA.
Trees. Introduction to Trees Trees are very common in computer science They come in different forms They are used as data representation in many applications.
INF 384 C, Spring 2009 Ontologies Knowledge representation to support computer reasoning.
Logics for Data and Knowledge Representation
The Semantic Web Web Science Systems Development Spring 2015.
18-Sep-14 CS6795 Semantic Web Techniques 0 Extensible Markup Language.
1 RDF/RuleML Interoperability W3C Workshop on Rule Languages for Interoperability Position Paper, April 2005 Authors: Harold Boley 1, Jing Mei 2,
David Hirtle Coop student, NRC IIT e-Business December 2, 2003 Object-Oriented RuleML Re-Modularized and XML Schematized via Content Models.
Of 33 lecture 3: xml and xml schema. of 33 XML, RDF, RDF Schema overview XML – simple introduction and XML Schema RDF – basics, language RDF Schema –
RDF (Resource Description Framework). 2 Table of Contents  Introduction  Basic RDF –Basic RDF Model –Basic Syntax  Containers  Statements about Statements.
Metadata. Generally speaking, metadata are data and information that describe and model data and information For example, a database schema is the metadata.
Information Interchange on the Semantic Web an interactive talk by Piotr Kaminski, University of Victoria
Object-Oriented RuleML for RDF: Facts, Queries, and Inferences Harold Boley*, NRC IIT e-Business (with help from Said Tabet, Duncan Johnston-Watt, Benjamin.
Resource Description Framework (RDF) Course: Electronic Document Team member: Ding Feng Ding Wei Wang Ling Date:
Of 41 lecture 4: rdf – basics and language. of 41 RDF basic ideas the fundamental concepts of RDF  resources  properties  statements ece 720, winter.
RDF and XML 인공지능 연구실 한기덕. 2 개요  1. Basic of RDF  2. Example of RDF  3. How XML Namespaces Work  4. The Abbreviated RDF Syntax  5. RDF Resource Collections.
RuleML: Markup von Regelwerken im Semantischen Web (Markup of Rule Systems in the Semantic Web) Harold Boley, DFKI GmbH Online 2002, Düsseldorf, January.
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.
Weighted Slotted RuleML for Similarity Matching in AgentMatcher Information Agents Harold Boley, NRC IIT e-Business Virendra Bhavsar, UNB, Faculty of Computer.
Rules, RIF and RuleML.
Semantically Processing The Semantic Web Presented by: Kunal Patel Dr. Gopal Gupta UNIVERSITY OF TEXAS AT DALLAS.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
Understanding RDF. 2/30 What is RDF? Resource Description Framework is an XML-based language to describe resources. A common understanding of a resource.
User Profiling using Semantic Web Group members: Ashwin Somaiah Asha Stephen Charlie Sudharshan Reddy.
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 Meets RDF: Triples, Rules, and Taxonomies Harold Boley*, NRC IIT e-Business Benjamin Grosof, MIT Sloan (with help from Bruce Spencer, Steve Ross-Talbot,
Description of Information Resources: RDF/RDFS (an Introduction)
RuleML Rules Lite Harold Boley, NRC IIT e-Business Said Tabet, Macgregor Corp With Key Contributions from the Joint Committee DAML PI Meeting, Captiva.
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.
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.
Chapter 8: Relations. 8.1 Relations and Their Properties Binary relations: Let A and B be any two sets. A binary relation R from A to B, written R : A.
RuleML: Data Model, Language Hierarchy, and Transformations Harold Boley, DFKI GmbH, Visiting Researcher at NRC IIT e-Business, Fredericton 2001 Seminar.
1 RIF Design Roadmap Draft PM Harold Boley (NRC), Michael Kifer (Stony Brook U), Axel Polleres (DERI), Jos de Bruijn (DERI), Michael Sintek.
Motivation Dynamically identify and understand information sources Provide interoperability between agents in a semantic manner Enable distributed extensible.
Stefan Decker Stanford University Mike Dean BBN Technologies.
Silterra, April 2004 RDF, RSS and all that THREADING THE RDF MAZE.
RuleML for the Semantic Web Harold Boley OntoWeb Kick-off WorkshopOntoWeb Kick-off Workshop, Heraklion, Greece, June 2001 Revised: 17 July 2001 (joint.
Chapter 5 The Semantic Web 1. The Semantic Web  Initiated by Tim Berners-Lee, the inventor of the World Wide Web.  A common framework that allows data.
 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.
CHAPTER NINE Accessing Data Using XML. McGraw Hill/Irwin ©2002 by The McGraw-Hill Companies, Inc. All rights reserved Introduction The eXtensible.
LegalRuleML Metamodel Tara Athan, Harold Boley, Guido Governatori, Monica Palmirani, Adrian Paschke, Adam Wyner July 13, 2013 RuleML th International.
Formal Modeling Concepts
Entity-Relationship Model
CmpE 583- Web Semantics: Theory and Practice RULES & RULE MARKUP
Presentation transcript:

The Rule Markup Initiative: RDF Relationships and DTD Modularization Harold Boley Benjamin Grosof Said Tabet Updated (8 Mar 2001) from talk at: RDF Interest Group: Face to face meetingRDF Interest Group: Face to face meeting, Technical Plenary and WG Meeting Event, W3C, Cambridge, Mass., 26/27 Feb 2001

RuleML 1 Structure of the RuleML DTD Hierarchy Our system of DTDs (current version: 0.7) uses a modularization approach similar to XHTML in order to accomodate the various rule subcommunities The evolving hierarchy of RuleML DTDs forms a partial order with ruleml as the greatest element (a ruleml-rooted DAG) -- many ‘smallest’ elements Each DTD node in the hierarchy (conformance “lattice”) corresponds to a specific RuleML sublanguage: – ‘Union’ (join) of sublanguages reached via outgoing links: to smaller or equal nodes below – ‘Intersection’ (meet) of sublanguages via incoming links: from greater or equal nodes above

RuleML 2 The Module Hierarchy of RuleML DTDs urc-bin-data-ground-fact urc-bin-data-ground-log urc-bin-datalog bin-datalogurc-datalog ur-datalog ur-hornlog ur-equalog hornlog equalog datalog ur Rooted DAG will be extended with branches for further sublanguages URL/URI-like ‘ur’-objects ruleml RDF-like triples ur-datalog = join(ur,datalog)

RuleML 3 Initial Example: Backward-Rule Notation may look at you want to review you rule principles Semiformal RuleML markup (still unanalyzed English relation and individual-constant names): conclusion premise

RuleML 4 RuleML Elements of Datalog DTD: Clocksin/Mellish Sample Prolog Clauses Rule (Non-unit clause):Fact (Unit clause): likes Mary wine likes(mary,wine). likes likes( John john, x X ) :- likes likes( x X, wine wine ). Empty ‘and’  true premise  factual rule

RuleML 5 RuleML Element of UR-Hornlog DTD: Proposed W3C-Page Authentication Rule may register x person x Tim Berners-Lee (preliminary): Any person (x) may register

RuleML 6 RuleML Element of UR-Hornlog DTD: Proposed W3C-Page Authentication Rule employee in x y last month 2 may register x person x organization y Tim Berners-Lee (preliminary): Any person (x) who was some time in the last 2 months an employee of an organization (y) may register...

RuleML 7 RuleML Element of UR-Hornlog DTD: Proposed W3C-Page Authentication Rule employee in x y last month 2 may register x person x organization y member in y last month 2 Tim Berners-Lee: Any person (x) who was some time in the last 2 months an employee of an organization (y) which was some time in the last 2 months a W3C member may register

RuleML 8 RuleML Elements of UR-Equalog DTD: Equation for URI Expansion uriexp daml uriexp(daml) =

RuleML 9 RuleML Elements of UR-Equalog DTD: Equations for URI Expansion uriexp daml uriexp oil uriexp(daml) = uriexp(oil) = Empty ‘and’  true premise  unconditional equation URLs/URIs or URs as 1st-class citizens

RuleML 10 Two-Way Relationship Between RuleML and RDF RDF in RuleML: – RDF triples as facts described by a DTD in the RuleML family – Example: Next slide RuleML in RDF: – RDF graphs and serializations for RuleML rules – To be treated in later slides

RuleML 11 RuleML Element of URC-Bin-Data-Ground-Fact DTD: RDF Triple as Very Special Rule Creator Ora Lassila RDF triple(predicate, subject, object) as atom predicate(subject, object) or rel(ur, ur|ind) " has creator Ora Lassila." (Creator, Ora Lassila)

RuleML 12 From the XML Representation to Possible RDF Representations of RuleML Rules XML: N-ary, positional representation of rules RDF: Binary, labeled representation of rules with nodes for resources and labels as explicit role names Parallel labeled arcs for N-element rulebases and N-ary conjunctions; Operator, Arg1,..., ArgN for relation/function Operator applied to N arguments through atoms/nanos

RuleML 13 XML Representation of Buy Sample Rule: Node-Labeled, Left-to-Right-Ordered Tree atom buypersonmerchant relvar object var atom sellmerchantperson relvar object var if rulebase Different XML nodes (dots, often omitted) can carry the same label Implicit left-to-right and top-down orders could also be made explicit

RuleML 14 RDF Representation of Buy Sample Rule: Directed Arc-Labeled Graph (Instances) if1 Element Conc Prem atom1 atom2 rel1 var1var2var3var4var5var6 rel2 rulebase1 buypersonmerchantobject personmerchantobject sell Operator Arg1 Arg2 Arg3 Operator Arg1 Arg2 Arg3 Name RDF resources (ovals) are nodes (URIs), hence require unique indexes RDF literals (rectangles) are also nodes, hence copies should be identified

RuleML 15 RDF Representation of Buy Sample Rule: Directed Node/Arc-Labeled Graph (Types) if Element Conc Prem atom rel var rel rulebase buypersonmerchantobject personmerchantobject sell Operator Arg1 Arg2 Arg3 Operator Arg1 Arg2 Arg3 Name Same RDF types (ovals) denote different anonymous resources RDF literals (rectangles) likewise viewed as anonymous resources

RuleML 16 The Implemented RDF Representation: RuleML as RDF Serializations & Graphs RDF Container Bag for N-element rulebases and N-ary conjunctions (Set would be more precise); Seq for N-ary argument lists of atoms and nanos Preliminary serialization, open to change (see above): Joint work with DAML-Rules and Triple system, and possibly with Notation 3 and Euler aboveDAML-Rules TripleNotation 3Euler Realized by XSLT translator from valid RuleML rulebases to RDF short (“Description  type”) syntax (cf. nested property lists): Visualized by RDFViz tool: Queries and inferences can, e.g., be implemented via Triple and Euler

RuleML 17 <!-- In English: This rule says that a person buys an object from a merchant if the merchant sells the object to the person. --> buy person merchant object sell merchant person object

RuleML 18 buy person merchant object

RuleML 19 sell merchant person object

RuleML 20 Conclusions RuleML DTD 0.7, a system of 12 DTDs, is available at indtd.html ; sample files at indtd.htmlhttp:// The rule represent ation in RDF is described at Further rule categories (e.g. ICs and triggers) and DTD updates will be available via main RuleML page at Distributed KR can already be based on current DTDs -- using (XSLT) transformations to reach follow-up and Participants’ DTDsParticipants’