Introduction to the Semantic Web - World Wide Web Consortium · 2008-10-06 · On the Way to the...

Post on 07-Jun-2020

1 views 0 download

Transcript of Introduction to the Semantic Web - World Wide Web Consortium · 2008-10-06 · On the Way to the...

On the Way to the Semantic Web

Presented on Rio Info 2008 by Klaus Birkenbihl, Coordinator World Offices, W3C

based on a slide set mostly created by Ivan Herman, Semantic Web Activity Lead, W3C

Oct. 02nd, 2008

Copyright © 2008, W3C

(2)

(2)

W3C?W3C?Launched 1993 by Web inventor Tim Berners-Lee (Director of W3C) to

Prevent the Web from breaking apartLead the Web to its full potential

Membership organisationMembers are big too small IT-Companies, user companies, Web organisations, standard bodies, research organisations and universities.~50 people on staff17 W3C Offices contribute as local representatives to international coverage of W3C (W3C.br is at NIC.br)

Develops the Web by providing (>100) technologies and standards e.g. (X)HTML, CSS, XML, ... (aka recommendations)

Copyright © 2008, W3C

(3)

(3)

You may consider to meet W3C.br at the You may consider to meet W3C.br at the NIC.br booth to learn more about W3CNIC.br booth to learn more about W3C

Copyright © 2008, W3C

(4)

(4)

Some of you may have heard of itSo you might know already that it is hard stuff, complex and difficult to understandA thing that is only used in universities and researchIt uses a complex nearly unreadable XML vocabularySo you'd better not touch!Consequently I'd like to let you know ...

?

Copyright © 2008, W3C

(5)

(5)

... please forget it!... please forget it!Semantic Web is based on very simple principles – most of them are very much like what we know from the webSometimes Semantic Web lives within XML but this is only a Syntax – Semantic Web can exist mostly without XMLTechnologies are available and used in various waysSemantic Web is about making life in the Web easierSo you should know about it !

Copyright © 2008, W3C

(6)

(6)

What (approximately) I shall doWhat (approximately) I shall doUsing the web today

TravellingSocial networksCollecting and combining knowledge

Make some observationsLook for improvementsReuse Web concepts (URIs, Links, Resources)Suggest a solution that we call Semantic Web

Copyright © 2008, W3C

(7)

(7)

Let’s organize a trip to Budapest using the Let’s organize a trip to Budapest using the Web!Web!

Copyright © 2008, W3C

(8)

(8)

You try to find a proper flight with …You try to find a proper flight with …

Copyright © 2008, W3C

(9)

(9)

… … a big, reputable airline, or …a big, reputable airline, or …

Copyright © 2008, W3C

(10)

(10)

… … the airline of the target country, or …the airline of the target country, or …

Copyright © 2008, W3C

(11)

(11)

… … or a low cost oneor a low cost one

Copyright © 2008, W3C

(12)

(12)

You have to find a hotel, so you look for…You have to find a hotel, so you look for…

Copyright © 2008, W3C

(13)

(13)

… … a really cheap accommodation, or …a really cheap accommodation, or …

Copyright © 2008, W3C

(14)

(14)

… … or a really luxurious one, or …or a really luxurious one, or …

Copyright © 2008, W3C

(15)

(15)

… … and intermediate one …and intermediate one …

Copyright © 2008, W3C

(16)

(16)

oops, that is no good, the page is in oops, that is no good, the page is in Hungarian that almost nobody Hungarian that almost nobody

understands, but…understands, but…

Copyright © 2008, W3C

(17)

(17)

… … this one could workthis one could work

Copyright © 2008, W3C

(18)

(18)

Of course, you could decide to trust a Of course, you could decide to trust a specialized site…specialized site…

Copyright © 2008, W3C

(19)

(19)

… … like this one, or…like this one, or…

Copyright © 2008, W3C

(20)

(20)

… … or this oneor this one

Copyright © 2008, W3C

(21)

(21)

You may want to know something about You may want to know something about Budapest; look for some photographs…Budapest; look for some photographs…

Copyright © 2008, W3C

(22)

(22)

… … on flickr …on flickr …

Copyright © 2008, W3C

(23)

(23)

… … on Google …on Google …

Copyright © 2008, W3C

(24)

(24)

… … or you can look at Ivan's or you can look at Ivan's

Copyright © 2008, W3C

(25)

(25)

but you can also look at a (social) travel sitebut you can also look at a (social) travel site

Copyright © 2008, W3C

(26)

(26)

What happened here?What happened here?You had to consult a large number of sites, all different in style, purpose, possibly language…You had to mentally integrate all those information to achieve your goalsWe all know that, sometimes, this is a long and tedious process!

Copyright © 2008, W3C

(27)

(27)

All those pages are only tips of respective icebergs:the real data is hidden somewhere in databases, XML files, Excel sheets, …you have only access to what the Web page designers allow you to see

Specialized sites (Expedia, TripAdvisor) do a bit more:

they gather and combine data from other sources (usually with the approval of the data owners)but they still control how you see those sources

