Rules in SW Semantic Web - Spring 2008 Computer Engineering Department Sharif University of Technology.

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.
The 20th International Conference on Software Engineering and Knowledge Engineering (SEKE2008) Department of Electrical and Computer Engineering
CHAPTER 13 Inference Techniques. Reasoning in Artificial Intelligence n Knowledge must be processed (reasoned with) n Computer program accesses knowledge.
Rulebase Expert System and Uncertainty. Rule-based ES Rules as a knowledge representation technique Type of rules :- relation, recommendation, directive,
Expert System Shells - Examples
Production Rule Representation Team Response Presentation to BEIDTF OMG Montreal Aug 2004 Ruleml.org.
Research topics Semantic Web - Spring 2007 Computer Engineering Department Sharif University of Technology.
© 2005 Franz J. Kurfess Expert System Examples 1 CPE/CSC 481: Knowledge-Based Systems Dr. Franz J. Kurfess Computer Science Department Cal Poly.
1 5.0 Expert Systems Outline 5.1 Introduction 5.2 Rules for Knowledge Representation 5.3 Types of rules 5.4 Rule-based systems 5.5 Reasoning approaches.
1 Chapter 9 Rules and Expert Systems. 2 Chapter 9 Contents (1) l Rules for Knowledge Representation l Rule Based Production Systems l Forward Chaining.
© C. Kemke1Reasoning - Introduction COMP 4200: Expert Systems Dr. Christel Kemke Department of Computer Science University of Manitoba.
Marakas: Decision Support Systems, 2nd Edition © 2003, Prentice-Hall Chapter Chapter 7: Expert Systems and Artificial Intelligence Decision Support.
EXPERT SYSTEMS Part I.
Chapter 12: Intelligent Systems in Business
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Building Knowledge-Driven DSS and Mining Data
Dr. Jim Bowring Computer Science Department College of Charleston CSIS 690 (633) May Evening 2009 Semantic Web Principles and Practice Class 3: 18 May.
Artificial Intelligence CSC 361
Sepandar Sepehr McMaster University November 2008
Semantic Web Technologies Lecture # 2 Faculty of Computer Science, IBA.
Expert Systems Infsy 540 Dr. Ocker. Expert Systems n computer systems which try to mimic human expertise n produce a decision that does not require judgment.
Katanosh Morovat.   This concept is a formal approach for identifying the rules that encapsulate the structure, constraint, and control of the operation.
Artificial Intelligence Lecture No. 15 Dr. Asad Ali Safi ​ Assistant Professor, Department of Computer Science, COMSATS Institute of Information Technology.
The RuleML Initiative, July/August 2001 International Semantic Web Working Symposium SWWS July - 1 August 2001, Stanford, California, USA Harold.
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.
Invitation to Computer Science 5th Edition
Chapter 14: Artificial Intelligence Invitation to Computer Science, C++ Version, Third Edition.
Notes for Chapter 12 Logic Programming The AI War Basic Concepts of Logic Programming Prolog Review questions.
Business Rules and Web Services Research Group A proposal for a joint UNB/NRC Research group Bruce Spencer Feb 28, 2002.
Knowledge representation
13: Inference Techniques
11 C H A P T E R Artificial Intelligence and Expert Systems.
Rules in SW Semantic Web - Spring 2007 Computer Engineering Department Sharif University of Technology.
Košice, 10 February Experience Management based on Text Notes The EMBET System Michal Laclavik.
EU Project proposal. Andrei S. Lopatenko 1 EU Project Proposal CERIF-SW Andrei S. Lopatenko Vienna University of Technology
 Architecture and Description Of Module Architecture and Description Of Module  KNOWLEDGE BASE KNOWLEDGE BASE  PRODUCTION RULES PRODUCTION RULES 
