Semantic Web OWL. Acknowledgements to Pascal Hitzler, York Sure. Steffen Staab ISWeb Lecture Semantic Web (1)



Similar documents
! " # The Logic of Descriptions. Logics for Data and Knowledge Representation. Terminology. Overview. Three Basic Features. Some History on DLs

Defining a benchmark suite for evaluating the import of OWL Lite ontologies

Chapter 2 AN INTRODUCTION TO THE OWL WEB ONTOLOGY LANGUAGE 1. INTRODUCTION. Jeff Heflin Lehigh University

Ontological Modeling: Part 6

Data Validation with OWL Integrity Constraints

Ampersand and the Semantic Web

Tableau Algorithms for Description Logics

Completing Description Logic Knowledge Bases using Formal Concept Analysis

National Technical University of Athens. Optimizing Query Answering over Expressive Ontological Knowledge

Information Technology for KM

Geospatial Information with Description Logics, OWL, and Rules

An Example OWL Ontology

The Semantic Web Rule Language. Martin O Connor Stanford Center for Biomedical Informatics Research, Stanford University

Chapter 17 Using OWL in Data Integration

OilEd: a Reason-able Ontology Editor for the Semantic Web

Models of Meaning and Models of Use: Binding Terminology to the EHR An Approach using OWL

Robust Module-based Data Management

EXPRESSIVE REASONING ABOUT CULTURAL HERITAGE KNOWLEDGE USING WEB ONTOLOGIES

Semantic Technologies for Data Integration using OWL2 QL

A Multi-ontology Synthetic Benchmark for the Semantic Web

Formalization of the CRM: Initial Thoughts

Logic and Reasoning in the Semantic Web (part I RDF/RDFS)

Optimizing Description Logic Subsumption

THE DESCRIPTION LOGIC HANDBOOK: Theory, implementation, and applications

Getting Started Guide

Rules, RIF and RuleML

Aikaterini Marazopoulou

A Semantic Dissimilarity Measure for Concept Descriptions in Ontological Knowledge Bases

SNOMED-CT

Comparison of Reasoners for large Ontologies in the OWL 2 EL Profile

Pellet: A Practical OWL-DL Reasoner

Supporting Rule System Interoperability on the Semantic Web with SWRL

Detecting Inconsistencies in Requirements Engineering

The Semantic Web for Application Developers. Oracle New England Development Center Zhe Wu, Ph.D. 1

Applying OWL to Build Ontology for Customer Knowledge Management

Embedding an ontology in form fields on the web

University of Ostrava. Reasoning in Description Logic with Semantic Tableau Binary Trees

Sydney OWL Syntax - towards a Controlled Natural Language Syntax for OWL 1.1

Peculiarities of semantic web-services cloud runtime

Learning Description Logic Knowledge Bases from Data Using Methods from Formal Concept Analysis

Dynamic Taxonomies for the Semantic Web

Knowledge Representation for the Semantic Web

SPARQL: Un Lenguaje de Consulta para la Web

Formalizing the CRM. Carlo Meghini and Martin Doerr

Semantic Interoperability

XML Data Integration

Quality of Service Requirements Specification Using an Ontology

The Complexity of Description Logics with Concrete Domains

Use of OWL and SWRL for Semantic Relational Database Translation

A Description Logic Primer

Developing rule-based applications for the Web: Methodologies and Tools

The Protégé OWL Plugin: An Open Development Environment for Semantic Web Applications

Lecture 13 of 41. More Propositional and Predicate Logic

CLIPS-OWL: A Framework for Providing Object-Oriented Extensional Ontology Queries in A Production Rule Engine

A Review and Comparison of Rule Languages and Rule-based Inference Engines for the Semantic Web

Information, Organization, and Management

Semantic Variability Modeling for Multi-staged Service Composition

Ontology quality and fitness: A survey of so6ware support

ONTOLOGY REASONING WITH LARGE DATA REPOSITORIES

An Active Domain Node Architecture for the Semantic Web

RDF Resource Description Framework

Reasoning Paradigms for SWRL-enabled Ontologies

