ontologies? semantic web? owl? – making sense of it all

47
Ontologies? Semantic Web? OWL? – Making sense of it all Presenters [email protected] [email protected] [email protected] www.ibcn.intec.ugent.be INTEC Broadband Communication Networks (IBCN) Department of Information Technology (INTEC) Ghent University - IBBT

Upload: klaus

Post on 10-Jan-2016

36 views

Category:

Documents


2 download

DESCRIPTION

Ontologies? Semantic Web? OWL? – Making sense of it all. Presenters [email protected] [email protected] [email protected] www.ibcn.intec.ugent.be INTEC Broadband Communication Networks (IBCN) Department of Information Technology (INTEC) - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: Ontologies? Semantic Web? OWL? – Making sense of it all

Ontologies? Semantic Web? OWL? – Making sense of it all

[email protected]@intec.ugent.beStijn.Verstichel@intec.ugent.bewww.ibcn.intec.ugent.beINTEC Broadband Communication Networks (IBCN)Department of Information Technology (INTEC)Ghent University - IBBT

Page 2: Ontologies? Semantic Web? OWL? – Making sense of it all

2

The ontology cloud

Semantic Web

Ontology

OWL

Formal logic

Reasoning

RDF

SWRL

SPARQL

Page 3: Ontologies? Semantic Web? OWL? – Making sense of it all

3

The evolution of the Web

Connections between people

Con

nect

ions

bet

wee

n In

form

atio

n

Email

Social Networking

Groupware

JavascriptWeblogs

Databases

File Systems

HTTPKeyword Search

USENET

Wikis

Websites

Directory Portals

2010 - 2020

Web 1.0

2000 - 2010

1990 - 2000

PC Era1980 - 1990

RSSWidgets

PC’s

2020 - 2030

Office 2.0

XML

RDF

SPARQLAJAX

FTP IRC

SOAP

Mashups

File Servers

Social Media Sharing

Lightweight Collaboration

ATOM

Web 3.0

Web 4.0

Semantic SearchSemantic Databases

Distributed Search

Intelligent personal agents

JavaSaaS

Web 2.0 Flash

OWL

HTML

SGML

SQLGopher

P2P

The Web

The PC

Windows

MacOS

SWRL

OpenID

BBS

MMO’s

VR

Semantic Web

Intelligent Web

The Internet

Social Web

Web OS

Page 4: Ontologies? Semantic Web? OWL? – Making sense of it all

4

The limitations of keyword search

Amount of data

Pro

duct

ivity

of S

earc

h

Databases

2010 - 2020

Web 1.0 2000 - 2010

1990 - 2000

PC Era1980 - 1990

2020 - 2030

Web 3.0

Web 4.0

Web 2.0 The World Wide Web

The DesktopKeyword search

Natural language search

Reasoning

Tagging

Semantic SearchThe Semantic Web

The Intelligent Web

Directories

The Social Web

Files & Folders

Page 5: Ontologies? Semantic Web? OWL? – Making sense of it all

5

Semantic Web – Adding meaning to data

Different methods to add semantics to data: Tagging Statistics Linguistics Ontology – Semantic Web AI

Semantic Web: Set of open standards by the W3C to add semantics (meaning) to data

Page 6: Ontologies? Semantic Web? OWL? – Making sense of it all

6

Ontology - OWL

“An ontology is a specification of a conceptualization in the context of knowledge description”

Pizza Meathas_topping *

Is a

SalamiSpiciness

Vegetarian PizzaPizzaNot(has_topping some Meat)

Page 7: Ontologies? Semantic Web? OWL? – Making sense of it all

7

Ontology - OWL

Structured knowledge representation

Domain Application

Sharing – Reuse

Support communication

Capture knowledge formally Reasoning Extract new knowledge

Page 8: Ontologies? Semantic Web? OWL? – Making sense of it all

8

RDF – Store data as “triples”

the subject, which is an RDF URI reference or a blank node

the predicate, which is an RDF URI reference

the object, which is an RDF URI reference , a literal or a blank node

Femke IBCNWorks_at

Subject

Predicate

Object

Page 9: Ontologies? Semantic Web? OWL? – Making sense of it all

The Semantic Web

9

The semantic graph connects everything…

EmailsCompanies

Products

Services

Web Pages

Multimedia

Documents

Events

Projects

Activities

Interests

Places

People

Groups

The social graph just connects people

Better search

More targeted ads

Smarter collaboration

Deeper integration

Richer content

Better personalization

