 Copyright 2004 Digital Enterprise Research Institute. All rights reserved. SRI, 08/12/20051 Web Rule Language (WRL)

Slides:



Advertisements
Similar presentations
© Copyright 2007 STI - INNSBRUCK Applying Reasoning to Instance Transformation Adrian Mocan, Mick Kerrigan, Emilia Cimpian
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.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
A rule language for the semantic web Dieter Fensel, Lausanne, June 14, 2004 SDK cluster meeting on WSMO.
An Introduction to Description Logics
An Introduction to RDF(S) and a Quick Tour of OWL
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.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
COMP 6703 eScience Project Semantic Web for Museums Student : Lei Junran Client/Technical Supervisor : Tom Worthington Academic Supervisor : Peter Strazdins.
Cornell CS Semantic Web Ontologies & Data Models CS 502 – Carl Lagoze – Cornell University Acknowledgements: Eric Miller Dieter Fensel.
The WSMO / L / X Approach Michael Stollberg DERI – Digital Enterprise Research Institute Alternative Frameworks for Semantics in Web Services: Possibilities.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Mapping Fundamental Business Process Modelling Language to the Web Services Ontology Gayathri Nadarajan and Yun-Heh Chen-Burger Centre for Intelligent.
A Really Brief Crash Course in Semantic Web Technologies Rocky Dunlap Spencer Rugaber Georgia Tech.
RDF: Concepts and Abstract Syntax W3C Recommendation 10 February Michael Felderer Digital Enterprise.
1. Motivation Knowledge in the Semantic Web must be shared and modularly organised. The semantics of the modular ERDF framework has been defined model.
1 © Copyright 2010 Dieter Fensel and Dumitru Roman Semantic Web Services The Web Service Modeling Language (WSML)
Aidministrator nederland b.v. Adding formal semantics to the Web Jeen Broekstra, Michel Klein, Stefan Decker, Dieter Fensel,
 Copyright 2005 Digital Enterprise Research Institute. All rights reserved. Towards Translating between XML and WSML based on mappings between.