The Foundational Model of Anatomy in OWL: experience and perspectives

Incremental Query Answering for Implementing Document Retrieval Services

Transformation of OWL Ontology Sources into Data Warehouse

CSC 742 Database Management Systems

Combining RDF and Agent-Based Architectures for Semantic Interoperability in Digital Libraries

Matching Semantic Service Descriptions with Local Closed-World Reasoning

powl Features and Usage Overview

How to reason with OWL in a logic programming system

REPRESENTATION AND CERTIFICATION

Lightweight Semantic Web Oriented Reasoning in Prolog: Tableaux Inference for Description Logics. Thomas Herchenröder

Chapter 8 The Enhanced Entity- Relationship (EER) Model

An Ontology-based e-learning System for Network Security

CWI/CTIF seminar Oct2011. Integrating context- and content-aware mobile services into the cloud

Normalization of relations and ontologies

Semantic Modeling with RDF. DBTech ExtWorkshop on Database Modeling and Semantic Modeling Lili Aunimo

Application of ontologies for the integration of network monitoring platforms

Characterizing Knowledge on the Semantic Web with Watson

A Proposal for a Description Logic Interface

Exploring Incremental Reasoning Approaches Based on Module Extraction

Data Integration: A Theoretical Perspective

Comparing SNePS with Topbraid/Pellet SNeRG Technical Note 42

RDF y SPARQL: Dos componentes básicos para la Web de datos

Evaluation experiment for the editor of the WebODE ontology workbench

JOURNAL OF COMPUTER SCIENCE AND ENGINEERING

OWL Ontology Translation for the Semantic Web

AN IMPLEMENTATION OF THE CIDOC CONCEPTUAL REFERENCE MODEL (4.2.4) IN OWL-DL

A Framework and Architecture for Quality Assessment in Data Integration

Combining OWL with RCC for Spatioterminological Reasoning on Environmental Data

Reusable Knowledge-based Components for Building Software. Applications: A Knowledge Modelling Approach

A Semantic Web Knowledge Base System that Supports Large Scale Data Integration

UNIVERSIDAD DE LAS AMÉRICAS PUEBLA ESCUELA DE INGENIERÍA. Departamento de Ingeniería en Sistemas Computacionales

A Tutorial on Data Integration

Semantics and Ontology of Logistic Cloud Services*

CHAPTER 7 GENERAL PROOF SYSTEMS

Data Quality in Ontology-Based Data Access: The Case of Consistency

Designing a Semantic Repository

A terminology model approach for defining and managing statistical metadata

Big Data, Fast Data, Complex Data. Jans Aasman Franz Inc

Transcription:

Semantic Web OWL Acknowledgements to Pascal Hitzler, York Sure ISWeb Lecture Semantic Web (1)

OWL General W3C Recommendation since 2004 Semantic fragment of FOL Three variants: OWL Lite OWL DL OWL Full No reification in OWL DL RDFS is fragment of OWL Full OWL DL is decidable OWL DL = SHOIN(D) (description logics) W3C-Documents contain many more details that we cannot talk about here ISWeb Lecture Semantic Web (2)

Content OWL Syntax and model theoretic semantics a. Description logics: SHOIN(D) b. OWL as SHOIN(D) c. Serializations d. Knowledge modelling in OWL ISWeb Lecture Semantic Web (3)

Description Logics (Terminological Logics, DLs) Fragments of FOL Most often decidable Moderately expressive Stem from semantic networks Close relationship to propositional modal logics W3C Standard OWL DL corresponds to SHOIN(D) ISWeb Lecture Semantic Web (4)

General DL Architecture Knowledge Base Tbox (schema) Man Human u Male Happy-Father Man u has-child.female u Abox (data) Happy-Father(John) has-child(john, Mary) Inference System Interface ISWeb Lecture Semantic Web (5)

DLs general structure DLs are a Family of logic-based formalism for knowledge representation Special language characterized by: Constructors to define complex concepts and roles based on simpler ones. Set of axiom to express facts using concepts, roles and individuals. ALC is the smallest DL, which is propositionally closed:,, are constructors, noted by u, t,. Quantors define how roles are to be interpreted: Man u haschild.female u haschild.male u haschild.(rich t Happy) ISWeb Lecture Semantic Web (6)

