blogs, rss, semantic web: a perspective marco brandizi gives_presentation fermo, 25 nov 2005...

61
Blogs, RSS, Blogs, RSS, Semantic Web: Semantic Web: a Perspective a Perspective Marco Brandizi <[email protected]> gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Post on 30-Jan-2016

214 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Blogs, RSS, Blogs, RSS, Semantic Web:Semantic Web:

a Perspectivea Perspective

Blogs, RSS, Blogs, RSS, Semantic Web:Semantic Web:

a Perspectivea Perspective

Marco Brandizi <[email protected]>

gives_presentation

Fermo, 25 Nov 2005

organized_by

has_place_date

has_name_email

works_inpart_of

Page 2: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

http://www.hpl.hp.com/personal/marbut/isTheSemanticWebHype.pdf

Page 3: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Once Upon, along ago...

Page 4: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The WWW idea

1) GET index.html

2) <html>...</html>

3) GET web_arch.gif

www.somesite.com

3) 0 0 10 23 123 258...

Web browser (client)index.html

web_arch.gif

4)

Web Server

Page 5: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The WWW idea: links

(again, from the Berners-Lee proposal)

Page 6: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution: dynamic applications

Storage

(SQL / Relatio

nal DB)

Engine / Web Programming Environment

Web Server

Page 7: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution: CMSs

Page 8: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

http://en.wikipedia.org/wiki/Salam_Pax

http://dear_raed.blogspot.com/

The Web evolution:weblogs (or blogs)

Page 9: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution:weblogs (or blogs)

http://mabryonline.org/archives/technology/

Page 10: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution: Wiki

Page 11: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution: Wiki

Page 12: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Social networkingContent is widely shared, people can improve and enrich itWeb contents are related one each other considering how people use themNetworks of people are created by people themselves, with the help of softwarePublish the contents, let the people invent novel creative ways to use them (RSS and Atom)

Page 13: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Social networking: Page Rank

Page 14: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Social networking: Page Rank

Page 15: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Social networking: del.icio.us

Page 16: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution/2Reduction of hardware and connectivity costsMultimedia devices, TCP/IP enabled devices

Page 17: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution/2: Scripting

