samad paydar web technology laboratory computer engineering department ferdowsi university of...

45
Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Post on 21-Dec-2015

219 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Samad Paydar

Web Technology LaboratoryComputer Engineering Department Ferdowsi University of Mashhad1389/11/20

An Introduction to the Semantic Web

Page 2: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Outline

• Why Semantic Web?• What is Semantic Web?• Semantic Web Main Technologies• Semantic Web Timeline

2

Page 3: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Mom

Physician’s Agent

Lucy’s Agent

requiredtreatment

Schedule appointment

Insurance Co.

Provider sites

Rating

in-plan?close-by?Specialist?

Pete’ Agent

Driving schedule

Semantic Web Scenario

Page 4: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

The Vision

• The World Wide Web (the syntactic web) is a big and impressive success story, both in terms of – the amount of available information and– the growth rate of human users

• It has entered most areas of our daily life and business.

4

Page 5: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

The Vision

• This success is based on its simplicity– It’s easy to publish information on the web– It’s easy to access information (but if you know

where they are)

5

Page 6: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Why Semantic Web?

• Tasks often require to combine data on the Web:– hotel and travel information may come from different

sites– searches in different digital libraries

• Humans combine these information easily even if– different terminologies are used– the information is incomplete, or buried in images,

videos, …

• But Machines?

6

Page 7: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

What is the Problem?

Page 8: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Challenge

• Query– What is the name of a person who is a member of

an organization in Iran, and likes a kind of sport?

8

Page 9: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Why Semantic Web?

• (Some) data should be available for machines for further processing– Metadata: Data about data

• Data should be possibly combined, merged on a Web scale

• Machines may also need to reason about that data

9

Page 10: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

What is Semantic Web?

• Tim Berners-Lee:

–“The Semantic Web is an extension of the current web in which information is given well-defined meaning, better enabling computers and people to work in cooperation.” 2001

Page 11: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web

• “The Semantic Web will bring structure to the meaningful content of Web pages, creating an environment where software agents roaming from page to page can readily carry out sophisticated tasks for users” 2001

11

Page 12: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Current Web

12

Page 13: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Current Web

• Resources– identified by URI's – untyped

• Links– href, src, ... – limited, non-descriptive

• User– Exciting world - semantics of the resource, however, gleaned from

content

• Machine: – Very little information available - significance of the links only evident

from the context around the anchor.

13

Page 14: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web

14

Page 15: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web

• Resources– Globally Identified by URI's – or Locally scoped (Blank) – Extensible – Relational

• Links– Identified by URI's – Extensible – Relational

• User– Even more exciting world, richer user experience

• Machine– More processable information is available (Data Web)

• Computers and people– Work, learn and exchange knowledge effectively

15

Page 16: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web Technologies

• The Semantic Web extends the Web through the use of standards, markup languages and related processing tools

16

Page 17: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web Layer Cake

17

Page 18: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

A Simple Web Page

Markup consists of:

rendering information (e.g., font size and colour)

Hyper-links to related content

Semantic content is accessible to humans but not (easily) to computers…

Page 19: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Challenge

• Query– What is the name of a person who is a member of

an organization in Iran, and likes a kind of sport?

19

Page 20: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

What information can we see…

Hi!My name is Ali!This is my homepage. I am a student at Ferdowsi

University of Mashhad.I like football.

20

Page 21: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

The Page Source Code in HTML

<html> <head> <title>Ali's Homepage </title></head><body> <p><b>Hi!</b></p> <p><b>My name is Ali!</b></p> </b> <p>This is my homepage. I am a student at <a

href=“http://um.ac.ir">Ferdowsi University of Mashhad</a>.</p> <p>I like football.</p>

</body></html>

21

Page 22: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

What information can a machine see…

<html> <head> <title>…………………..</title></head><body> <p><b>………</b></p> <p><b>....................</b></p> </b> <p>…………………………………………..……<a

href=“………………”>…………………..</a>.</p> <p>............................</p>

