Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2....

66
Dr Alexiei Dingli Web Science APT The Semantic Web

Transcript of Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2....

Page 1: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

Dr Alexiei Dingli

Web Science APT

The Semantic Web

Page 2: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

2

Introducing myself …• B.Sc IT (Hons)

– UOM– Multiple Platform Authoring Tool (MultiPlAT)

• Ph.D in Artificial Intelligence– University of Sheffield (UK)– Annotating the Semantic Web

• MBA in Technology Management– Grenoble Business School (France)– Aligning operations to strategy using the Balanced

Scorecard

Page 3: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

3

World Wide Web (1)• Proposed by Sir Tim Burners-Lee while

working at CERN (Large Physics European Research Centre)

• Originally for record keeping and links

• Read – Original WWW proposal

• http://www.w3.org/History/1989/proposal.html

– WWW past, present, future • http://www.w3.org/People/Berners-Lee/1996/ppf.html

Page 4: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

4

World Wide Web (2)• CERN had an ARPANET connection via EUnet

since 1990

• 1991 Tim posted a note on alt.hypertext.newsgroup about– Web server– Line browser

• Servers started appearing everywhere

• 1993 MOSAIC (first to embed images)

• 1994 W3C created (http://www.w3.org)

Page 5: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

5

Concept behind the WWW

• Hypertext– Created by Ted Nelson in the 60s– Text, Pictures, anything can be

linked– Move from one item to the other– Browser is used to

interpret hypermedia

• http://www.xanadu.com

Page 6: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

6

The Language of the WWW

• HTML – Hypertext Mark-up Language– Derived from SGML (Standard Generalised

Mark-up Language) in the 60s

• HTTP – Hypertext Transfer Protocol– Used to send/receive HTML pages to/from

browsers

Page 7: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

7

How do you use the WWW?

• Must have a query• Search (using bag of words!)• Browse through data• Filter it• Ideally solve the problem

• But is this what users want?

Page 8: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

8

Query example …

• I want to go on holiday, somewhere new where its not too cold. I want to visit some museums and visit a few fun parks. I’m short of money so ideally my budget should not exceed the € 1000.

• How would the current web support this query?

Page 9: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

9

Web X.0• It was though that the next web would be the

Semantic Web, instead Web 2.0 came along …

• But is it really a new Web or just hype?

Page 10: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

10

Time Magazine’s Person of the Year

• You and Web 2.0

• But look at 2006 through a different lens and you'll see another story, one that isn't about conflict or great men. It's a story about community and collaboration on a scale never seen before. It's about the cosmic compendium of knowledge Wikipediaand the million-channel people's network YouTube and the online metropolis MySpace. It's about the many wresting power from the fewand helping one another for nothingand how that will not only change the world, but also change the way the world changes.

Page 11: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

11

Web 2.0 Definition• Web 2.0 is the network as platform, spanning all

connected devices; Web 2.0 applications are those that make the most of the intrinsic advantages of that platform: delivering software as a continually-updated service that gets better the more people use it, consuming and remixing data from multiple sources, including individual users, while providing their own data and services in a form that allows remixing by others, creating network effects through an "architecture of participation," and going beyond the page metaphor of Web 1.0 to deliver rich user experiences.

Page 12: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

12

Are there applications for Web 2.0?

*source http://www.go2web20.net/

Page 13: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

13

Origins of Web 2.0• Dot-com bubble in 2001• Web was over hyped

• (Tim) O’Reilly and Media Live International organised a brainstorming session– Post-mortem of the dot-com bubble– Why did some companies manage to survive the

crash?– They had some things in common– They were “Web 2.0” applications

http://www.oreilly.com/pub/a/oreilly/tim/news/2005/09/30/what-is-web-20.html

Page 14: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

14

The 8 Web 2.0 Design Patterns1. The Long Tail

2. Data Inside

3. Users Add Value

4. The Network Effect should be default

5. Some Rights Reserved

6. The perpetual Beta

7. Cooperate, Don’t Control

8. Software is above the device

Page 15: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

15

Problems with the current web …(1)

• No automatic processing

• No direct querying – How many students started the B.Sc course last year?

• Bag of words search– Takes time– Ineffective

• How reliable is the web? – Who wrote what and does he/she have the authority to

do so?

• Is the information up to date?

Page 16: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

16

Problems with the current web …(2)

• Requires manual integration of information– How many times did you find what you were

looking for in just one page?

• Information can be dispersed, redundant, unreliable, outdated and in different formats

Page 17: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

17

Towards a solution … (1)

Ask intelligentagents to do the

job for us!!

But they don’t understand the

WWW !!!

Page 18: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

18

Towards a solution … (2)• But there’s another way in

which this can be achieved, by supplying the missing semantic information

For the Web to reach its full potential, it must evolve into a SemanticWeb, providing a universally accessible platform that allows data tobe shared and processed by automated tools as well as by people.

(W3C Expert)Creating the Semantic Web !!

Page 19: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

19

So what is the Semantic Web? (1)

• The Web today …

The "Browser" is an extremely silly concept-- a window for looking sequentially at a large parallel structure. It does not show this structure

in a useful way. Ted Nelson

(Source: Sir Tim)

Page 20: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

20

So what is the Semantic Web? (2)

• The Web from a new perspective …

(Source: Sir Tim)

Page 21: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

21

So what is the Semantic Web? (4)

• Let’s add the semantics …

(Source: Sir Tim)

Semantics: from the Greek ‘semantikos’ is the study of meaning

Page 22: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

22

So what is the Semantic Web? (3)

• Let’s link everything together …

(Source: Sir Tim)

Page 23: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

23

How will it happen?1. Make use of semantically

annotated documents

2. Ontologies of concepts to link everything

3. Semantic search engines to make Semantic web services accessible

Ontology: derived from the Greek words (ontos) meaning "to be" and (logos) meaning "word”. Ontology is the study of being. A data structure (typically hierarchical) containing all the relevant entities, their relationships and rules within a domain.

Page 24: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

24

Case study … Going on holiday

Ask Interpersona to book a holiday for Venice

1. Interpersona checks my diary for available dates (diary annotated with date ontology)

2. Interpersona searches through Semantic Search Engines for online travel agents (annotated with travel ontology)

1. Harvests for available holidays2. Selects one which meets requirements3. Uses Semantic Webservice to negotiate price and

book holiday

Page 25: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

25

SW Cake

Page 26: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

26

SW Cake

Page 27: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

27

SW Wave

Page 28: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

28

How can we identify anything?

Page 29: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

29

Unified Resource Identifiers• To talk about anything, you must identify it first

• Each item identified is called a resource

• URI – is the foundation of the web– Is decentralised (no central control)

• SW cannot exist without URI

• The Uniform Resource Locator (URL)– One form of URI– Unlike other URIs, it both identifies and locates

Page 30: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

30

Example URI

• http://somehost/absolute/URI/with/absolute/path/to/resource.txt

• ftp://somehost/resource.txt

• uri:isbn10:0753810255

Page 31: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

31

31

Development of Markup Languages

http://www.w3.org/

Page 32: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

32

XML

• The ABC of the SW• A simple way to send objects• Anyone can define own format and create

documents in that format• Markup

– Both machine and human readable– Therefore much more powerful

Page 33: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

33

33

Learn XML in a slide ☺• Tag – a piece of Markup

– An opening tag <name>– A closing tag </name>

• Element – well formed usage of tags– <name>Alexiei</name>

• Attribute – properties– <name length=“7”>Alexiei</name>

• Rules to keep XML well formed1. Can be nested but not overlapping 2. Case sensitivity3. Quoted attributes4. Required end tag

• Short hand– <abc></abc> is equivalent to <abc/>

Page 34: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

34

34

Which is valid XML?

<book pages=100>E-Commerce</book>

<book pages=“100”><title>E-Commerce</title></book>

<book>E-Commerce</booK>

<book pages=“100”><title>E-Commerce</title><author>

<name>Gary</name><surname>Schneider</surname>

</author></book>

<book pages=“100”><title>E-Commerce</book></title>

Page 35: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

35

The importance of markup• Document A contains certain words that are marked as emphasized • The way those words are rendered can be adapted to the context

• Web browser – simply display them in italics

• Voice browser (which reads Web pages aloud) – might change the tone or the volume of its voice

• Each program can respond appropriately to the meaning encoded inthe markup

• If on the other hand, I simply marked the words as "in italics", the computer has no way of knowing why those words are in italics

– Emphasis? – Visual effect? – How does the voice browser display this effect?

Page 36: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

36

Namespaces

• Imagine …– Amazon tags authors with <author> tag– Barnes & Noble tags authors with <author> tag– How can we distinguish one tag from another?

• Use namespaces– A way of identifying a part of the web– <author xlmns=“http://www.amazon.com”>– <author xlmns=“http://www.b&n.com”>

Page 37: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

37

Document Type Definitions• Define the legal building blocks of an XML document

• Each XML file can carry a description of its own format

• Independent groups of people can agree to use a standard DTD for interchanging data

• Can be used to verify that the data

• But a DTD is not written in XML!

Page 38: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

38

DTD Example<?xml version="1.0"?>

<note> <to>Joe</to> <from>Tom</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body>

</note>

<!ELEMENT note (to, from, heading, body)> <!ELEMENT to (#PCDATA)> <!ELEMENT from (#PCDATA)> <!ELEMENT heading (#PCDATA)> <!ELEMENT body (#PCDATA)>

*PCDATA means parsed character data

Page 39: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

39

XML Schemas• An XML-based alternative to DTDs• Describes the structure of an XML document

• Defines – elements that can appear in a document – attributes that can appear in a document – which elements are child elements – the order of child elements – the number of child elements – whether an element is empty or can include text – data types for elements and attributes – default and fixed values for elements and attributes

Page 40: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

40

XML Schema Example<?xml version="1.0"?>

<note> <to>Joe</to> <from>Tom</from> <heading>Reminder</heading> <body>Don't forget me this weekend!</body>

</note> <?xml version="1.0"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.w3schools.com" xmlns="http://www.w3schools.com" elementFormDefault="qualified">

<xs:element name="note"> <xs:complexType> <xs:sequence>

<xs:element name="to" type="xs:string"/> <xs:element name="from" type="xs:string"/> <xs:element name="heading" type="xs:string"/> <xs:element name="body" type="xs:string"/>

</xs:sequence> </xs:complexType> </xs:element>

</xs:schema>

Page 41: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

41

Resource Description Framework

• Allows you to make statements machine-processable

• RDF is like a sentence where all the words are URIs

• Made of 3 parts (triple)– Subject– Predicate– Object

Page 42: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

42

RDF example (1)

• A typical relational database on books

Page 43: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

43

RDF example (2)

• A row represents a record of related data

Page 44: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

44

RDF example (3)

• A column represents an attribute/property

Page 45: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

45

RDF example (4)

• Intersection gives value for property/record

Page 46: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

46

RDF example (5)

Page 47: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

47

RDF example (6)

Page 48: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

48

Viewing RDF as a graph• A triple is actually an edge in a graph• Nodes in graph are things• Arcs are relationships between things

Page 49: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

49

RDF Schema and Ontologies

• Describe meaning and relationships

• Meaning of the word Ontology– An ontology is an explicit specification of a

shared conceptualization– An ontology is a shared understanding of

some domain of interest

Page 50: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

50

RDF Schema• RDF Schema does not provide actual

application-specific classes and properties

• Instead RDF Schema provides the framework to describe application-specific classes and properties

• Classes in RDF Schema are much like classes in object oriented programming languages

• This allows resources to be defined as instances of classes, and subclasses of classes

Page 51: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

51

RDF Schema Example<?xml version="1.0"?>

<rdf:RDFxmlns:rdf= "http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">

<rdfs:Class rdf:ID="animal" />

<rdfs:Class rdf:ID="horse"> <rdfs:subClassOf rdf:resource="#animal"/>

</rdfs:Class>

</rdf:RDF>

Page 52: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

52

DAML+OIL• DARPA Agent Markup Language

– Developed in the US – Released DAML-Ont– Simple language to express classes

• Ontology Inference Layer– Developed in Europe– Create sophisticated classifications, using

constructs from frame-based AI

• DAML+OIL (2001)

Page 53: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

53

Web Ontology Language (OWL)

• Built on top of RDF • Used for processing information on the web • Designed to be interpreted by computers • Written in XML • Has three sublanguages

– OWL Lite – OWL DL (includes OWL Lite) – OWL Full (includes OWL DL)

• Is a web standard

Page 54: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

54

Back to the Cake

Current status

Page 55: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

55

And many more technologies…• SOAP• UDDI• RDF-S• OWL-S• Semantic Web services• What about business logic?• How can you trust someone?• The Semantic Web is still far from

becoming a reality but work is going on at full speed!

Page 56: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

56

But is it a feasible solution?• Why do many believe this solution will fail?

– It requires a lot of time and effort

– It needs a lot of people willing to do it

– Not everyone can do it

Reduce burden of text annotation for Knowledge Management

Page 57: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

57

SW Case Study(1)The entertainment system was belting out the Beatles' "We Can Work It Out" when the phone rang. When Pete answered, his phone turned the sound down by sending a message to all the other local devices that had a volume control. His sister, Lucy, was on the line from the doctor's office: "Mom needs to see a specialist and then has to have a series of physical therapy sessions. Biweekly or something. I'm going to have my agent set up the appointments." Pete immediately agreed to share the chauffeuring.

Page 58: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

58

SW Case Study(2)At the doctor's office, Lucy instructed her Semantic Web agent through her handheld Web browser. The agent promptly retrieved information about Mom's prescribed treatmentfrom the doctor's agent, looked up several lists of providers, and checked for the ones in-planfor Mom's insurance within a 20-mile radius of her home and with a rating of excellent or very good on trusted rating services. It then began trying to find a match between available appointment times (supplied by the agents of individual providers through their Web sites) and Pete's and Lucy's busy schedules.

Page 59: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

59

SW Case Study(3)In a few minutes the agent presented them with a plan. Pete didn't like it, University Hospital was all the way across town from Mom's place, and he'd be driving back in the middle of rush hour. He set his own agent to redo the search with stricter preferences about location and time. Lucy's agent, having complete trust in Pete's agent in the context of the present task, automatically assisted by supplying access certificates and shortcuts to the data it had already sorted through.

Page 60: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

60

SW Case Study(4)Almost instantly the new plan was presented: a much closer clinic and earlier times but there were two warningnotes. First, Pete would have to reschedule a couple of his less importantappointments. The other was something about the insurance company's list failing to include this provider under physical therapists: "Service type and insurance plan status securely verified by other means," the agent reassured him.

Page 61: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

61

SW Case Study(5)Lucy registered her assent at about the same moment Pete was muttering, "Spare me the details," and it was all set. (Of course, Pete couldn't resist the details and later that night had his agent explain how it had found that provider even though it wasn't on the proper list.)

Page 62: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

62

What did the agent do?1. Retrieved information about Mom's prescribed treatment from

the doctor's agent

2. Look up several lists of providers

3. Checked for the ones in-plan for Mom's insurance within a 20-mile radius of her home and with a rating of excellent or very good on trusted rating services

4. Find a match between available appointment times (supplied by the agents of individual providers through their Web sites) and Pete's and Lucy's busy schedules.

5. Share information between different agents

6. Provide alternatives and if necessary arrange for the rescheduling of plans

7. Be extra careful and reassure the human with reasonable explanations

Page 63: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

63

Benefits of SW

• Provide a web with information and meaning (semantics)

• Meaning will be encoded in the page just like HTML

• Agents can roam the web and carry out sophisticated tasks for the users

• Agents will understand complex concepts, can reason things out and make decisions

Page 64: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

64

From WWW to Web Science

Page 65: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

65

The road ahead …

• SW does not exist• Millions of € are spent in research

worldwide yearly

• What do we need …– More ontologies to represent meaning– Semantic Web Services– Specialised agents– A lot of other things …

Page 66: Web Science APT - L-Università ta' Maltacsaiwebsite/docs/apt/webscience/intro... · 2008. 2. 15. · 10 Time Magazine’s Person of the Year • You and Web 2.0 • But look at 2006

66

Questions ?