Knowledge Interchange Format Michael Gruninger National Institute of Standards and Technology
1Dagstuhl Seminar "Nonmonotonic Reasoning, Answer Set Programming and Constraints " Languages for the Semantic Web and Semantic Web Services Current Efforts.
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
1 MASWS Multi-Agent Semantic Web Systems: OWL Stephen Potter, CISA, School of Informatics, University of Edinburgh, Edinburgh, UK.
1 CENTRIA, Dept. Informática da Faculdade de Ciências e Tecnologia, Universidade Nova de Lisboa, Caparica, Portugal. 2 Institute of Computer Science,
Okech Odhiambo Faculty of Information Technology Strathmore University
OWL and SDD Dave Thau University of Kansas
OWL 2 Web Ontology Language. Topics Introduction to OWL Usage of OWL Problems with OWL 1 Solutions from OWL 2.
RDF and OWL Developing Semantic Web Services by H. Peter Alesso and Craig F. Smith CMPT 455/826 - Week 6, Day Sept-Dec 2009 – w6d21.
Ming Fang 6/12/2009. Outlines  Classical logics  Introduction to DL  Syntax of DL  Semantics of DL  KR in DL  Reasoning in DL  Applications.
Building an Ontology of Semantic Web Techniques Utilizing RDF Schema and OWL 2.0 in Protégé 4.0 Presented by: Naveed Javed Nimat Umar Syed.
OWL 2 in use. OWL 2 OWL 2 is a knowledge representation language, designed to formulate, exchange and reason with knowledge about a domain of interest.
An Algebra for Composing Access Control Policies (2002) Author: PIERO BONATTI, SABRINA DE CAPITANI DI, PIERANGELA SAMARATI Presenter: Siqing Du Date:
WSMO D3.2: Use Case and Testing Part 2: Syntax and Running Example 2nd F2F meeting SDK cluster working group on Semantic Web Services Lausanne, Switzerland,
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
The Dynamic Discovery of Web Services Using WSMX Presented by Robert Zaremba.
An Introduction to Description Logics (chapter 2 of DLHB)
Coastal Atlas Interoperability - Ontologies (Advanced topics that we did not get to in detail) Luis Bermudez Stephanie Watson Marine Metadata Interoperability.
Semantic Web - an introduction By Daniel Wu (danielwujr)
Advanced topics in software engineering (Semantic web)
Rules, RIF and RuleML.
Universität Innsbruck Leopold Franzens  Copyright 2007 DERI Innsbruck Technical Task Fair December 2007 SWS Composition The SUPER Approach.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
© Copyright 2008 STI INNSBRUCK Semantic Web Services The Web Service Modeling Language (WSML) Lecture VII – 30.
A Logical Framework for Web Service Discovery The Third International Semantic Web Conference Hiroshima, Japan, Michael Kifer 1, Rubén Lara.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
1 Comparison and Combination of the Expressive Power of Description Logics and Logic Programs Jidi (Judy) Zhao December 7, 2015.
KR A Principled Framework for Modular Web Rule Bases and its Semantics Anastasia Analyti Institute of Computer Science, FORTH-ICS, Greece Grigoris.
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.
PRACTICAL KNOWLEDGE REPRESENTATION FOR THE WEB Frank van Harmelen Dieter Fensel AIFB Kim Kangil Structural Complexity Laboratory.
1 Reasoning with Infinite stable models Piero A. Bonatti presented by Axel Polleres (IJCAI 2001,
ece 627 intelligent web: ontology and beyond
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.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
OWL, DL and Rules Based on slides from Grigoris Antoniou, Frank van Harmele and Vassilis Papataxiarhis.
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
LDK R Logics for Data and Knowledge Representation Description Logics: family of languages.
Ccs.  Ontologies are used to capture knowledge about some domain of interest. ◦ An ontology describes the concepts in the domain and also the relationships.
WWW: WSMO, WSML, and WSMX in a Nutshell Dumitru Roman 1, Jos de Bruijn 1, Adrian Mocan 1, Holger Lausen 1,2, John Domingue 3, Christoph Bussler 2, and.
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.
Web Service Modeling Ontology (WSMO)
Rules, RIF and RuleML.
ece 720 intelligent web: ontology and beyond
Ontologies and Databases
A Tutorial Summary of Description Logic and Hybrid Rules
Presentation transcript:

 Copyright 2004 Digital Enterprise Research Institute. All rights reserved. SRI, 08/12/20051 Web Rule Language (WRL) Authors: Jos de Bruijn, Jürgen Angele, Harold Boley, Dieter Fensel, Pascal Hitzler, Michael Kifer, Reto Krummenacher, Holger Lausen, Axel Polleres, Rudi Studer (DERI, Ontoprise, FZI, UniKarlsruhe, NRC) Presented by: Axel Polleres

SRI, 08/12/20052 Outline Introduction Syntax WRL Variants Semantics Exchange Syntaxes Why not SWRL? Related approaches Conclusions

SRI, 08/12/20053 Introduction WRL: Rule–based ontology language for the Semantic Web –the basic ontology meta-model proposed by (WSML) consists of: concepts, relations, instances, axioms –formal semantics based on well-known logical language paradigms: Logic Programming Frame Logic [Kifer et al.] "Rule–based ontology language? We have OWL already… ?!?" Description Logic

SRI, 08/12/20054 Why more than OWL? OWL Recap: OWL builds on top of RDF(S) In OWL I can express –subclassing (including union, intersection, complement) Class(C1 partial C2) –property value restrictions: Class(C1 partial R allValuesFrom(C2) P someValuesFrom(C3)) –cardinality restrictions: Class(Car partial Wheel minCardinality(4)) –transistivity, symmetry, inversity, functionality of properties (globally): ObjectProperty (R transitive inverseOf(P)) –individuals Individual( type(xyz:Human) value(age 32)) –equality and disjointness of classes and individuals

SRI, 08/12/20055 Why more than OWL? In OWL (DL), there are no rules, thus –limited number of axioms can be expressed, e.g. not expressible: uncleOf(X,Z) :- male(X), hasSibling(X,Y), childOf(Y,Z) brother(X) :- hasFather(X,Z), hasChild(Z,Y), differentFrom(X,Y). –sometimes intuitivity is arguable ObjectProperty(hasPassenger domain(FlightSeat) range(Passenger) Class(FlightSeat partial restriction(hasPassenger maxCardinality(1))) Individual( seat1 type(FlightSeat) value(hasPassenger mary) value(hasPassenger john)). Individual(seat1 type(FlightSeat) value(hasPassenger seat2))  OWA by default, no names non unique by default (can be added by owl:AllDifferent). Has some disadvantages. Additional inferences are drawn, no way to express constraints on a contextually scoped knowledge base. Besides there are some other troubles with OWL… –Layering on top of RDF only OWL Full layered completely on RDF… some of the problems (e.g. classes as instances) can be solved relatively simple: tweety rdf:type eagle. eagle rdf:type species.

SRI, 08/12/20056 Objectives for a rule language next to OWL: –LP based (efficient query answering, constraints) –Lift some of the restrictions such as individuals as classes –Identify level of interoperability with OWL (already defined: DLP [Grosof et al.])

SRI, 08/12/20057 Introduction - placed on the “Ontology vocabulary“ layer in the Semantic Web language layer cake

SRI, 08/12/20058 Outline Introduction Syntax WRL Variants Semantics Exchange Syntaxes Why not SWRL? Related approaches Conclusions

SRI, 08/12/20059 WRL Syntax –The conceptual syntax –Modeling the ontologies –frame-like style (similar to OIL) –The logical expressions syntax –Refine these definitions using arbitrary rules

SRI, 08/12/ Concepts Form the basic terminology of the domain of discourse May be organized in a hierarchy (using subConceptOf) Have a number of attributes: –Attributes have a type: local Type constraint (ofType) local Type inference (impliesType) –Attributes may have cardinality constraints –Attributes may have a number of features: Transitive Symmetric Reflexive Inverse of another attribute

SRI, 08/12/ What I meant by local vs. global? –in OWL only global type restrictions for Properties (rdf: domain, rdf:range) What I meant by constraint vs. inferring? concept FlightSeat hasPassenger ofType Human hasPart impliesType FlightSeatPart concept Childrenseat hasPassenger ofType Child

SRI, 08/12/ Concept Example concept Human nonFunctionalProperties dc#relation hasValue humanDefinition dc#description hasValue "concept of a human being“ endNonFunctionalProperties hasName ofType foaf#name hasParent inverseOf(hasChild) impliesType Human hasChild impliesType Human hasAncestor transitive impliesType Human hasWeight ofType (1) _float hasBirthdate ofType (1) _date hasObit ofType (0 1) _date hasBirthplace ofType (1) loc#location isMarriedTo symmetric impliesType (0 1) Human hasCitizenship ofType oo#country

SRI, 08/12/ Web Rule Language Syntax Basics WRL MIME type : – text/x-wrl (normative syntax), application/xml (XML syntax), application/rdf+xml (RDF syntax) Namespaces –The RDF mechanism is adopted: a namespace is part of an IRI Identifiers –Data values : direct support for some of the XML Schema datatypes (string, integer, decimal) Datatype wrappers –IRIs Can be abbreviated to sQNames(namespace prefix, the local part) different from the locators of a resource –Anonymous IDs numbered unnumbered Comments

SRI, 08/12/ Ontology Header wrlVariant _" namespace {_" dc _" foaf _" wrl _" loc _" } ontology _” nonFunctionalProperties dc#title hasValue ”WRL example ontology” endNonFunctionalProperties importsOntology { _”

SRI, 08/12/ Relations arbitrary arity may have typing associated with their parameters either the arity or the type of the parameters must be declared may be organized in a hierarchy (using subRelationOf) relation distance (ofType City, ofType City, impliesType _decimal) subRelationOf measurement or untyped: relation distance/3

SRI, 08/12/ Instances Are the objects in the domain May be members of one or more concepts May have a number of attribute values associated with them instance Mary memberOf {Parent, Woman} nfp dc#description hasValue "Mary is parent of the twins Paul and Susan" endnfp hasName hasValue "Maria Smith“ hasBirthdate hasValue _date(1949,9,12) hasChild hasValue {Paul, Susan}

SRI, 08/12/ Relation Instances Are tuples in a relation relationInstance distance(Innsbruck, Munich, 234)

SRI, 08/12/ Axioms Refine concept and relation definitions in Ontologies using logical expressions Add arbitrary knowledge and constraints Allowed logical expressions depend on WRL variant axiom humanDefinition definedBy ?x memberOf Human equivalent ?x memberOf Animal and ?x memberOf LegalAgent axiom humanBMIConstraint definedBy !- naf bodyMassIndex(?b, ?l, ?w) and ?x memberOf Human and ?x[length hasValue ?l, weight hasValue ?w, bmi hasValue ?b].

SRI, 08/12/ Logical expressions Allow to use the full expressive power of the underlying logic The syntax is inspired by First-Order Logic and F-Logic Specific extensions to capture Logic Programming constructs –Negation-as-failure –LP implication :- –Constraint symbol !- Variables: implicitly universally quantified outside the formula Language keywords resemble natural language and are unambiguous

SRI, 08/12/ Outline Introduction Syntax WRL Variants Semantics Exchange Syntaxes Why not SWRL? Related approaches Conclusions

SRI, 08/12/ WRL Variants WRL Core : interoperability layer between Description Logics and LP – the common part of OWL and WRL i.e. same ground entailment Similar to OWL we layer the rule language wrt. Expressiveness:

SRI, 08/12/ Conceptual Syntax restrictions in WRL Core Only impliesType allowed It is not allowed to specify the reflexive, transitive, symmetric and inverseOf features for attributes Cardinality constraints are not allowed Constraining attribute definitions can appear only for datatype ranges The arity of relations is restricted to two Constraining parameter definition can be done only for parameters with a datatype as a range Only the second parameter can have a datatype as range Remark: these restrictions are for the sake of compatibility with what can be expressed in DLP and OWL

SRI, 08/12/ WRL Variants WRL Core : interoperability layer between Description Logics and LP – the common part of OWL and WRL WRL Flight: based on the Datalog subset of F-Logic extended with locally stratified negation-as-failure, inequality and the unification operator under the Perfect Model Semantics

SRI, 08/12/ WRL Variants WRL Core : interoperability layer between Description Logics and LP – the common part of OWL and WRL WRL Flight: based on the Datalog subset of F-Logic extended with locally stratified negation-as-failure, inequality and the unification operator under the Perfect Model Semantics WRL Full: based on full Horn with negation-as-failure under the Well-Founded Semantics + function symbols.

SRI, 08/12/ WRL-Core Logical Expressions WRL Core only allows tree shaped rules (DLP), conjunction in the head, discjunction in the body allowed, as long as variable tree has no cycles and is connected. Limitations in logical expressions From Description Logic point-of-view, there is a lack of: –Existentials –Disjunction –(Classical) negation –Equality From Logic Programming point-of-view, there is a lack of: –N-ary predicates –Chaining variables over predicates –(Default) negation –Function symbols

SRI, 08/12/ WRL-Flight Logical Expressions Syntax based on Datalog fragment of F-Logic, extended with negation-as-failure (the need for LP implication), the inequality symbol and the unification operator Allows classical implication in the head of a rule Arbitrary Datalog rules: –N-ary predicates –Chaining variables over predicates From Description Logic point-of-view, there is a lack of: –Existentials –Disjunction –(Classical) negation –Equality From Logic Programming point-of-view, there is a lack of: –Function symbols

SRI, 08/12/ WRL-Full Logical Expressions Extends WRL-Flight logical expressions with: –Unsafe rules –Unstratified negation –Full Lloyd-Topor – arbitrary first-order formulas in the body of a rule From Description Logic point-of-view, there is a lack of: –Existentials –Disjunction –(Classical) negation –Equality

SRI, 08/12/ Outline Introduction WRL Variants Syntax Semantics Exchange Syntaxes Why not SWRL? Related approaches Conclusions

SRI, 08/12/ WRL Semantics (I) Mapping between the conceptual syntax for ontologies (the part that has a meaning in the logical language) and the logical expression syntax. (II) Mapping to existing logical formalisms WRL Core Semantics –Mapping to Horn Logic (or Horn fragment of F-Logic) –the Lloyd-Topor transformations are applied for obtaining the actual Datalog rules –First-order semantics

SRI, 08/12/ ?x memberOf Human equivalent ?x memberOf Animal and ?x memberOf LegalAgent  memberOf(?x,Human), memberOf(?x,Animal) and memberOf(?x,LegalAgent)  Lloyd-Topor: memberOf(?x,Human) ) memberOf(?x,Animal) memberOf(?x,Animal) and memberOf(?x,LegalAgent) ) memberOf(?x,Human)