Jess: A Rule-Based Programming Environment Reporter: Yu Lun Kuo Date: April 10, 2006 Expert System.
Semantic Web - an introduction By Daniel Wu (danielwujr)
SEMANTIC AGENT SYSTEMS Towards a Reference Architecture for Semantic Agent Systems Applied to Symposium Planning Usman Ali.
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
ARTIFICIAL INTELLIGENCE [INTELLIGENT AGENTS PARADIGM] Professor Janis Grundspenkis Riga Technical University Faculty of Computer Science and Information.
The AI War LISP and Prolog Basic Concepts of Logic Programming
Of 33 lecture 1: introduction. of 33 the semantic web vision today’s web (1) web content – for human consumption (no structural information) people search.
Formal Specification: a Roadmap Axel van Lamsweerde published on ICSE (International Conference on Software Engineering) Jing Ai 10/28/2003.
Working with XML. Markup Languages Text-based languages based on SGML Text-based languages based on SGML SGML = Standard Generalized Markup Language SGML.
SWRL Semantic Web Rule Language Susana R. Novoa UNIK4710.
1 Nov. 2, 2005 Design and Application of Rule Based Access Control Policies Huiying Li, Xiang Zhang, Honghan Wu & Yuzhong Qu Dept. Computer.
A Portrait of the Semantic Web in Action Jeff Heflin and James Hendler IEEE Intelligent Systems December 6, 2010 Hyewon Lim.
Of 35 lecture 17: semantic web rules. of 35 ece 627, winter ‘132 logic importance - high-level language for expressing knowledge - high expressive power.
Expert System Seyed Hashem Davarpanah University of Science and Culture.
ITEC 1010 Information and Organizations Chapter V Expert Systems.
Some Thoughts to Consider 5 Take a look at some of the sophisticated toys being offered in stores, in catalogs, or in Sunday newspaper ads. Which ones.
Implementation of Ontology Based Context-awareness Framework Ki-Chul Lee, Jung-Hoon Kim International Conference on Multimedia and Ubiquitous Engineering.
Artificial Intelligence Knowledge Representation.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Building the Semantic Web
Chapter 9. Rules and Expert Systems
EA C461 – Artificial Intelligence Logical Agent
Introduction to Expert Systems Bai Xiao
Architecture Components
ece 720 intelligent web: ontology and beyond
CmpE 583- Web Semantics: Theory and Practice RULES & RULE MARKUP
Rules, RIF and RuleML.
Knowledge Representation
Computer Engineering Department Sharif University of Technology
KNOWLEDGE REPRESENTATION
Semantic Markup for Semantic Web Tools:
Chapter 9. Rules and Expert Systems
ONTOMERGE Ontology translations by merging ontologies Paper: Ontology Translation on the Semantic Web by Dejing Dou, Drew McDermott and Peishen Qi 2003.
Presentation transcript:

Rules in SW Semantic Web - Spring 2008 Computer Engineering Department Sharif University of Technology

Outline  Introduction to the rules and their usage in Web  RuleML  SWRL

Introduction  Rules as an important aspect of Internet e-business: rule- based business policies & business processes, for B2B & B2C. represent seller’s offerings of products & services, capabilities, bids; map offerings from multiple suppliers to common catalog. represent buyer’s requests, interests, bids; → matchmaking. represent sales help, customer help, procurement, authorization/trust, brokering, workflow. high level of conceptual abstraction; easier for non- programmers to understand, specify, dynamically modify & merge. executable but can treat as data, separate from code  potentially ubiquitous; already wide: e.g., SQL views, queries.  Rules in communicating applications, e.g., embedded intelligent agents.

