Ontologies and Databases

Slides:



Advertisements
Similar presentations
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
Advertisements

Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
SOTIRIS BATSAKIS EURIPIDES G.M. PETRAKIS TECHNICAL UNIVERSITY OF CRETE INTELLIGENT SYSTEMS LABORATORY Imposing Restrictions Over Temporal Properties in.
Ontologies and Databases Ian Horrocks Information Systems Group Oxford University Computing Laboratory.
1 ISWC-2003 Sanibel Island, FL IMG, University of Manchester Jeff Z. Pan 1 and Ian Horrocks 1,2 {pan | 1 Information Management.
CH-4 Ontologies, Querying and Data Integration. Introduction to RDF(S) RDF stands for Resource Description Framework. RDF is a standard for describing.
OWL 2 The Next Generation Ian Horrocks Information Systems Group Oxford University Computing Laboratory.
An Introduction to Description Logics
Chronos: A Tool for Handling Temporal Ontologies in Protégé
An Introduction to RDF(S) and a Quick Tour of OWL
April 15, 2004SPIE1 Association in Level 2 Fusion Mieczyslaw M. Kokar Christopher J. Matheus Jerzy A. Letkowski Kenneth Baclawski Paul Kogut.
Based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 3: Additional.
SIG2: Ontology Language Standards WebOnt Briefing Ian Horrocks University of Manchester, UK.
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.
Ontologies and the Semantic Web by Ian Horrocks presented by Thomas Packer 1.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Ontology-Based Information Systems Ian Horrocks Information Systems Group Oxford University Computing Laboratory.
1 Relational Model. 2 Relational Database: Definitions  Relational database: a set of relations  Relation: made up of 2 parts: – Instance : a table,
How can Computer Science contribute to Research Publishing?
Modal logic and databases. Terms Object terms Concept terms ↓ t: object denoted by concept t in some context Type designations: o (object) and c (concept)
Semantic Web The Story So Far Ian Horrocks Oxford University Computing Laboratory.
From SHIQ and RDF to OWL: The Making of a Web Ontology Language
Semantic Web Ontologies (continued) Expressing, Querying, Building CS 431 – April 6, 2005 Carl Lagoze – Cornell University.
DLs and Ontology Languages. ’s OWL (like OIL & DAML+OIL) based on a DL –OWL DL effectively a “Web-friendly” syntax for SHOIN i.e., ALC extended with transitive.
A Brief Summary for Exam 1 Subject Topics Propositional Logic (sections 1.1, 1.2) –Propositions Statement, Truth value, Proposition, Propositional symbol,
An Introduction to Description Logics. What Are Description Logics? A family of logic based Knowledge Representation formalisms –Descendants of semantic.
Applying Belief Change to Ontology Evolution PhD Student Computer Science Department University of Crete Giorgos Flouris Research Assistant.
8/11/2011 Web Ontology Language (OWL) Máster Universitario en Inteligencia Artificial Mikel Egaña Aranguren 3205 Facultad de Informática Universidad Politécnica.
OWL 2 Web Ontology Language. Topics Introduction to OWL Usage of OWL Problems with OWL 1 Solutions from OWL 2.
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.
OWL 2 Web Ontology Language: New Features and Rationale Feroz Farazi
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
An Introduction to Description Logics (chapter 2 of DLHB)
Updating ABoxes in DL-Lite D. Calvanese, E. Kharlamov, W. Nutt, D. Zheleznyakov Free University of Bozen-Bolzano AMW 2010, May 2010.
Ontology-Based Computing Kenneth Baclawski Northeastern University and Jarg.
More on Description Logic(s) Frederick Maier. Note Added 10/27/03 So, there are a few errors that will be obvious to some: So, there are a few errors.
1 Artificial Intelligence Applications Institute Centre for Intelligent Systems and their Applications Stuart Aitken Artificial Intelligence Applications.
DAML+OIL: an Ontology Language for the Semantic Web.
A Logic of Partially Satisfied Constraints Nic Wilson Cork Constraint Computation Centre Computer Science, UCC.
OilEd An Introduction to OilEd Sean Bechhofer. Topics we will discuss Basic OilEd use –Defining Classes, Properties and Individuals in an Ontology –This.
Organization of the Lab Three meetings:  today: general introduction, first steps in Protégé OWL  November 19: second part of tutorial  December 3:
ONTOLOGY ENGINEERING Lab #3 – September 15,
272: Software Engineering Fall 2012 Instructor: Tevfik Bultan Lecture 9: Test Generation from Models.
Charting the Potential of Description Logic for the Generation of Referring Expression SELLC, Guangzhou, Dec Yuan Ren, Kees van Deemter and Jeff.
Web Ontology Language (OWL). OWL The W3C Web Ontology Language (OWL) is a Semantic Web language designed to represent rich and complex knowledge about.
BioHealth Informatics Group Copyright © 2005, The University of Manchester1 A Practical Introduction to Ontologies & OWL Additional Exercises: Common Errors.
Presented by Kyumars Sheykh Esmaili Description Logics for Data Bases (DLHB,Chapter 16) Semantic Web Seminar.
Ontology Technology applied to Catalogues Paul Kopp.
Ccs.  Ontologies are used to capture knowledge about some domain of interest. ◦ An ontology describes the concepts in the domain and also the relationships.
1 CS122A: Introduction to Data Management Lecture #4 (E-R  Relational Translation) Instructor: Chen Li.
1 Ontological Foundations For SysML Henson Graves September 2010.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
COP Introduction to Database Structures
ece 720 intelligent web: ontology and beyond
Rules, RIF and RuleML.
Where does one end and the other start?
Ontology.
ece 720 intelligent web: ontology and beyond
Logics for Data and Knowledge Representation
The Relational Model Textbook /7/2018.
A Brief Summary for Exam 1
Ontology.
Towards Semantically Grounded Decision Rules Using ORM+
Chen Li Information and Computer Science
Description Logics.
The kinship domain example from cs. manchester. ac
Presentation transcript:

Ontologies and Databases Ian Horrocks <ian.horrocks@comlab.ox.ac.uk> Information Systems Group Oxford University Computing Laboratory

What is an Ontology? A model of (some aspect of) the world Introduces vocabulary relevant to domain Often includes names for classes and relationships Specifies intended meaning of vocabulary Typically formalised using a suitable logic E.g., OWL formalised using SHOIQ description logic Consists of two parts Set of axioms describing structure of the model Set of facts describing some particular concrete situation

Axioms Describe the structure of the model, e.g.: Class: HogwartsStudent EquivalentTo: Student and attendsSchool value Hogwarts Class: HogwartsStudent SubClassOf: hasPet only (Owl or Cat or Toad) ObjectProperty: hasPet Inverses: isPetOf Class: Phoenix SubClassOf: isPetOf only Wizard

Facts Describe some particular concrete situation, e.g.: Individual: Hedwig Types: Owl Individual: HarryPotter Types: HowgwartsStudent Facts: hasPet Hedwig Individual: Fawkes Types: Phoenix Facts: isPetOf Dumbledore

Obvious Database Analogy Ontology axioms analogous to DB schema Schema describes structure of and constraints on data Ontology facts analogous to DB data Instantiates schema Consistent with schema constraints But there are also important differences…

Database -v- Ontology Database: Ontology: Closed world assumption (CWA) Missing information treated as false Unique name assumption (UNA) Each individual has a single, unique name Schema behaves as constraints on structure of data Define legal database states Ontology: Open world assumption (OWA) Missing information treated as unknown No UNA Individuals may have more than one name Ontology axioms behave like implications (inference rules) Entail implicit information

Database -v- Ontology E.g., given facts/data: Individual: HarryPotter Facts: hasFriend RonWeasley hasFriend HermioneGranger hasPet Hedwig Individual: Draco Malfoy Query: Is Draco Malfoy a friend of HarryPotter? DB: No Ontology: Don’t Know OWA (didn’t say Draco was not Harry’s friend)

Database -v- Ontology E.g., given facts/data: Individual: HarryPotter Facts: hasFriend RonWeasley hasFriend HermioneGranger hasPet Hedwig Individual: Draco Malfoy Query: How many friends does Harry Potter have? DB: 2 Ontology: at least 1 No UNA (Ron and Hermione may be 2 names for same person)

Database -v- Ontology  E.g., given facts/data: Individual: HarryPotter Facts: hasFriend RonWeasley hasFriend HermioneGranger hasPet Hedwig Individual: Draco Malfoy DifferentIndividuals: RonWeasley HermioneGranger Query: How many friends does Harry Potter have? DB: 2 Ontology: at least 2 OWA (Harry may have more friends we didn’t mention yet) 

Database -v- Ontology  E.g., given facts/data: Individual: HarryPotter Facts: hasFriend RonWeasley hasFriend HermioneGranger hasPet Hedwig Types: hasFriend only RonWeasley or HermioneGranger Individual: Draco Malfoy DifferentIndividuals: RonWeasley HermioneGranger Query: How many friends does Harry Potter have? DB: 2 Ontology: 2! 

Database -v- Ontology Insert new facts/data: Response from DBMS? Individual: Dumbledore Individual: Fawkes Types: Phoenix Facts: isPetOf Dumbledore Response from DBMS? Update rejected: constraint violation Range of hasPet is Human; Dumbledore is not Human (CWA) Response from Ontology reasoner? Infer that Dumbledore is Human (range restriction) Also infer that Dumbledore is a Wizard (only a Wizard can have a pheonix as a pet)

DB Query Answering Schema plays no role Data must explicitly satisfy schema constraints Query answering amounts to model checking I.e., a “look-up” against the data Can be very efficiently implemented Worst case complexity is low (logspace) w.r.t. size of data

Ontology Query Answering Ontology axioms play a powerful and crucial role Answer may include implicitly derived facts Can answer conceptual as well as extensional queries E.g., Can a Muggle have a Phoenix for a pet? Query answering amounts to theorem proving I.e., logical entailment May have very high worst case complexity E.g., for OWL, NP-hard w.r.t. size of data (upper bound is an open problem) Implementations may still behave well in typical cases

Ontology Based Information Systems Analogous to relational database management systems Ontology ¼ schema; instances ¼ data Some important (dis)advantages (Relatively) easy to maintain and update schema Schema plus data are integrated in a logical theory Query answers reflect both schema and data Can deal with incomplete information Able to answer both intensional and extensional queries Semantics may be counter-intuitive or even inappropriate Open -v- closed world; axioms -v- constraints Query answering (logical entailment) much more difficult Can lead to scalability problems

Ontology Based Information Systems Similar to relational databases Ontology ¼ schema; instances ¼ data Some important (dis)advantages (Relatively) easy to maintain and update schema Both schema and data are “self organising” Query answers reflect both schema and data Able to answer both intensional and extensional queries Semantics may be counter-intuitive or even inappropriate Open -v- closed world; axioms -v- constraints Query answering (logical entailment) much more difficult Can lead to scalability problems Very powerful, but not miraculous!

Best of Both Worlds? W3C OWL working group is developing OWL 2 OWL 2 is an update to OWL adding many useful features Increased expressive power, e.g., w.r.t. properties Extended support for datatypes and values Database style keys Rich annotations OWL 2 also defines several profiles Profile is a language subset with Useful computational properties Useful implementation possibilities

Best of Both Worlds? EL++ profile Maximal language for which reasoning (including query answering) known to be worst-case polynomial Captures expressive power used by many large-scale ontologies Features include existential restrictions, intersection, subClass, equivalentClass, class disjointness, range and domain, transitive properties, … Missing features include value restrictions, Cardinality restrictions (min, max and exact), disjunction and negation

Best of Both Worlds? DL-Lite profile (not to be confused with OWL Lite!) Maximal language for which reasoning (including query answering) is known to be worst case logspace (same as DB) Captures (most of) expressive power of ER/UML schemas Features include limited form of existential restrictions, subClass, equivalentClass, disjointness, range and domain, symmetric properties, … Query answering can be implemented using query rewriting Resulting SQL query/queries capture all information from axioms Can use query/queries with standard DBMS and relational data

Best of Both Worlds? OWL-R profile Allows for scalable (polynomial) reasoning using rule-based technologies Includes support for most OWL features But standard semantics only apply when they are used in a restricted way Related to DLP and pD* Can be implemented on top of rule extended DBMS E.g., Oracle’s OWL Prime implemented using forward chaining rules in Oracle 11g

Summary Ontologies consist of sets of axioms and facts Analogous to DB: axioms ¼ schema; facts ¼ data Important differences in semantics DB: UNA, CWA and constraints Ontology: OWA and implications Ontologies are very powerful, but there are costs Can be scalability problems OWL 2 provides choice of several profiles Tractable reasoning (logspace or polynomial) Different features and implementation pathways

Thank you for listening Any questions?