Copyright © 2008, W3C

(28)

(28)

Sometimes you want more: you may want access to the original data and combine it yourself!

Copyright © 2008, W3C

(29)

(29)

Here is another example…Here is another example…

Copyright © 2008, W3C

(30)

(30)

Companies may have to hire a person to answer questions based on those (public!) databases!

Copyright © 2008, W3C

(31)

(31)

Another example: social sites. Ivan has a Another example: social sites. Ivan has a list of “friends” by…list of “friends” by…

Copyright © 2008, W3C

(32)

(32)

… … Dopplr, Dopplr,

Copyright © 2008, W3C

(33)

(33)

… … Twine,Twine,

Copyright © 2008, W3C

(34)

(34)

… … LinkedIn,LinkedIn,

Copyright © 2008, W3C

(35)

(35)

… … and, of course, the ubiquitous Facebookand, of course, the ubiquitous Facebook

Copyright © 2008, W3C

(36)

(36)

He had to type in and connect with friends again and again for each site independentlyThis is even worse then before: he feeds the icebergs, but he still does not have an easy access to data…

Copyright © 2008, W3C

(37)

(37)

What would we like to have?What would we like to have?Use the data on the Web the same way as we do with documents:

be able to link to data (independently of their presentation)use that data the way I want (present it, mine it, etc.)agents, programs, scripts, etc. should possibly be able to interpret part of that data

This does not mean you have to do these presentations, scripts ... but it would provoke ideas and applications that make better use of existing data“The bane of my existence is to do things that my computer could do for me” — Dan Connolly

Copyright © 2008, W3C

(38)

(38)

Put it another way…Put it another way…We would like to extend the current Web with a “Web of data”:

allow for applications to exploit the data directly

Copyright © 2008, W3C

(39)

(39)

But wait! Isn’t this what mash-up sites are But wait! Isn’t this what mash-up sites are already doing?already doing?

Copyright © 2008, W3C

(40)

(40)

Example: Klaus' trip to Brazil (tripit.com)Example: Klaus' trip to Brazil (tripit.com)

Copyright © 2008, W3C

(41)

(41)

How does it workHow does it workKlaus forwards to Tripit the documents (mails, URIs) I have wrt a trip. e.g.

Flight bookingsHotel reservationsMeetings

Any time he has new documents he may add them

Tripit tries to extract the relevant data from these documentsIt associates the documents to a tripIt add information from other sites about weather, directions, travel guides ...It checks its own database for travel activities of friendsIt compiles a structured itinerary

Copyright © 2008, W3C

(42)

(42)

This is great ... butThis is great ... butSometimes Tripit sends Klaus a message “Problem with your TripIt submission”Sometimes some data from a document are not identifiedSometimes Klaus reads: “Please help us to improve! Let us know how good we captured your flight.”This is a hint on what Tripit does: in case it does not know how to find the data it has to guessBecause there is no standardized way to access the data it has to use proprietary interfaces to get them.

Copyright © 2008, W3C

(43)

(43)

So in some ways, this shows the huge power of what a Web of data providesBut mash-up sites are forced to do very ad-hoc jobs

various data sources expose their data via Web Serviceseach with a different API, a different logic, different structurethese sites are forced to reinvent the wheel many times because they don't use a standard way of doing things

Copyright © 2008, W3C

(44)

(44)

Put it another way (again)…Put it another way (again)…We would like to extend to the current Web with a standard way for a “Web of data”

Copyright © 2008, W3C

(45)

(45)

But what does this mean? But what does this mean?

What makes the current (document) Web work?people create different documentsthey give an globally unique address to it (i.e. a URI) and make it accessible to others on the Web

Copyright © 2008, W3C

(46)

(46)

An example: Steven’s site on AmsterdamAn example: Steven’s site on Amsterdam

Copyright © 2008, W3C

(47)

(47)

Then some magic happens…Then some magic happens…Others discover the site and they link to it

So Search engines can find it and index itThe more they link to it, the more important and well known the page becomes

remember, this is one criterion, Search engines use to rank pages.

This is the “Network effect”: some pages become important, and others begin to rely on it (even if the author did not expect it…)

Copyright © 2008, W3C

(48)

(48)

This link to Steven’s is, sort of, This link to Steven’s is, sort of, understandable…understandable…

Copyright © 2008, W3C

(49)

(49)

… … but this one is on the other side of the but this one is on the other side of the Globe!Globe!

Copyright © 2008, W3C

(50)

(50)

What would that mean for a Web of Data?What would that mean for a Web of Data?Lessons learnt: we should be able to:

“publish” the data to make it known on the Web standard ways should be used instead of ad-hoc approaches the analogous approach to documents: give URI-s to the data

make it possible to “link” to that URI from other sources of data (not only Web pages) using standard approaches

ie, applications should not be forced to make targeted developments to access the data (as we saw with mash-ups)

generic, standard approaches should suffice and let the network effect work its way…

Copyright © 2008, W3C

