semantic data chapter 6 : the web ontology …binot/info8005/theory/semantic...semantic data chapter...

41
Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 11/03/2020 Semantic Data

Upload: others

Post on 19-Jul-2020

4 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Semantic Data

Chapter 6 : The Web Ontology Language OWL

Jean-Louis Binot

1 11/03/2020Semantic Data

Page 3: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Agenda

Species of OWL2

OWL-DL3

Why OWL ?1

OWL 2 Semantics5

OWL 24

3

Page 4: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

OWL in the W3C standards stack

RDF &

RDFSDescription

Logics

OWL

4

Page 5: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Why not just build OWL as an extension of RDFS ?

5

Page 6: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Agenda

Species of OWL2

OWL-DL3

Why OWL ?1

OWL 2 Semantics5

OWL 24

6

Page 7: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Species of OWL

7

Page 8: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Mapping with description logics

S ALC

◼ S ALCR

❑ SHIF

❑ SHOIN D

❑ SROIQ D

8

Page 9: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

OLW Syntaxes

Examples of the first 5 syntaxes

can be found in the OLW2 Primer

We will only cover Turtle

9

Page 10: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Agenda

Species of OWL2

OWL-DL3

Why OWL ?1

OWL Semantics4

OLW25

10

Page 11: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Namespaces and prefixes

11

Page 13: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Expressing DL in OWL, an example

⊆ ⊓ ∀

13

Page 14: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Thing and Nothing

❑ ⊤

❑ ⊥

14

Page 15: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Types of class restrictions

15

Page 16: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

1. Constraints on the properties of the instances

⊆ ∃

16

Page 17: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Constraints on the properties of the instances ./.

Constraint OWL DL

Property value type restrictions

Existential restriction [owl:onProperty r ;

owl:someValuesFrom C]

∃r.C

Universal restriction [owl:onProperty r ;

owl:allValuesFrom C]

∀r.C

Cardinality restrictions

Minimum cardinality [owl:onProperty r ;

owl:minCardinality n]

≤n r (*)

Maximum cardinality [owl:onProperty r ;

owl:maxCardinality n]

n r (*)

Property value restriction [owl:onProperty r ;

owl:hasValue v]

∃r.{v}

17

Page 18: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

2. Enumerated classes

❑ O

≡ {

18

Page 19: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

3. Class definitions using set relationships

❑ ⊆ D

❑ ≡

❑ ⊓ ⊆ ⊥

19

Page 20: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

3. Class definitions using set relationships ./.

◼ ⊓, ⊔,

≡ ⊓ ∃

20

Page 21: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

A larger example

◼ ⊆ PotableLiquid ⊓ ∃ ⊓ ∀ ⊓ ≥

21

Page 22: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Graph-based visualisation

22

Page 23: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Properties

23

Page 24: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

OWL property characteristics

◼ H ⊆

◼ ∃ ⊤ ⊆

◼ ⊤ ⊆ ∀

◼ ∃ ⊤ ⊆ ⊔

24

Page 25: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Property axioms

◼ ≡

◼ ⊤ ⊆

◼ ≡

25

Page 26: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Revisiting the example from chapter 1

(example after Paulheim,

Semantic Web Technologies)

26

Page 27: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Revisiting the example from chapter 1 ./.

⊆ ⊓

⊓ ⊆ ⊥

DL

OWL

27

Page 28: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Updated framework of reference for semantic applications

Data integration component

28

Page 29: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Ontology management

29

Page 30: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Ontology mapping

30

Page 31: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Agenda

Species of OWL2

OWL-DL3

Why OWL ?1

OWL 24

OWL 2 Semantics5

31

Page 32: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

OLW 2

32

Page 33: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

OLW 2 relationship to OWL 1

33

Page 34: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

OWL 2 Profiles

34

Page 35: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Compatibility of reasoners

35

Page 36: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Agenda

Species of OWL2

OWL-DL3

Why OWL ?1

OWL 24

OLW 2 Semantics5

36

Page 38: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Mapping between OWL and description logics

38

Page 39: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

Summary

SROIQ D

39

Page 40: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

References

40

Page 41: Semantic Data Chapter 6 : The Web Ontology …binot/INFO8005/Theory/Semantic...Semantic Data Chapter 6 : The Web Ontology Language OWL Jean-Louis Binot 1 Semantic Data 11/03/2020 Sources

THANK YOU

41