everything you always wanted to know about semantic web technologies - but were afraid to ask

66

Upload: harald-sack

Post on 21-Jan-2018

289 views

Category:

Education


3 download

TRANSCRIPT

3

4

5

6

rdf:type

dbo:Philosopher

rdfs:subClassOf

dbo:Person

6

dbr:Gottfried_Wilhelm_Leibniz dbr:Christian_Wolffdbo:doctoralAdvisor

dbo:Philosopher

rdf:type

dbr:Ontology

dbo:notableIdea

foaf:name

dbo:birthDate

“Gottfried Wilhelm Leibniz“@de

“ ”^^xsd:date

“ ”^^xsd:datedbo:deathDate

dbr:Calculus_Ratiocinator

dbo:notableIdea

dbr:Leipzig

dbo:birthPlace

dbo:City

dbo:Settlement

rdf:type

rdfs:subClassOf

7

9

10

Calculemus!

„The only way to rectify our reasonings is to make them as tangible as those of the Mathematicians, so that we can find our error at a glance, and when there are disputes among persons, we can simply say: Let us calculate, without further ado, to see who is right.“

11

13

15

according to Thomas R. Gruber: A Translation Approach to Portable Ontology Specifications.Knowledge Acquisition, 5(2):199-220, 1993.

16

17

Person “Gottfried”

“Wilhelm”

“Leibniz”

18

Person

Philosopher Student

PhilosophyBook

Location

Book

19

Person

Philosopher Student

Location

Woman

Man

⋂ ∅

20

Philosopher

Person

GottfriedWilhelmLeibniz

“Gottfried”

LeipzigLocation

21

22

● Philosopher(GottfriedWilhelmLeibniz)

● Location(Leipzig)

● birthPlace(GottfriedWilhelmLeibniz, Leipzig)

23

● Philosopher ⊑ ∃knows.self

● Book ⊑ ∀author.Writer

● birthPlace(GottfriedWilhelmLeibniz, Leipzig)

● ∃birthPlace.⊤ ⊑ Person ⊤ ⊑ ∀birthPlace.Location

24

25

26

Person

Philosopher

GottfriedWilhelmLeibniz Monadology

Book

27

29

30

"[...] we are entering a technological age in which we will be able to interact with the richness of living information - not merely in the passive way that we have been accustomed to using books and libraries, but as active participants in an ongoing process, bringing something to it through our interaction with it, and not simply receiving something from it by our connection to it."

31

Problems● information access requires expert knowledge and is expensive● information retrieval is even more expensive

32

Advantages● information access does not require expert knowledge ● information retrieval via search engines

33

●●

„The web of human-readable document is being merged with a web of machine understandable data. The potential of the mixture of humans and machines working together and communication through the web could be immense.“

Tim Berners-Lee, The World Wide Web: A very short personal history, May 1998

34

Advantages● Information can be automatically selected, aggregated,

remixed and published according to personal preferences

personalassistant

intelligentInfrastructure

servicesuser

Informationaggregation & filtering

35

1.. http://hpi.de

2.GET /index HTTP/2Host: hpi.de

3.Harald works at <a href=”http://fiz-karlsruhe.de”> FIZ Karlsruhe</a>.

36

●●

○○○

37

38

39

●●

Photo via twitter/@Edelman11

40

42

43

44

Gottfried Wilhelm Leibniz

45

46

47

:Gottfried_Wilhelm_Leibniz rdf:type dbo:Philosopher .:Gottfried_Wilhelm_Leibniz foaf:givenName “Gottfried”@en .:Gottfried_Wilhelm_Leibniz dbo:birthYear 1646 .:Gottfried_Wilhelm_Leibniz dbo:deathYear 1716 .:Gottfried_Wilhelm_Leibniz dbo:birthPlace dbr:Leipzig .:Gottfried_Wilhelm_Leibniz dbo:deathPlace dbr:Hannover ....

:Gottfried_Wilhelm_Leibniz rdf:type dbo:Philosopher .

48

dbo:Philosopher rdf:type owl:class .dbo:Philosopher rdfs:subClassOf dbo:Person .dbo:birthPlace rdf:type rdf:Property .dbo:birthPlace rdfs:domain dbo:Person .dbo:birthPlace rdfs:range dbo:Location .dbo:birthYear rdf:type rdf: Property .dbo:birthYearr rdfs:domain dbo:Person .dbo:birthYear rdfs:range xsd:Integer ....

Philosopher

dbo:birthPlacePerson

rdfs:subClassOf

Location

49

Person

Gottfried_Wilhelm_Leibniz

dbo:author

new:LivingPeople new:DeadPeople∩ = ∅

rdf:type

rdfs:subClassOf

∀x.∃y.deathDate(x,y)∧Person(x)∧Date(y) → DeadPeople(x)

Monadology

50

Look for the Philosophers who have authored

the most books

PREFIX dbo: <http://dbpedia.org/ontology/>PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>

select ?s COUNT(DISTINCT ?book) as ?num WHERE { ?s rdf:type dbo: Philosopher . ?book dbo:author ?s ; rdf:type dbo:Book .} GROUP BY ?sORDER BY DESC(?num)

51

Look for the Philosophers who have

authored the most books

52

Look for the Philosophers who have authored

the most books

select ?sLabel (COUNT(DISTINCT ?book) as ?num) WHERE { ?s wdt:P106 wd:Q4964182 . #Philosophers ?book wdt:P50 ?s ; #authors wdt:P31 wd:Q571 . #Book SERVICE wikibase:label { bd:serviceParam wikibase:language "en, fr, de". }} GROUP BY ?sLabelORDER BY DESC(?num)

53

Look for the Philosophers who have

authored the most books

54

55

●●●

http://stats.lod2.eu/http://lod-cloud.net/

57

rdf:type

dbo:Philosopher

rdfs:subClassOf

dbo:Person

57

Leibniz wrote to Caroline of Ansbach that Newton’s physics was detrimental to natural theology. However, eager to defend the Newtonian view, it was Clarke who responded and the correspondence between both continued until the death of Leibniz.

dbr:Gottfried_Willhelm_Leibniz dbr:Christian_Wolffdbo:doctoralAdvisor

dbo:Philosopher

rdf:type

dbr:Ontology

dbo:notableIdea

text

knowledge base

foaf:name

dbo:birthDate

“Gottfried Wilhelm Leibniz“@de

“ ”^^xsd:date

“ ”^^xsd:datedbo:deathDate

58 58

Leibniz wrote to Caroline of Ansbach that Newton’s physics was detrimental to natural theology. However, eager to defend the Newtonian view, it was Clarke who responded and the correspondence between both continued until the death of Leibniz.

text

59 59

Leibniz wrote to Caroline of Ansbach that Newton’s physics was detrimental to natural theology. However, eager to defend the Newtonian view, it was Clarke who responded and the correspondence between both continued until the death of Leibniz.

60

61

SELECT ?o WHERE { wd:Q9047 wdt:P19 ?o . ?o wdt:P31/wdt:P279* wd:Q618123 .}

62

63

64

65

●●●●●●