Page 10: Ontologies? Semantic Web? OWL? – Making sense of it all

10

SWRL - SPARQL

SWRL Define rules by using domain concepts Add more expressivity then pure OWL

Person(?p) ^ hasSalaryInPounds(?p, ?pounds) ^ swrlb:multiply(1.9, ?pounds, ?dollars) -> hasSalaryInDollars(?p, ?dollars)

SPARQL Query data Similar to SQL but optimized for RDF data

PREFIX foaf: <http://xmlns.com/foaf/0.1/> SELECT ?name WHERE { ?person foaf:mbox <mailto:[email protected]> . ?person foaf:name ?name . }

Page 11: Ontologies? Semantic Web? OWL? – Making sense of it all

11

Layered cake of the Semantic Web

OWL

SWRL & SPARQL

Reasoning

Data triples

Page 12: Ontologies? Semantic Web? OWL? – Making sense of it all

Tutorial: Building an OWL Ontology

Department of Information Technology – Broadband Communication Networks (IBCN) 12

Page 13: Ontologies? Semantic Web? OWL? – Making sense of it all

Named & Disjoint Classes

Department of Information Technology – Broadband Communication Networks (IBCN) 13

Page 14: Ontologies? Semantic Web? OWL? – Making sense of it all

Class Hierarchy

Department of Information Technology – Broadband Communication Networks (IBCN) 14

Page 15: Ontologies? Semantic Web? OWL? – Making sense of it all

Object Properties

Department of Information Technology – Broadband Communication Networks (IBCN) 15

Page 16: Ontologies? Semantic Web? OWL? – Making sense of it all

Object Property Characteristics

Department of Information Technology – Broadband Communication Networks (IBCN) 16

Page 17: Ontologies? Semantic Web? OWL? – Making sense of it all

Property Domains & Ranges

Department of Information Technology – Broadband Communication Networks (IBCN) 17

Page 18: Ontologies? Semantic Web? OWL? – Making sense of it all

Property Restrictions

A restriction describes an anonymous class of individuals based on the relationships that members of the class participate in.

3 main categories: Quantifier Restrictions

Existential restrictions Universal restrictions

Cardinality Restrictions hasValue Restrictions

Department of Information Technology – Broadband Communication Networks (IBCN) 18

Page 19: Ontologies? Semantic Web? OWL? – Making sense of it all

Existential Restriction

Department of Information Technology – Broadband Communication Networks (IBCN) 19

Page 20: Ontologies? Semantic Web? OWL? – Making sense of it all

Reasoning

Key Features Classification:

Test whether or not one class is a subclass of another class

Consistency checking Check whether or not it is possible for a class to

have any instances

Department of Information Technology – Broadband Communication Networks (IBCN) 20

Page 21: Ontologies? Semantic Web? OWL? – Making sense of it all

Consistency Checking

Department of Information Technology – Broadband Communication Networks (IBCN) 21

Page 22: Ontologies? Semantic Web? OWL? – Making sense of it all

Necessary & Sufficient Conditions

Primitive Class Class that only has

‘necessary’ conditions Defined Class

Class that has at least one set of ‘necessary and sufficient’ conditions

Department of Information Technology – Broadband Communication Networks (IBCN) 22

Page 23: Ontologies? Semantic Web? OWL? – Making sense of it all

Automated Classification

Computing subclass- superclass relationships vital to keep large ontologies in logically correct state

Department of Information Technology – Broadband Communication Networks (IBCN) 23

Page 24: Ontologies? Semantic Web? OWL? – Making sense of it all

Universal Restrictions

Constrain the relationships along a given property to individuals that are members of a specific class

They don’t specify the existence of a relationship

Department of Information Technology – Broadband Communication Networks (IBCN) 24

Page 25: Ontologies? Semantic Web? OWL? – Making sense of it all

Open World Assumption

It cannot be assumed that something does not exist until it is explicitly stated that it does not exist!

Closed World Assumption (programming languages, databases, …)

Department of Information Technology – Broadband Communication Networks (IBCN) 25

Page 26: Ontologies? Semantic Web? OWL? – Making sense of it all

Closure Axiom

Department of Information Technology – Broadband Communication Networks (IBCN) 26

Page 27: Ontologies? Semantic Web? OWL? – Making sense of it all

Value Partition

Restricting the possible values for a property to an exhaustive list

Design Pattern

Department of Information Technology – Broadband Communication Networks (IBCN) 27

Page 28: Ontologies? Semantic Web? OWL? – Making sense of it all

Value Partition