Introduction (cont.)  Rules are being used for many interconnected purposes, capturing regularities in application domains such as the following: Engineering: Diagnosis rules Commerce: Business rules (including XML versions such as the Business Rules Markup Language (BRML) of IBM's Business Rules for Electronic Commerce project)BRML Business Rules for Electronic Commerce Law: Legal reasoning (Robert Kowalski and Marek Sergot have been formalizing legal rules in an Imperial College group)Imperial College group Internet: Access authentication (Tim Berners-Lee proposed registration engines that use authentication rules such as the following: Any person who was some time in the last 2 months an employee of an organization which was some time in the last 2 months a W3C member may register.)such as the following

Expert Systems…  Are a branch of artificial intelligence.  Simulate human reasoning in some domain.  “Reason” by heuristic or approximate methods.  Explain and justify solutions in user- friendly terms.

Types Of Expert Systems  Neural Networks  Blackboard Systems  Belief (Bayesian) Networks  Case-Based Reasoning  Rule-Based Systems

Rule-Based Expert Systems  Originated from AI research in the 70s and 80s.  Problem data stored as facts.  “Reason” using IF…THEN…ELSE rules.  Can “reason” deductively (forward- chaining) or inductively (backward- chaining).

When to Use Rule-Based Systems  Problem Domain = narrow, well-understood domain theory  Knowledge Representation = facts and rules  Output = recommendation  Explanation = rule firing trace  Learning Ability = generally no (but…)

Inference Process 1. Rules and facts compared using pattern matcher. 2. Matched rules activated into a conflict set. 3. Conflict set resolved into agenda (process called conflict resolution). 4. Rule engine fires on agenda. 5. Engine cycles until all rules are satisfied.

Rules in SW

Example rules  The discount for a customer is 5.0 percent if the customer is premium and the product is regular  A customer is premium if their spending has been min 5000 euro in the previous year  Those who are members of CE can access CE portal

RuleML  Rather than reinventing rule principles and markups in each community, the idea of RuleML is to 'package' the rule aspect of any domains  make it available as an (XML) namespace,.../RuleML,(XML) namespace  can be mixed with a namespace for natural- language (XHTML) textsXHTML  and possible domain-specific namespaces (much like MathML is mixed into such domain texts).MathML

RuleML initiatives  Dozens of institutions (~35), researchers; esp. in US, EU  Mission: Enable semantic exchange of rules/facts between most commercially important rule systems  Standards specification: 1st version 2001; basic now fairly stable  A number of tools (~12 engines, translators, editors), demo applications  Successful Workshop on Rules at ISWC was mostly about RuleML / LP  Has now a “home” (  Initial Core: Horn Logic Programs KR …Webized (in markup)… and with expressive extensions

Type of rules possible in RuleML  Derivation rules Deriving new facts Maybe evaluated bottom-up as in deductive databases Top-down as in Logic Programming Example: dynamic inclusion of derived facts in a html response  Reaction rules Also called ECA (Event-Condition-Action) or Triggers Example: Specification of behavior in response to browser events

RuleML top-level hierarchy  Integrity constraints are considered as "denials" or special reaction rules whose only possible kind of action is to signal inconsistency when certain conditions are fulfilled.  Derivation rules are considered as special reaction rules whose action happens to only add or 'assert' a conclusion when certain conditions (premises) are fulfilled.  Facts are considered as special derivation rules that happen to have an empty (hence, 'true') conjunction of premises.

RuleML toturial  Peter Miller's spending has been min 5000 euro in the previous year.  spending Peter Miller min 5000 euro previous year  This is a fact

RuleML toturial (cont.)  "spending" is marked up as the relation name (table name) for the fact.  "Peter Miller", "min 5000 euro", and "previous year" are marked up as individual constants that are the three arguments (table columns) of the relation.  The entire relation application constitutes an atomic formula, marked up by....

Representing as tree

An example rule  A customer is premium if their spending has been min 5000 euro in the previous year premium customer spending customer min 5000 euro previous year

In tree form

What is SWRL?  SWRL is an acronym for Semantic Web Rule Language.  SWRL is intended to be the rule language of the Semantic Web.  SWRL includes a high-level abstract syntax for Horn-like rules.  All rules are expressed in terms of OWL concepts (classes, properties, individuals).

SWRL Characteristics  W3C Submission in 2004:  Based on OWL-DL  Has a formal semantics  Rules saved as part of ontology  Increasing tool support: Bossam, R2ML, Hoolet, Pellet, KAON2, RacerPro, SWRLTab  Can work with reasoners

OWL extension for rules (SWRL)  A recommendation to extend OWL to create a Rule language

SWRLTab  A Protégé-OWL development environment for working with SWRL rules  Supports editing and execution of rules  Extension mechanisms to work with third- party rule engines  Mechanisms for users to define built-in method libraries  Supports querying of ontologies

References  RuleML.org  ram/full/paper20.pdf ram/full/paper20.pdf  L/Rules/ L/Rules/  ml-rgs.pdf ml-rgs.pdf 

The End