(51)

(51)

Example: combine data from experimentsExample: combine data from experimentsA drug company has huge amount of old experimental data on its IntranetData in different formats (XML, databases, …)

Courtesy of Nigel Wilkinson, Lee Harland, Pfizer Ltd, Melliyal Annamalai, Oracle (SWEO Case Study)

To reuse them:make the important facts available on the Web via standardsuse off-the-shelf tool to integrate, display, search

Copyright © 2008, W3C

(52)

(52)

But it is a little bit more complicatedBut it is a little bit more complicatedOn the traditional Web, humans are implicitly taken into accountA Web link has a “context” that a person may use

Copyright © 2008, W3C

(53)

(53)

Eg: public encryption key on Ivan's page:Eg: public encryption key on Ivan's page:

Copyright © 2008, W3C

(54)

(54)

Eg: public encryption key on Ivan's page:Eg: public encryption key on Ivan's page:

Copyright © 2008, W3C

(55)

(55)

Humans can interpret labels ...Humans can interpret labels ...A human understands that this is Ivan's encryption key (it is in the text!)She knows what she can do with it (e.g. add it to her keyring). Therefore to label a link “click here” is a usability and accessibility clash in most cases.

On a Web of Data, something is missing; machines can make no sense of that link alone

Copyright © 2008, W3C

(56)

(56)

extra information (“label”) must be added to a link: “this links to a GnuPG public key”. this information should be machine readablethis is a characterization (or “classification”) of both the link and its targetin some cases, the classification should allow for some limited “reasoning”

So for the Web of data ...So for the Web of data ...

Copyright © 2008, W3C

(57)

(57)

Let us put togetherLet us put togetherwhat we need for a Web of Datawhat we need for a Web of Data

URI-s to publish data, not only full documentsdata can to link to other datathe data and the links (the “terms”) should be characterized/classified to convey some extra meaning standards for all these to maintain interoperability

Copyright © 2008, W3C

(58)

(58)

Example: find the right experts at NASAExample: find the right experts at NASA

NASA has nearly 70,000 civil servants over the whole of the USTheir expertise is described in 6-7 databases, geographically distributed, with different data formats, access types…Task: find the right expert for a specific task within NASA!

Michael Grove, Clark & Parsia, LLC, and Andrew Schain, NASA, (SWEO Case Study)

Copyright © 2008, W3C

(59)

(59)

Example: find the right experts at NASAExample: find the right experts at NASAApproach: integrate all the data with standard means, and describe the data and links using generic vocabularies

Michael Grove, Clark & Parsia, LLC, and Andrew Schain, NASA, (SWEO Case Study)

Copyright © 2008, W3C

(60)

(60)

So What So What isis the Semantic Web? the Semantic Web?

Copyright © 2008, W3C

(61)

(61)

It is a collection of standard technologies It is a collection of standard technologies to realize a Web of Datato realize a Web of Data

Copyright © 2008, W3C

(62)

(62)

a common model has to be provided for machines to understand the “labels” and draw some conclusions from that infothe “classification” of the terms can become very complex for specific knowledge areas: this is where ontologies, thesauri, vocabularies, etc, enter the game…

It is that simple…It is that simple…but of f course, the devil is in the detailsbut of f course, the devil is in the details

Copyright © 2008, W3C

(63)

(63)

Example: eTourism in ZaragozaExample: eTourism in Zaragoza

Provide personalized itinerary serviceIntegration of different databases in Zaragoza (using targeted ontologies)Use rules on the data to provide a proper itinerary

Courtesy of Jesús Fernández, Municipality of Zaragoza, and Antonio Campos, CTIC (SWEO Use Case)

Copyright © 2008, W3C

(64)

(64)

Wait! Does it mean that you have to Wait! Does it mean that you have to convert all your data in some way?convert all your data in some way?

Copyright © 2008, W3C

(65)

(65)

Not necessarily; this would not always be feasibleThere are technologies to make your data accessible to standard means without converting it

run-time “bridges” (e.g. rewriting queries on the fly)generate only entry points in separate datasetsannotate existing data (e.g. XHTML pages)etc

Convert your data?Convert your data?

Copyright © 2008, W3C

(66)

(66)

Example: integrate knowledge for Chinese Example: integrate knowledge for Chinese MedicineMedicine

Integration of a large number of TCM databases around 80 databases, around 200,000 records each

Uses specialized ontologiesQueries are converted on-the-fly to the databases

Courtesy of Huajun Chen, Zhejiang University, (SWEO Case Study)

Copyright © 2008, W3C

(67)

(67)

In the end ...In the end ...There is a huge potential for useful applications once we have a web of dataMash-ups give good examples for applications based on linking dataWhen (re)designing a web site some thoughts on publishing data along with the documents might pay in the future.

Copyright © 2008, W3C

(68)

(68)

Slides are available at:http://www.w3.org/2008/Talks/1002RioDeJaneiro-KB-IH/in OpenDocument Presentation Format and PDF.

Questions? Thank you for your attention!