<html> <body> <?php $server = $_SERVER['HTTP_USER_AGENT']; if (strpos($server, 'MSIE') !== false) { echo 'You are using Internet Explorer<br />'; } else { ?> <H2>You're using <?= $server ?> browser and it is not MS IE. Good... ;-)</H2> <? } ?> </body></html>

Page 18: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution/2

Ideas and technologies for developers

ScriptingComplex architectures:

Model/View/Controller (MVC), XML (more in in the follows)Persistent objects (EJ2EE)Web services (more in the follows)

Pluggability (ex.: http://www.w3.org/2005/04/swls/BioDash/Demo)

Client side scripting (Javascript)Standardization (DOM)New approaches: AJAX

Page 19: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution/2: AJAX

(From http://www.javarss.com/ajax/j2ee-ajax.html)

Page 20: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution/2: AJAX

(From http://brandedthoughts.co.uk/images/screenshots/recipe/safari-autocomplete.jpg)

Ok, in MS Access was trivial, but...

Page 21: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

The Web evolution/2: AJAX

Page 22: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Limits of hypertext modelHTML is often a mess where data drowns

(From www.biodirectory.it)

Page 23: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Limits of hypertext modelHTML is often a mess where data drowns

Page 24: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Limits of hypertext modelLinks are semantically poor, especially for the machines

What's this link about?The authorAn opposite point of view?A related topic?

Xlink: nice, but not so much...

Search by keywords: Google is simple and great, but...

“cancro”... but NOT “Oroscopo”“European projects guidelines”... actually I was looking for “CORDIS”

Page 25: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Representing contents: XML<Addressbook> <Person sourcedb = "department"> <Name>Marco</Name> <Surname>Brandizi</Surname> <Addresses> <Address order = "1"> <Street>Via Và  182</Street> <City>Fermo</City> <Prov>AP</Prov> <Country>IT</Country> </Address> <Address order = "2"> <Street>Via Vattelappesca 1</Street> <City>Milano</City> <Country>IT</Country> </Address> </Addresses> </Person> <Person> <Name>Andrea</Name> ... </Person></Addressbook>

AddressBook

AddressBook

PersonPerson PersonPerson

AddressAddressAddressAddress

AddressAddress

Brandizi

Marco

Andrea

Via Và

Fermo

Via VattelappescaMilano

Page 26: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Representing contents: XML

From www.notebookproject.org

Page 27: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

But it's not enough...XML is not enough flexible and expressive

Representation of meaningSurname and “Family name”

Extending a schemaconnecting information

Page 28: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Resource Description Framework (RDF)

You may handle statements

Subject/Property(or verb)/Object may reference public resources, identified by URIs (like Web pages)

A given resource may flexibly be annotated by many statements

Meaning of statements may be defined by other statements and higher languages (which still are RDF representable)

Page 29: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

RDF example

From Computational Biology (Nature Group), Sept 2005,

Page 30: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

RDF Example

Page 31: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

RDF examples: RSS and Atom

RSSOwl, see also RojoRSSOwl, see also Rojo

Page 32: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

News feeders/AggregatorsWhat you can do with a news feeder

Read news from multiple sites, in a single readerGroup items into topics, aggregate itemsRate/tag contents and exploit social networking: Amphetarate, RojoPublish your topics on your BlogRoll, OPML.Write new smart software!

In the future

Publish comments and alikeMaintain your blogSemantic blogging (www.semanticblogging.org)

See also (about RSS/Atom and social implications):

www.benhammersley.com

Page 33: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Examples of RDF: FOAF

Friend of a Friend (FOAF), see also LinkedIn

Page 34: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

More than RDF: “Ontologies”

Page 35: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

OntologiesExamples of queries with ontologies“nails is-part-of elephant”? yes, because:

“has-legs” and “has-nails” are particular “has-parts” transitive relation“is-part-of” is the inverse of “has-parts”

Page 36: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

OntologiesExamples of queries with ontologies“giraffe is-eaten-by lion”? yes, because:

giraffe is-a herbivore > is-a animal

lion is-a carnivore > lion eats animal > lion eats giraffe“is-eaten” is the inverse of “eats”

Page 37: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

“Ontologies”Other examples: vocabularies, directories, goods catalogs

WordNetOntolinguaMeSH, Gene OntologySimple Knowledge Organisation System

Simple example: www.governo.it

Page 38: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Ontologies examples

Page 39: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Semantic news: news.com.com

Page 40: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Annotea, Annozilla

Page 41: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Annotea, Annozilla

Page 42: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Annotea and future of Web Annotations

Represent the meaning of annotationsRepresent the meaning of concept annotationsCommon taxonomies and ontologies

http://www.w3.org/2002/Talks/0511-annotea/slide9-0.html

www.semanticblogging.org

Page 43: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Semantic Annotation: SMORE

(http://owl.mindswap.org)

Page 44: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Semantic Web Example: Piggy Bank

Page 45: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Piggy Bank

Page 46: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Piggy Bank

Page 47: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Putting all together:W3C and Semantic Web

Page 48: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Putting all together:W3C and Semantic Web

URI: how to address things on internetUnicode: the “alphabet”RDF-S, OWL: ontologies, define the semantics of thingsSPARQ-L: to make semantic-aware queriesRules, Logic, proof, trust: deductions, logical “reasoning”, inference

It's complex, but it's needed, because we want...

Page 49: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

...this!

Page 50: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Services Integration: Web Services

User

Amazon Web site

3rd parties catalogs

PurchaseService

CC service

VISA

Mastercard

...

3

4

5

12,2b

6

7

89

Page 51: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Services IntegrationHow to realize such services integration?

Call remote code (RPC, J2EE)Code mobility (Java Applets, Agents)Exchange messages, use XML => SOAP and Web services

How to discover services?

Handily or RegistersHow to know that a service is about “book purchasing”?

Up to userOntologies!

How to compose services?

Up to userReasoning!

Page 52: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

myGrid and Taverna

Page 53: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

myGrid and Taverna

Page 54: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

WSs and Semantic WebGive me the directions from A to B... do it automatically...

find the best option!

Page 55: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Conclusions (?)What we are learning from...

AJAXMore and more Interactive WebA flexible approach for developers

RDF, RSS, Atom and alike: Publish the contents, let the world find how to use them

Ontologies, Knowledge representation in the Web:

More power to the machines to help the mankind...Yet another AI failure?

Web ServicesThe web as a inter-connection of services, which can creatively composed... hopefully... automatically... hopefully...

Page 56: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Conclusions (?)What we are learning about the future, beyond the technologies...

More horizontal access to informationLess rafts in the ocean, with social networking and alikeMore “Open Culture”

Semantic Web must be open and full of standardsApplications are coming (almost) from grassroots peopleContents are accessed in uncontrollable fashion, usually by massKiller applications are more and more OS independent (good news for Linux, and not only...)

Page 57: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Conclusions (?)But..

Traditional models and powers still are well aliveThere is a country, there in South Europe...Software Patents

Digital divide is a really worrying obstacle, and it's not only about not accessing a computer

Society improvement is not (only) a technology matterWhat is Internet?

Still in many places “wiring” means setup electricity

Page 58: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Conclusions (?)Hopes for the future...

Open Source, Open technologies, Open cultureShare the codeShare the contents, your musics, piece of art, etc.Share the passion for technologies, from social point of view

Have fun! ;-)

Page 59: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Semantic Web around here...

www.dbin.org

Page 60: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Want to know more?

http://trinity.dit.unitn.it/vikef/swap2005/, 14, 15, 16 Dec. 2005See Also http://iswc2005.semanticweb.org/

Page 61: Blogs, RSS, Semantic Web: a Perspective Marco Brandizi gives_presentation Fermo, 25 Nov 2005 organized_by has_place_date has_name_email works_in part_of

Thanks!

Find this slides at: http://bioguest.btbs.unimib.it/~brandizi/

sem_web_linux_day_05.sxi