openhpi 1.6 - the vision of the semantic web - part 2

14
Dr. Harald Sack Hasso Plattner Institute for IT Systems Engineering University of Potsdam Spring 2013 Semantic Web Technologies This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0 ) Lecture 1: The Web of Data 06: The Vision of the Semantic Web Part 2

Upload: harald-sack

Post on 02-Nov-2014

960 views

Category:

Education


2 download

DESCRIPTION

Free online Lecture "Semantic Web Technologies" at OpenHPI. Visit the Course website, registration is free. You will find the lecture recordings as mp3 and also as video at https://openhpi.de/course/semanticweb

TRANSCRIPT

Page 1: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Dr. Harald Sack

Hasso Plattner Institute for IT Systems Engineering

University of Potsdam

Spring 2013

Semantic Web Technologies

This file is licensed under the Creative Commons Attribution-NonCommercial 3.0 (CC BY-NC 3.0)

Lecture 1: The Web of Data 06: The Vision of the Semantic Web Part 2

Page 2: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

Lecture 1: The Web of Data

2

Open HPI - Course: Semantic Web Technologies

Page 3: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

3

06: The Vision of the Semantic Web Pt.2 OpenHPI - Course Semantic Web Technologies - Lecture 1: The Web of Data

Page 4: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

4

Das Semantic Web

Semantic Web ...towards an „intelligent“ Web

Page 5: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

5

Fabio Capello http://dbpedia.org/resource/Fabio_Capello

URI - Uniform Resource Identifier

Semantic Web ...towards an „intelligent“ Web

Page 6: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

6

http://dbpedia.org/resource/Fabio_Capello

http://de.wikipediapedia.org/wiki/Fabio Capello

Semantic Web ...towards an „intelligent“ Web

Page 7: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

7

Semantic Web ...towards an „intelligent“ Web

http://dbpedia.org/resource/Fabio_Capello

Page 8: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

8

http://dbpedia.org/resource/Fabio_Capello

RDF Resource Description Framework

:Fabio_Capello dbpp:birthPlace :San_Canzian .:Fabio_Capello dbpp:birthDate “1946-06-18“ .:Fabio_Capello rdfs:type dbpo:SoccerManager .:Fabio_Capello rdfs:type dbpo:Person ....

:Fabio_Capello rdf:type dbpo:SoccerManager .

RDF Tripel RDF Subject RDF Property RDF Object

Semantic Web ...towards an „intelligent“ Web

Page 9: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

9

http://dbpedia.org/ontology/SoccerManager

dbpo:SoccerManager rdf:type owl:class .dbpo:SoccerManager rdfs:subClassOf dbpo:Person .dbpo:SoccerManager rdfs:label “SoccerManager“ .dbpp:birthPlace rdf:type rdf:Property .dbpp:birthPlace rdfs:domain dbpo:Person .dbpp:birthPlace rdfs:range dbpo:Place .dbpp:birthDate rdf:type rdf:Property .dbpp:birthDate rdfs:domain :Person .dbpp:birthDate rdfs:range xsd:date ....

RDF Schema

Person PlacebirthPlace

DatebirthDate

SoccerManager

is subclass of

Semantic Web ...towards an „intelligent“ Web

Page 10: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

10

Fabio Capello

LivingPeople

PersonDate

birthDate1946-06-18

birthDate

is a

is a

is subclass of

DeadPeople∩ =∅

logical constraintis subclass of

(Description Logics) + Rules

∀x.∃y.hasDeathDate(x,y) ∧ Person(x) ∧ Date(y) ! DeadPeople(x)

entities

classes

Semantic Web ...towards an „intelligent“ Web

Page 11: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

11

PREFIX dbpo: <http://dbpedia.org/ontology/>PREFIX dbpp: <http://dbpedia.org/property/>

SELECT DISTINCT ?l ?l2 ?g FROM <http://dbpedia.org> WHERE { ?s rdf:type dbpo:SoccerPlayer . ?s dbpp:nationalteam ?o . ?s rdfs:label?l FILTER langMatches( lang(?l), "EN" ) . ?s dbpp:nationalgoals ?g FILTER(?g>10). ?s dbpp:nationalteam ?nat . ?nat rdfs:label ?l2 FILTER langMatches( lang(?l2), "EN" ) .} ORDER BY DESC(?g)

Look for all Soccer Playersthat have scored more than 10 goals as member of anational team.

Semantic Web ...towards an „intelligent“ Web

Page 12: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

12

Look for all Soccer Players that have scored more than 10 goals as member of a national team.

Page 13: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

13

Problem: Data Quality....

Look for all Soccer Players that have scored more than 10 goals as member of a national team.

Page 14: OpenHPI 1.6 - The Vision of the Semantic Web - Part 2

Semantic Web Technologies , Dr. Harald Sack, Hasso-Plattner-Institut, Universität Potsdam

14

07: Applications in the Web of Data OpenHPI - Course Semantic Web Technologies - Lecture 1: The Web of Data

Next section