SRI, 08/12/ WRL Semantics WRL – Flight Semantics –mapping to function-free F-Logic LP (extended with inequality and stratified default negation in the body of the rule) –Again full Lloyd-Topor transformations are applied for obtaining the actual Datalog rules –the perfect model semantics – every stratified program has a unique perfect model WRL – Full Semantics –mapping to full LP (i.e., which allows function symbols and unsafe rules) with inequality and unstratified negation. –Full Lloyd-Topor transformations are applied for obtaining the actual LP rules –Well-Founded Semantics

SRI, 08/12/ Outline Introduction Syntax WRL Variants Semantics Exchange Syntaxes Why not SWRL? Related approaches Conclusions

SRI, 08/12/ WRL Exchange Syntaxes XML Syntax –RuleML v0.89 – the main XML serialization language for the logical expression part –the human-readable syntax – the basis for the XML syntax for the conceptual part of WRL –for exchange over the Web and for interoperability with RuleML - enabled applications –translation between human-readable and XML syntax –It is expected that WRL, WSML, SWSL and RuleML will converge on XML Syntax RDF Syntax –the vocabulary used is an extension of the RDF Schema vocabulary –interoperability with RDF applications –translation between human-readable and RDF syntax –for logical expressions, XML literals are used

SRI, 08/12/ Outline Introduction Syntax WRL Variants Semantics Exchange Syntaxes Why not SWRL? Related approaches Conclusions

