1 Dr Alexiei Dingli Introduction to Web Science Modelling Knowledge.

Slides:



Advertisements
Similar presentations
Dr. Alexandra I. Cristea OWL Dr. Alexandra I. Cristea
Advertisements

Chronos: A Tool for Handling Temporal Ontologies in Protégé
April 15, 2004SPIE1 Association in Level 2 Fusion Mieczyslaw M. Kokar Christopher J. Matheus Jerzy A. Letkowski Kenneth Baclawski Paul Kogut.
ΑΝΑΠΑΡΑΣΤΑΣΗ ΓΝΩΣΗΣ ΣΤΟΝ ΠΑΓΚΟΣΜΙΟ ΙΣΤΟ OWL
So What Does it All Mean? Geospatial Semantics and Ontologies Dr Kristin Stock.
Based on “A Practical Introduction to Ontologies & OWL” © 2005, The University of Manchester A Practical Introduction to Ontologies & OWL Session 3: Additional.
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.
Chapter 8: Web Ontology Language (OWL) Service-Oriented Computing: Semantics, Processes, Agents – Munindar P. Singh and Michael N. Huhns, Wiley, 2005.
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,
Ontologies - Design principles Cartic Ramakrishnan LSDIS Lab University of Georgia.
Protégé Classes, Properties and Instances Susana R. de Novoa UNIK4710.
1 An Introduction To The Semantic Web. 2 Information Access on the Web Find an mp3 of a song that was on the Billboard Top Ten that features a cowbell.
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.
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
Editing Description Logic Ontologies with the Protege OWL Plugin.
A Really Brief Crash Course in Semantic Web Technologies Rocky Dunlap Spencer Rugaber Georgia Tech.
BiodiversityWorld GRID Workshop NeSC, Edinburgh – 30 June and 1 July 2005 Metadata Agents and Semantic Mediation Mikhaila Burgess Cardiff University.
Aidministrator nederland b.v. Adding formal semantics to the Web Jeen Broekstra, Michel Klein, Stefan Decker, Dieter Fensel,
Applying Semantics in SOA – OWL, WSDL-S. 指導教授:吳秀陽 報告人:陳建博 學號:
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.
Okech Odhiambo Faculty of Information Technology Strathmore University
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.
OWL and SDD Dave Thau University of Kansas
Department of Computer Science and Engineering
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.
Tools & Frameworks for the Semantic Web Semantic Web - Fall 2005 Computer Engineering Department Sharif University of Technology.
Semantic Web Andrejs Lesovskis. Semantic Web layers.
Michael Eckert1CS590SW: Web Ontology Language (OWL) Web Ontology Language (OWL) CS590SW: Semantic Web (Winter Quarter 2003) Presentation: Michael Eckert.
Ontology & OWL Semantic Web - Fall 2005 Computer Engineering Department Sharif University of Technology.
Ontology Building in Action Hasan TÜRKSOY Compiled, partly based on various online tutorials and presentations, with respect to their authors.
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
EEL 5937 Ontologies EEL 5937 Multi Agent Systems Lecture 5, Jan 23 th, 2003 Lotzi Bölöni.
SKOS. Ontologies Metadata –Resources marked-up with descriptions of their content. No good unless everyone speaks the same language; Terminologies –Provide.
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:
© University of Manchester Simplifying OWL Learning lessons from Anaesthesia Nick Drummond BioHealth Informatics Group.
Metadata Common Vocabulary a journey from a glossary to an ontology of statistical metadata, and back Sérgio Bacelar
Tools & Frameworks for the Semantic Web Semantic Web - Fall 2005 Computer Engineering Department Sharif University of Technology.
OWL & Protege Introduction Dongfang Xu Ph.D student, School of Information, University of Arizona Sept 10, 2015.
Knowledge Representation. Keywordsquick way for agents to locate potentially useful information Thesaurimore structured approach than keywords, arranging.
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.
CS621 : Artificial Intelligence Pushpak Bhattacharyya CSE Dept., IIT Bombay Lecture 12 RDF, OWL, Minimax.
W3C’s (world wide web consortium) Semantic Web: - RDF and metadata markup efforts to represent data in a machine understandable form. DARPA started the.
Web Ontology Language (OWL). OWL The W3C Web Ontology Language (OWL) is a Semantic Web language designed to represent rich and complex knowledge about.
OWL Web Ontology Language Summary IHan HSIAO (Sharon)
BioHealth Informatics Group Copyright © 2005, The University of Manchester1 A Practical Introduction to Ontologies & OWL Additional Exercises: Common Errors.
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.
Ontology Design Patterns Dr Nicholas Gibbins –
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é
DOMAIN ONTOLOGY DESIGN
Building Trustworthy Semantic Webs
Ontologies.
ece 720 intelligent web: ontology and beyond
Session 1: Primitive Classes Nick Drummond
Presentation transcript:

1 Dr Alexiei Dingli Introduction to Web Science Modelling Knowledge

2 Acquire Model Reuse Retrieve Publish Maintain Six challenges of the Knowledge Life Cycle

3 Shared ontologies help to exchange data and meaning between web-based services The Semantic Web (Image by Jim Hendler)