Department of Information Technology – Broadband Communication Networks (IBCN) 28

Page 29: Ontologies? Semantic Web? OWL? – Making sense of it all

Cardinality Restrictions

For property P, cardinality restrictions describe the minimum, maximum or exact number of P relationships that an individual can participate in

Department of Information Technology – Broadband Communication Networks (IBCN) 29

Page 30: Ontologies? Semantic Web? OWL? – Making sense of it all

Qualified Cardinality Restriction

Department of Information Technology – Broadband Communication Networks (IBCN) 30

Page 31: Ontologies? Semantic Web? OWL? – Making sense of it all

Datatype Properties

Department of Information Technology – Broadband Communication Networks (IBCN) 31

Page 32: Ontologies? Semantic Web? OWL? – Making sense of it all

Data Properties

Department of Information Technology – Broadband Communication Networks (IBCN) 32

Page 33: Ontologies? Semantic Web? OWL? – Making sense of it all

Open World Reasoning bis

Department of Information Technology – Broadband Communication Networks (IBCN) 33

Page 34: Ontologies? Semantic Web? OWL? – Making sense of it all

Open World Reasoning bis

Department of Information Technology – Broadband Communication Networks (IBCN) 34

Page 35: Ontologies? Semantic Web? OWL? – Making sense of it all

hasValue Restriction

Department of Information Technology – Broadband Communication Networks (IBCN) 35

Page 36: Ontologies? Semantic Web? OWL? – Making sense of it all

Enumerated Classes

Department of Information Technology – Broadband Communication Networks (IBCN) 36

Page 37: Ontologies? Semantic Web? OWL? – Making sense of it all

Multiple Sets of Necessary & Sufficient Conditions

Department of Information Technology – Broadband Communication Networks (IBCN) 37

Page 38: Ontologies? Semantic Web? OWL? – Making sense of it all

Ontologies – more than just a datamodel … but !

Page 39: Ontologies? Semantic Web? OWL? – Making sense of it all

39

Important Consideration

ONTOLOGY≠

DATA-MODEL

ONTOLOGY=

DOMAIN-MODEL

Page 40: Ontologies? Semantic Web? OWL? – Making sense of it all

40

Three common layers

LOGIC

Ontology

Rules

Application

+/- STATIC

DYNAMIC

REUSE

Page 41: Ontologies? Semantic Web? OWL? – Making sense of it all

41

What do you need in an ontology-based application?

Data

Sources• Legacy• Ontology

A-Box• ….

Persistency• Relational DB• Files• Triple Store

Reasoning• Pellet• Fact++• …• None

Rules• Jess• Bossam• …• None

Appl’on Support• Jena• Sesame• Redland• …

SHARED ONTOLOGY MODEL

Page 42: Ontologies? Semantic Web? OWL? – Making sense of it all

42

Typical Ontology Service

MySQL

JENA D2RQ

JOSEKI

SPARQL

PopulatorA

PopulatorB

PopulatorC

PopulatorD

SPARQL

SDB

TDB

Spreadsheet

RDF123

SPARQL

PopulatorE

Page 43: Ontologies? Semantic Web? OWL? – Making sense of it all

43

D2R-Server: Treating Non-RDF Databases as Virtual RDF Graphs

Page 44: Ontologies? Semantic Web? OWL? – Making sense of it all

44

RDF123 is an application and web service to generate RDF data from spreadsheets

Page 45: Ontologies? Semantic Web? OWL? – Making sense of it all

45

Recent commercial initiatives

Ontology.com Thinking Service Models

Metatomix Semantic web-based solutions for Enterprise Resource

Interoperability TopQuadrant

Making Information Work for the Enterprise Semantic Discovery Systems

Beyond Business Intelligence, from Analytics to Discovery Oracle 11g

Open, scalable, secure and reliable RDF management

Page 46: Ontologies? Semantic Web? OWL? – Making sense of it all

46

Every feature at a certain cost

Genericness Performance

SWRL Rules

First-Order Logic Concepts

A-Box Size

Domain Modeling

Application Reuse

Page 47: Ontologies? Semantic Web? OWL? – Making sense of it all

Questions [email protected]@intec.ugent.beStijn.Verstichel@intec.ugent.bewww.ibcn.intec.ugent.beINTEC Broadband Communication Networks (IBCN)Department of Information Technology (INTEC)Ghent University - IBBT

Some slides and graphs borrowed from the presentation “Making sense of the Semantic Web” by Nova Spivackhttp://www.mindingtheplanet.net