SRI, 08/12/ So, why not SWRL? –Extends OWL too much: is not a rule language in the LP sense but rather an expressive extension of OWL, unfortunately undecidable, not translatable to existing fast LP engines. –Restricts unnecessarily: SWRL only allow binary predicates What about relation to OWL? –WRL core directly translatable (based on DLP), semantic overlap: ground entailment of facts. –We added in Flight and Full: relaxation of meta-reasoning-restriction SWSL-Rules –SWSL also defines a very related rule language, we expect convergence in the W3C rules working group, but has more features, no conceptual syntax. WSML Language for WSMO, WRL is the basis for WSML logical expressions, extensions necessary (e.g. TR under discussion)

SRI, 08/12/ What's next? –Scoped negation instead of negation as failure? –Better integration with DL like syntax of OWL? –Layer other components of WSMO on top of that language and apply a similar layering of expressivity, e.g. for pre- /postconditions of services, etc. –Investigate extensions of F-Logic, combination with Transaction Logic, however we don't currently go the full path of SWSL to have all possible extensions at once.

SRI, 08/12/ Conclusions WRL is a language for modeling rules for use on the Semantic Web Derived from the ontology component of the Web Service Modeling Language (WSML) WRL is a Web language: – IRIs for object identification – XML datatypes WRL is based on well-known logical formalisms: – Description Logics – Logic Programming – Frame Logic Its syntax has two parts: –Conceptual modeling –Logical expressions XML and RDF syntaxes for exchange over the Web Used and promoted in most major projects of DERI: