Semantic Web Andrejs Lesovskis. Semantic Web layers.

Slides:



Advertisements
Similar presentations
Semantic Interoperability & Semantic Models: Introduction
Advertisements

Dr. Alexandra I. Cristea OWL Dr. Alexandra I. Cristea
Ontologies and Databases Ian Horrocks Information Systems Group Oxford University Computing Laboratory.
Chronos: A Tool for Handling Temporal Ontologies in Protégé
ΑΝΑΠΑΡΑΣΤΑΣΗ ΓΝΩΣΗΣ ΣΤΟΝ ΠΑΓΚΟΣΜΙΟ ΙΣΤΟ OWL
Based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 3: Additional.
Tutorial Le Phuoc Son Hoang Huu Hanh Hue University.
Presented by Amr Ali AL-Hossary (M.B.,B.Ch)
Of 27 lecture 7: owl - introduction. of 27 ece 627, winter ‘132 OWL a glimpse OWL – Web Ontology Language describes classes, properties and relations.
OWL TUTORIAL APT CSA 3003 OWL ANNOTATOR Charlie Abela CSAI Department.
1 Ontologies in Semantic Web Based on tutorials and presentations: D. Lee, F. Harmelen, M. Arumugam, C. Goble, I. Horrocks, N. F. Noy, D.L. McGuinness,
Basics of Knowledge Management ICOM5047 – Design Project in Computer Engineering ECE Department J. Fernando Vega Riveros, Ph.D.
Protégé Classes, Properties and Instances Susana R. de Novoa UNIK4710.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
Dr. Alexandra I. Cristea CS 253: Topics in Database Systems: C5.
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.
GloServ: Global Service Discovery Architecture Knarig Arabshian and Henning Schulzrinne IRT internal talk April 26, 2005.
Dr. Alexandra I. Cristea OWL.
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.
Editing Description Logic Ontologies with the Protege OWL Plugin.
Business Domain Modelling Principles Theory and Practice HYPERCUBE Ltd 7 CURTAIN RD, LONDON EC2A 3LT Mike Bennett, Hypercube Ltd.
An OWL based schema for personal data protection policies Giles Hogben Joint Research Centre, European Commission.
BiodiversityWorld GRID Workshop NeSC, Edinburgh – 30 June and 1 July 2005 Metadata Agents and Semantic Mediation Mikhaila Burgess Cardiff University.
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.
Protege OWL Plugin Short Tutorial. OWL Usage The world wide web is a natural application area of ontologies, because ontologies could be used to describe.
1 Building Ontologies from the Ground Up When users set out to model their professional activity Mark A. Musen Professor of Medicine and Computer Science.
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.
1 Representing Data with XML September 27, 2005 Shawn Henry with slides from Neal Arthorne.
OWL and SDD Dave Thau University of Kansas
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.
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.
Earth System Grid – Pouchard Ontologies and The Earth System Grid Line Pouchard (ORNL) PI’s: Ian Foster (ANL); Don Middleton (NCAR); and Dean Williams.
A view-based approach for semantic service descriptions Carsten Jacob, Heiko Pfeffer, Stephan Steglich, Li Yan, and Ma Qifeng
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.
Tools & Frameworks for the Semantic Web Semantic Web - Fall 2005 Computer Engineering Department Sharif University of Technology.
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
BioHealth Informatics Group A Practical Introduction to Ontologies & OWL Session 2: Defined Classes and Additional Modelling Constructs in OWL Nick Drummond.
Umi Laili Yuhana December, Context Aware Group - Intelligent Agent Laboratory Computer Science and Information Engineering National Taiwan University.
Modulo3 Protegè Tutorial UNIVERSITA’ DI CAMERINO Corso di laurea in Informatica (classe 23/S) Barbara Re Anno Accademico
Coastal Atlas Interoperability - Ontologies (Advanced topics that we did not get to in detail) Luis Bermudez Stephanie Watson Marine Metadata Interoperability.
Based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 2: Defined.
© O. Corcho, MC Suárez de Figueroa Baonza 1 OWL and SWRL Protégé 4: Building an OWL Ontology Mari Carmen Suárez-Figueroa, Oscar Corcho {mcsuarez,
Artificial Intelligence 2004 Ontology
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:
Tools & Frameworks for the Semantic Web Semantic Web - Fall 2005 Computer Engineering Department Sharif University of Technology.
Dr. Alexandra I. Cristea OWL.
OWL & Protege Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.
OWL Web Ontology Language Overview. The OWL Web Ontology Language is designed for use by applications that need to process the content of information.
Practical RDF Chapter 12. Ontologies: RDF Business Models Shelley Powers, O’Reilly SNU IDB Lab. Taikyoung Kim.
ONTOLOGY ENGINEERING Lab #3 – September 15,
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12 RDF, OWL, Minimax.
1 Dr Alexiei Dingli Introduction to Web Science Modelling Knowledge.
Motivation Dynamically identify and understand information sources Provide interoperability between agents in a semantic manner Enable distributed extensible.
Ontology Engineering Lab #4 - September 23, 2013.
WonderWeb. Ontology Infrastructure for the Semantic Web. IST Project Review Meeting, 11 th March, WP2: Tools Raphael Volz Universität.
W3C’s (world wide web consortium) Semantic Web: - RDF and metadata markup efforts to represent data in a machine understandable form. DARPA started the.
Enable Semantic Interoperability for Decision Support and Risk Management Presented by Dr. David Li Key Contributors: Dr. Ruixin Yang and Dr. John Qu.
Description Logics BMI 210/CS 270 2/8/2011 and 2/10/2011 Nigam Shah Center for Biomedical Informatics Research.
Ontology 101 PHIN Ontology Workshop August Ontology 101 Agenda What is (an) Ontology? What do we mean when we use the word? The main types of Ontologies.
OWL (Ontology Web Language and Applications) Maw-Sheng Horng Department of Mathematics and Information Education National Taipei University of Education.
Editing OWL Ontologies with Protégé
Stanford Medical Informatics
Ontologies.
ece 720 intelligent web: ontology and beyond
Session 1: Primitive Classes Nick Drummond
Presentation transcript:

Semantic Web Andrejs Lesovskis

Semantic Web layers

Ontology spectrum (1) Weak semantics Strong semantics Is Disjoint Subclass of with transitivity property Modal Logic Logical theory Thesaurus Has narrower meaning than Taxonomy Is sublassification of Conceptual model Is subclass of DB Schemas, XML Schema UML First Order Logic Relational Model, XML ER Extended ER Description Logic DAML+OIL, OWL RDF/S XTM Syntactic Interoperability Structural Interoperability Semantic Interoperability From less to more expressive

Ontology spectrum (2) Weak semantics Strong semantics Is Disjoint Subclass of with transitivity property Modal Logic Logical theory Thesaurus Has narrower meaning than Taxonomy Is sublassification of Conceptual model Is subclass of DB Schemas, XML Schema UML First Order Logic Relational Model, XML ER Extended ER Description Logic DAML+OIL, OWL RDF/S XTM Syntactic Interoperability Structural Interoperability Semantic Interoperability From less to more expressive Problem: Very General Semantic Expressivity: Very High Problem: Local Semantic Expressivity: Low Problem: General Semantic Expressivity: Medium Problem: General Semantic Expressivity: High

Open and Closed World Assumptions The Closed World Assumption (CWA) is the assumption that what is not known to be true must be false. Imagine, we have the following statement "Peteris is a citizen of Latvia." and we are asked "Is Peteris a citizen of Lithuania? ", under the CWA, the answer is no.

Open and Closed World Assumptions The Open World Assumption (OWA) is the opposite. In other words, it is the assumption that what is not known to be true is simply unknown. Under the OWA, the answer to the question about Peteris is "I don’t know". The Web is a system with incomplete information. Absence of information on the Web means that the information has not been made explicit. Therefore, Semantic Web uses the Open World Assumption.

Protégé OWL Plugin Extension of Protégé for handling OWL ontologies. Project started in April Features: Loading and saving OWL files and databases; Graphical editors for class expressions; Access to description logics reasoners; Powerful platform for hooking in custom- tailored components.

OWL Plugin Architecture Protégé API (Classes, properties, individuals, etc.) Protégé GUI (Tabs, Widgets, Menus) DB Storage Protégé Core System Protégé OWL API (Logical class definitions, restrictions, etc.) Protégé OWL GUI (Expression Editor, Conditions Widget, etc.) OWL File Storage Jena API (Parsing, Reasoning) OWL Plugin OWL Extension APIs (SWRL, OWL-S, etc.) OWL GUI Plugins (SWRL Editors, ezOWL, OWLViz, Wizards, etc.)

Tutorial Scenario Semantic Web for Tourism/Traveling domain Goal: Find matching holiday destinations for a customer I am looking for a comfortable destination with beach access Tourism Web

Scenario description A search problem: Match customer’s expectations with potential destinations Required: Web Service that exploits formal information about the available destinations: Accomodation (Hotels, B&B, Camping,...), Activities (Sightseeing, Sports,...), etc.

Semantic Web for tourism domain Open World: New hotels are being added, New activities are offered. Providers publish their services dynamically. Standard format / grounding is needed → Tourism Ontology.

Tourism Semantic Web OWL Metadata (Individuals) Tourism Ontology Web Services Destination AccomodationActivity OWL Metadata (Individuals) OWL Metadata (Individuals) OWL Metadata (Individuals)

Individuals Represent objects in the domain. Specific things. Two names (synonyms) could represent the same “real-world” individual. SydneysOlympicBeach BondiBeach Sydney

ObjectProperties Link two individuals together using particular relationships (0..n, n..m). Sydney BondiBeach hasPart FourSeasons hasAccomodation

Inverse Properties Represent bidirectional relationships. Adding a value to one property also adds a value to the inverse property. Sydney BondiBeach hasPart isPartOf

DatatypeProperties Link individuals to primitive values (integers, floats, strings, booleans, etc). Often: AnnotationProperties without formal “meaning”. Sydney hasSize = 4,500,000 isCapital = true rdfs:comment = “Don’t miss the opera house”

Classes Sets of individuals with common characteristics. Individuals are instances of at least one class (OWL supports multiple inheritance). City Sydney Beach Cairns BondiBeach CurrawongBeach

Range and Domain Property characteristics Domain: “left side of relation” (Destination); Range: “right side” (Accomodation). Sydney BestWestern FourSeasons hasAccomodation Destination Accomodation hasAccomodation

Domains Individuals can only take values of properties that have matching domain: “Only Destinations can have Accomodations”. Domain can contain multiple classes. Domain can be undefined: Property can be used everywhere.

Superclass Relationships Classes can be organized in a hierarchy. Direct instances of subclass are also (indirect) instances of superclasses. Cairns Sydney Canberra Coonabarabran

Class Relationships Classes can overlap arbitrarily. City Sydney Cairns BondiBeach RetireeDestination

Class Disjointness All classes could potentially overlap. In many cases we want to make sure they don’t share instances. Sydney UrbanAreaRuralArea Sydney Woomera CapeYork disjointWith City Destination

(Create a new OWL project)

(Create simple classes)

(Create class hierarchy and set disjoints)

(Create Contact class with datatype properties)

(Edit details of datatype properties)

(Create an object property hasContact)

(Create an object property with inverse)

(Create the remaining classes and properties)

Class Descriptions Classes can be described by their logical characteristics. Descriptions are “anonymous classes”. Things with three star accomodation Things with sightseeing opportunities RetireeDestination Sydney SanJose BlueMountains

Class Descriptions Define the “meaning” of classes. Anonymous class expressions are used: “All national parks have campgrounds.”, “A backpackers destination is a destination that has budget accomodation and offers sports or adventure activities.” Expressions mostly restrict property values (OWL Restrictions).

Class Descriptions: Why? Based on OWL’s Description Logic support. Formalize intentions and modeling decisions (comparable to test cases). Make sure that individuals fulfill conditions. Tool-supported reasoning.

Reasoning with Classes Tool support for three types of reasoning exists: Consistency checking: Can a class have any instances? Classification: Is A a subclass of B? Instance classification: Which classes does an individual belong to?

Restrictions (Overview) Define a condition for property values allValuesFrom someValuesFrom hasValue minCardinality maxCardinality cardinality An anonymous class consisting of all individuals that fulfill the condition

Cardinality Restrictions Meaning: The property must have at least/at most/exactly x values is the shortcut for and Example: A FamilyDestination is a Destination that has at least one Accomodation and at least 2 Activities

allValuesFrom Restrictions Meaning: All values of the property must be of a certain type. Warning: Also individuals with no values fulfill this condition (trivial satisfaction). Example: Hiking is a Sport that is only possible in NationalParks.

someValuesFrom Restrictions Meaning: At least one value of the property must be of a certain type. Others may exist as well. Example: A NationalPark is a RuralArea that has at least one Campground and offers at least one Hiking opportunity.

hasValue Restrictions Meaning: At least one of the values of the property is a certain value. Similar to someValuesFrom but with Individuals and primitive values. Example: A PartOfSydney is a Destination where one of the values of the isPartOf property is Sydney.

Enumerated Classes Consist of exactly the listed individuals. OneStarRating TwoStarRating ThreeStarRating BudgetAccomodation

Logical Class Definitions Define classes out of other classes unionOf (or) intersectionOf (and) complementOf (not) Allow arbitrary nesting of class descriptions (A and (B or C) and not D)

unionOf The class of individuals that belong to class A or class B (or both) Example: Adventure or Sports activities AdventureSports

intersectionOf The class of individuals that belong to both class A and class B. Example: A BudgetHotelDestination is a destination with accomodation that is a budget accomodation and a hotel. BudgetAccomodation Hotel

Implicit intersectionOf When a class is defined by more than one class description, then it consists of the intersection of the descriptions. Example: A luxury hotel is a hotel that is also an accommodation with 3 stars. AccommodationWith3Stars Hotel LuxuryHotel

complementOf The class of all individuals that do not belong to a certain class Example: A quiet destination is a destination that is not a family destination Destination FamilyDestination QuietDestination (grayed)

Class Conditions Necessary Conditions: (Primitive / partial classes) “If we know that something is a X, then it must fulfill the conditions...” Necessary & Sufficient Conditions: (Defined / complete classes) “If something fulfills the conditions..., then it is an X.”

Class Conditions (2) QuietDestination NationalPark (not everything that fulfills these conditions is a NationalPark) (everything that fulfills these conditions is a QuietDestination)

Classification NationalPark BackpackersDestination A RuralArea is a Destination A Campground is BudgetAccomodation Hiking is a Sport Therefore: Every NationalPark is a Backpackers- Destiantion (Other BackpackerDestinations)

Classification (2) Input: Asserted class definitions. Output: Inferred subclass relationships.

(Create an enumerated class out of individuals)

(Create a hasValue restriction)

(Create a defined class)

(Classify Campground)

(Add restrictions to City and Capital)

(Create defined class BackpackersDestination)

(Create defined class FamilyDestination)

(Create defined class QuietDestination)

(Create defined class RetireeDestination)

(Classification)

(Consistency Checking)

Visualization with OWLViz

OWL Wizards

Putting it All Together Ontology has been developed; Published on a dedicated web address; Ontology provides standard terminology; Other ontologies can extend it; Users can instantiate the ontology to provide instances: specific hotels, specific activities.

Ontology Import Adds all classes, properties and individuals from an external OWL ontology into your project. Allows to create individuals, subclasses, or to further restrict imported classes. Can be used to instantiate an ontology for the Semantic Web.

Tourism Semantic Web (2) OWL Metadata (Individuals) Tourism Ontology Web Services Destination AccomodationActivity

Ontology Import with Protégé On the Metadata tab: Add namespace, define prefix Check “Imported” and reload your project

Individuals

OWL File \ <rdf:RDF xmlns=" xmlns:rdf=" xmlns:rdfs=" xmlns:owl=" xmlns:dc=" xmlns:travel=" xml:base=" Sydney Queen Victoria St 1240 Manic super bunjee now offers nerve wrecking jumps from 300 feet right out of a helicopter. Satisfaction guaranteed.