</body></html>

22

Page 23: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

XML

• XML allows users to add arbitrary structure to their documents but says nothing about what the structures mean

23

Page 24: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Solution: XML “meaningful” tags

………………………….

<student>………………….</student><university>……………………..<university>…………………………………………………………………………………………………….

24

Page 25: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

But What if?

………………………….

<boy>………………….</boy><college>……………………..<college>…………………………………………………………………………………………………….

25

Page 26: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

RDF

• Resource Description Framework– A data modelo Meaning encoded in sets of ‘triples’: entities have

properties which have valueso Each triple: subject-predicate-objecto Entities, properties and values all have distinct URIs

26

Page 27: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

RDF

27

AliFerdowsi

University of Mashhad

studentOF

http://um.ac.ir

hasHomePage

Page 28: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

RDF

<rdf:Description about="some.uri/person/ali"><studentOf resource="some.uri/Ferdowsi_University_of_Mashhad"/>

</Description>

<Description about="Ferdowsi_University_of_Mashhad"> <hasHomePage>http://um.ac.ir</hasHomePage></rdf:Description>

28

Page 29: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Challenge

• Query– What is the name of a person who is a member of

an organization in Iran, and likes a kind of sport?

29

Page 30: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

But…

• What is the relation between – a Student and a Person?– Football and Sport?– University and College?– University and Website?

• Ontology is the solution

30

Page 31: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Ontology

• Ontologies provide semantic• Main elements of an ontology:

– Concepts– Relationships

• Hierarchical• Logical

– Properties– Instances (individuals)

31

Page 32: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Challenge

• Query– What is the name of a person who is a member of

an organization in Iran, and likes a kind of sport?

32

Page 33: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Ontology

• To answer the query it is required to tell the machine that– There is a class of objects named ‘Student’– There is a class of objects named ‘Person’– Each Student is a Person– Each Person has a Name– There is a class of objects named ‘Sport Type’– Football is a kind of Sport– There is an instance of a Student that its Name is “Ali”– ….

33

Page 34: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Ontology

• Ontology Languages– OWL– RDFS (RDF Schema)– SHOE– DAML+OIL

34

Page 35: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Scientific American, May 2001

• Realising the complete “vision” is too hard for now (probably)

• But we can make a start by adding semantic annotation to web resources

35

Page 36: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Don’t Forget!

36

1895 2006

Page 37: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web Layer Cake

37

Page 38: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web: Now

• Numerous web technologies, languages, formats, and standards which provide the inferastructure– URI, XML, XML Schema, RDF, RDFS, OWL, SPARQL,

SerQL, HTTP, Microformats, RDFa,

38

Page 39: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web: Now

• A large body of research and activity is related to ontologies, since they play a main role– Ontology engineering issues and tools

• ontology development, ontology selection, ontology matching, ontology evaluation, ontology partitioning,….

– Numerous Ontologies are developed in different domains, e.g. FOAF, DOAP, SIOC, SKOS, …

39

Page 40: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web: Now

• Semantic Web technologies are used as an enabler in different areas to develop small semantic web applications– Ontology-based …..– Ontology-enabled …– Semantic-Web-Enabled …– Semantic ….

40

Page 41: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web Application Areas

• Content Discovery• Content Management• Customization and Adaptation• Data Integration• Domain Modeling• Search and Information Retrieval• Social Networks • Automating Tasks• Knowledge Management

41

Page 42: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Semantic Web: Now

• Semantic Web Search Engines– Swoogle, SWSE, Watson, Sindice, Falcons, Yahoo!

Microsearch, ….

42

Page 43: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Web Evolution Timeline

43

Page 44: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Linked Data

– If we see Semantic Web as a long term goal then Linked Data is a major step towards it’s large scale and full-featured realization

44

Page 45: Samad Paydar Web Technology Laboratory Computer Engineering Department Ferdowsi University of Mashhad 1389/11/20 An Introduction to the Semantic Web

Thanks!!

Any Question?

45