4 Wine Example Scenario Tell me what wines I should buy to serve with each course of the following menu. Wine Agent Grocery Agent Books Agent I recommend Chardonney or DryRiesling

5 Provide shared data structures to exchange information between agents Can be explicitly used as annotations in web sites Can be used for knowledge-based services using other web resources Can help to structure knowledge to build domain models (for other purposes) Ontologies in the Semantic Web

6 Web Ontology Language Official W3C Standard since Feb 2004 Based on predecessors (DAML+OIL) A Web Language: Based on RDF(S) An Ontology Language: Based on logic OWL

7 What’s inside an OWL ontology –Classes + class-hierarchy –Properties (Slots) / values –Relations between classes (inheritance, disjoints, equivalents) –Restrictions on properties (type, cardinality) –Characteristics of properties (transitive, …) –Instances Reasoning tasks: classification, consistency checking OWL Ontologies

8 At least two different user groups –OWL used as data exchange language (define interfaces of services and agents) –OWL used for terminologies or knowledge models OWL DL is the subset of OWL (Full) that is optimized for reasoning and knowledge modeling OWL Use Cases

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

10 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,...) Scenario Architecture

11 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

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

13 OWL (in Protégé) Instances (e.g., “Golden Sands”) Properties – ObjectProperties (references) – DatatypeProperties (simple values) Classes (e.g., “Hotel”)

14 Represent objects in the domain Specific things Two names could represent the same “real-world” instance Instances Ghajn Tuffieha Golden Bay Malta

15 Link two individuals together Relationships (0..n, n..m) ObjectProperties Malta Golden Bay hasPart Golden Sands hasAccomodation

16 Represent bidirectional relationships Adding a value to one property also adds a value to the inverse property Inverse Properties Malta Golden Bay hasPart isPartOf

17 If A is related to B and B is related to C then A is also related to C Often used for part-of relationships Transitive Properties Malta Golden Bay hasPart The Maltese Islands hasPart hasPart (derived)

18 Link individuals to primitive values (integers, floats, strings, booleans etc) DatatypeProperties Valletta hasSize = 6,000 isCapital = true rdfs:comment = “Don’t miss the Cathedral”

19 Sets of individuals with common characteristics Individuals are instances of at least one class Classes City Valletta Beach Sliema Golden Bay Paradise Bay

20 Property characteristics –Domain: “left side of relation” (Destination) –Range: “right side” (Accomodation) Range and Domain Malta Golden Sands Vivaldi hasAccomodation Destination Accomodation hasAccomodation

21 Instances can only take values of properties that have matching domain –“Only Destinations can have Accomodations” Domain can contain multiple classes Domains

22 Classes can be organized in a hierarchy Direct instances of subclass are also (indirect) instances of superclasses Superclass Relationships Harbor Area Sliema Valletta Gzira

23 Classes can overlap arbitrarily Class Relationships City Sliema Valletta Qawra RetireeDestination

24 All classes could potentially overlap In many cases we want to make sure they don’t share instances Class Disjointness Sydney UrbanAreaRuralArea Valletta Qawra St Paul’s disjointWith City Destination

25 (Create a new OWL project)

26 (Create simple classes)

27 (Create class hierarchy and set disjoints)

28 (Create Contact class with datatype properties)

29 (Edit details of datatype properties)

30 (Create an object property hasContact)

31 (Create an object property with inverse)

32 (Create the remaining classes and properties)

33 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? Reasoning with Classes

34 Define a condition for property values – allValuesFrom – someValuesFrom – hasValue – minCardinality – maxCardinality – cardinality Restrictions (Overview)

35 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 Cardinality Restrictions

36 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 allValuesFrom Restrictions

37 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 someValuesFrom Restrictions

38 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 hasValue Restrictions

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

40 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) Logical Class Definitions

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

42 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 intersectionOf BudgetAccomodation Hotel

43 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 accomodation with 3 stars Implicit intersectionOf AccomodationWith3Stars Hotel LuxuryHotel

44 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 complementOf Destination FamilyDestination QuietDestination (grayed)

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

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

47 (Create an enumerated class out of individuals)

48 (Create a hasValue restriction)

49 (Create a hasValue restriction)

50 (Classify Campground)

51 (Add restrictions to City and Capital)

52 (Create defined class BackpackersDestination)

53 (Create defined class FamilyDestination)

54 (Create defined class QuietDestination)

55 (Create defined class RetireeDestination)

56 (Classification)

57 (Consistency Checking)

58 Visualization with OWLViz

59 OWL Wizards

60 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 Putting it All Together

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

62 The ontology should not contain all the possible information about the domain: you do not need to specialize (or generalize) more than you need for your application (at most one extra level each way) Warning!!

63 1.Determine the domain and scope of the ontology 2.Defining classes in the ontology 3.Arranging the classes in a taxonomic (subclass–superclass) hierarchy 4.Defining slots and describing allowed values for these slots 5.Creating instances Hint: Steps to create an ontology …

64 Divide class into 2 Create an ontology representing special occasions … –E.g. wedding, birthday, Christmas, etc Wins the group that creates the most complete ontology Exercise