Further DL concepts and role constructors Number restrictions (cardinality constraints) for roles: 3 haschild, 1hasMother Qualified number restrictions: 2 haschild.female, 1 hasparent.male Nominals (definition by extension): {Italy, France, Spain} Concrete domains (datatypes): hasage.( 21) Inverse roles: haschild hasparent Transitive roles: hasancestor* (descendant) Role composition: hasparent.hasbrother (uncle) ISWeb Lecture Semantic Web (7)

DL Knowledge Bases DL Knowledge Bases consist of two parts (in general): TBox: Axioms, describing the structure of a modelled domain (conceptual schema): HappyFather Man u haschild.female u Elephant v Animal u Large u Grey transitive(hasancestor) Abox: Axiome describing concrete situations (data, facts): HappyFather(John) haschild(john, Mary) The distinction between TBox/ABox does not have a deep logical distinction but it is common useful modelling practice. ISWeb Lecture Semantic Web (8)

ALC Q (N) O I And Syntax for DLs (ohne concrete domains) Concepts Atomic Not Or Exists For all At least At most Nominal Roles Atomic Inverse A, B C C u D C t D R.C R.C n R.C ( n R) n R.C ( n R) {i 1,,i n } R R - Ontology (=Knowledge Base) H S Concept Axioms (TBox) Subclass Equivalent Role Axioms (RBox) ISWeb Lecture Semantic Web (9) C v D C D Subrole R v S Transitivity Trans(S ) Assertional Axioms (ABox) Instance Role Same Different C(a) R(a,b) a = b a b S = ALC + Transitivity OWL DL = SHOIN(D) (D: concrete domain)

Content OWL Syntax and model theoretic semantics a. Description logics: SHOIN(D) b. OWL as SHOIN(D) c. Serializations d. Knowledge modelling in OWL ISWeb Lecture Semantic Web (10)

OWL DL as DL: Class constructors Nesting of expression is allowed at arbitrary depth: Person u haschild.(doctor t haschild.doctor) ISWeb Lecture Semantic Web (11)

OWL DL as DL: Axioms General Class Inclusion (v): C D gdw ( C v D und D v C ) Obvious equivalances with FOL: C D ( x) ( C(x) D(x) ) C v D ( x) ( C(x) D(x) ) ISWeb Lecture Semantic Web (12)

OWL/DL Example Terminological Knowledge (TBox): Human v parentof.human Orphan Human u childof.alive Knowledge about Individuals (ABox): Orphan(harrypotter) ParentOf(jamespotter,harrypotter) Semantics and logical consequences may be derived by translation to FOL ISWeb Lecture Semantic Web (13)

Model theoretical Semantics direct Concept expressions Ontology (=Knowledge Base) A C C u D C t D R.C R.C nr.c nr.c {i 1,,i n } Subset of M I M I \ C I {x x C I and x D I } {x x C I or x D I } {x (x,y) R I and y C I } {x if (x,y) R I then y C I } {x #{(x,y) R I and y C I } n} {x #{(x,y) R I and y C I } n} {i 1I,,i ni } Concept Axioms (TBox) C v D C D C I C I Role Axioms (rarely: RBox) R v S D I D I Assertional Axioms (ABox) C(a) a I R I C I S I Role expressions R R - Subset of x {(y,x) (x,y) R I } R(a,b) a = b a b (a I,b I ) R I a I a I = b I b I ISWeb Lecture Semantic Web (14)

Concrete Domains Strings and Integers (required by W3C OWL rec) Further datatypes may be supported. Restricted to decidable predicates over the concrete domain Each concrete domain must be implemented separately and then included into the reasoner (weak analogy: built-ins but no procedural semantics!) ISWeb Lecture Semantic Web (15)

OWL Lite Simple fragment, comparatively low complexity Some constructors may not be used: owl:unionof owl:complementof owl:oneof owl:hasvalue owl:disjointwith The applicability of some operators is restricted: owl:intersectionof owl:mincardinality owl:maxcardinality owl:cardinality ISWeb Lecture Semantic Web (16)

OWL Full equals OWL DL union RDFS RDF is contained in OWL Full, not in OWL DL Intuition: OWL Full allows reification. OWL Full is no nice fragment of FOL OWL Full ist not decidable ISWeb Lecture Semantic Web (17)

Reification Example Sometimes one might state a proposition about a class name: Class: father. (concrete) Rolls: germanclassname(father, Vater ) frenchclassname(father, père ) englishclassname(father, father ) Cannot be expressed in OWL DL! ISWeb Lecture Semantic Web (18)

Complexity (worst-case) OWL variant OWL Full OWL DL OWL DL without nominals OWL Lite Datenkomplexität undecidable not known NP (neues Resultat IJCAI 2005!) NP Combined complexity undecidable NExptime Exptime Exptime Data complexity: assume fixed T-Box, complexit wrt size of ABox Combined complexity: wrt combined size of ABox and TBox ISWeb Lecture Semantic Web (19)

Content OWL Syntax and model theoretic semantics a. Description logics: SHOIN(D) b. OWL as SHOIN(D) c. Serializations d. Knowledge modelling in OWL ISWeb Lecture Semantic Web (20)

Serializations/different Syntaxex OWL RDF Syntax W3C recommendation OWL Abstract Syntax W3C recommendation See next section OWL XML Syntax W3C document DL Schreibweise widely used in scientific contexts FOL Schreibweise uncommon For the implementation and the testing of KAON2 a functional syntax has been developed Lisp-like ISWeb Lecture Semantic Web (21)

Example: RDF Syntax Person u haschild.(doctor t haschild.doctor): <owl:class> <owl:intersectionof rdf:parsetype="collection"> <owl:class rdf:about="#person"/> <owl:restriction> <owl:onproperty rdf:resource="#haschild"/> <owl:allvaluesfrom> <owl:unionof rdf:parsetype="collection"> <owl:class rdf:about="#doctor"/> <owl:restriction> <owl:onproperty rdf:resource="#haschild"/> <owl:somevaluesfrom rdf:resource="#doctor"/> </owl:restriction> </owl:unionof> </owl:allvaluesfrom> </owl:restriction> </owl:intersectionof> </owl:class> ISWeb Lecture Semantic Web (22)

Content OWL Syntax and model theoretic semantics a. Description logics: SHOIN(D) b. OWL as SHOIN(D) c. Serializations d. Knowledge modelling in OWL ISWeb Lecture Semantic Web (23)

Knowledge modelling in OWL Example ontology and conclusion from http://owl.man.ac.uk/2003/why/latest/#2 Also an example for OWL Abstract Syntax. Namespace(a = <http://cohse.semanticweb.org/ontologies/people#>) Ontology( ObjectProperty(a:drives) ObjectProperty(a:eaten_by) ObjectProperty(a:eats inverseof(a:eaten_by) domain(a:animal)) Class(a:adult partial annotation(rdfs:comment "Things that are adult.") Class(a:animal partial restriction(a:eats somevaluesfrom (owl:thing))) Class(a:animal_lover complete intersectionof(restriction(a:has_pet mincardinality(3)) a:person)) ) ISWeb Lecture Semantic Web (24)

Knowledge modelling: examples Class(a:bus_driver complete intersectionof(a:person restriction(a:drives somevaluesfrom (a:bus)))) bus_driver person u drives.bus Class(a:driver complete intersectionof(a:person restriction(a:drives somevaluesfrom (a:vehicle)))) driver person u drives.vehicle Class(a:bus partial a:vehicle) bus v vehicle A bus driver is a person that drives a bus. A bus is a vehicle. A bus driver drives a vehicle, so must be a driver. The subclass is inferred due to subclasses being used in existential quantification. ISWeb Lecture Semantic Web (25)

Knowledge modelling: examples Class(a:driver complete intersectionof(a:person restriction(a:drives somevaluesfrom (a:vehicle)))) driver person u drives.vehicle Class(a:driver partial a:adult) driver v adult Class(a:grownup complete intersectionof(a:adult a:person)) grownup adult u person Drivers are defined as persons that drive cars (complete definition) We also know that drivers are adults (partial definition) So all drivers must be adult persons (e.g. grownups) An example of axioms being used to assert additional necessary information about a class. We do not need to know that a driver is an adult in order to recognize one, but once we have recognized a driver, we know that they must be adult. ISWeb Lecture Semantic Web (26)

partof.animal t animal / plant t partof.plant Knowledge modelling: Examples Class(a:cow partial a:vegetarian) DisjointClasses(unionOf(restriction(a:part_of somevaluesfrom (a:animal)) a:animal) unionof(a:plant restriction(a:part_of somevaluesfrom (a:plant)))) Class(a:vegetarian complete intersectionof( restriction(a:eats allvaluesfrom (complementof(restriction(a:part_of somevaluesfrom (a:animal))))) restriction(a:eats allvaluesfrom (complementof(a:animal))) a:animal)) Class(a:mad_cow complete intersectionof(a:cow restriction(a:eats somevaluesfrom (intersectionof(restriction(a:part_of somevaluesfrom (a:sheep)) a:brain))))) Class(a:sheep partial a:animal restriction(a:eats allvaluesfrom (a:grass))) Cows are naturally vegetarians A mad cow is one that has been eating sheeps brains Sheep are animals Thus a mad cow has been eating part of an animal, which is inconsistent with the definition of a vegetarian ISWeb Lecture Semantic Web (27)

Knowledge modelling: Example Individual(a:Walt type(a:person) value(a:has_pet a:huey) value(a:has_pet a:louie) value(a:has_pet a:dewey)) Individual(a:Huey type(a:duck)) Individual(a:Dewey type(a:duck)) Individual(a:Louie type(a:duck)) DifferentIndividuals(a:Huey a:dewey a:louie) Class(a:animal_lover complete intersectionof(a:person restriction(a:has_pet mincardinality(3)))) ObjectProperty(a:has_pet domain(a:person) range(a:animal)) Walt has pets Huey, Dewey and Louie. Huey, Dewey and Louie are all distinct individuals. Walt has at least three pets and is thus an animal lover. Note that in this case, we don t actually need to include person in the definition of animal lover (as the domain restriction will allow us to draw this inference). ISWeb Lecture Semantic Web (28)

Knowledge modelling: OWA vs. CWA OWA: Open World Assumption The existence of further individuals is possible if it is not explicitly excluded. OWL uses OWA! CWA: Closed World Assumption One assumes that the knowledge base contains all known individuals and all known facts. child(bill,bob) Man(Bob) Are all children of Bill male?? ² child.man(bill) No idea, since we do not know all children of Bill. DL answers don t t know If we assume that we know everything about Bill, then all of his children are male. Prolog yes 1 child.t(bill)? ² child.man(bill) yes Now we know everything about Bill s children. ISWeb Lecture Semantic Web (29)

Knowledge modelling: Domain and Range ObjectProperty(xyz:has_topping domain(xyz:pizza) >v has_topping.pizza range(xyz:pizza_topping)) >v has_topping.pizza_topping Class(xyz:Ice_cream_cone partial restriction(xyz:has_topping somevaluesfrom (xyz:ice_cream))) Ice_cream_cone v has_topping.ice_cream If Ice_cream_cone and Pizza not disjunct: Ice_cream_cone is classified as Pizza but: Ice_cream is not classified as Pizza_topping Consequences: all Ice_cream_cones are Pizzas, and some Ice_cream is a Pizza_topping ISWeb Lecture Semantic Web (30)

Knowledge modelling: Some Research Challenges Concluding with uncertainty (fuzzy, probabilistic) Inkonsistencies (paraconsistent) Rules Further AI-Paradigms (nonmonotonic reasoning, preferences ) Maintenance (updates, infrastructure, etc) Scalability of reasoning ISWeb Lecture Semantic Web (31)