reification

156
REIFICATION KAZUHIROFUJIE

Upload: shunsaku-kudo

Post on 05-Dec-2014

3.441 views

Category:

Technology


1 download

DESCRIPTION

2004/12/01 Talk about RDF, RSS, Blog, Wiki, SNS, Contents Syndication, Semantic Web. Sub titile "Gaze at RDF and RSS imagine Semantic Web"

TRANSCRIPT

Page 1: Reification

REIFICATION

KAZUHIRO FUJIE

Page 2: Reification

intro code

Page 3: Reification

intro digit

Page 4: Reification

intro digit

Page 5: Reification

intro digit

Page 6: Reification

Gaze at RDF and RSSimagine Semantic Web

Kazuhiro FujieITOCHU TECHNO-SCIENCE Corporation

2004/12/01

Page 7: Reification

I’m in.

Page 8: Reification

I’m in.

Page 9: Reification

I’m in.

Page 10: Reification

I’m in.

Page 11: Reification

I’m in.

Page 12: Reification

I’m in.

Page 13: Reification

I’m in.

Page 14: Reification

I’m in.

Page 15: Reification

I’m in.

Page 16: Reification

I’m in.

Page 17: Reification

I’m in.

Page 18: Reification

I’m in.

Page 19: Reification

I’m in.

Page 20: Reification

" I’m in. "

Trinity

Page 21: Reification

I got the key.

• 名称: W3C Day Japan 2003• 日時: 2003年11月14日 (金)• 「Web の生みの親 Tim Berners-Lee 自

ら Semantic Web を語る」– http://www.w3.org/2003/11/14-W3CDay-

Japan/

• 計算機処理可能なメタデータによって構築される次世代 Web 技術 Semantic Web

Page 22: Reification

" Zion! Hear Me!"

Morpheus

Page 23: Reification

‘Zion! Hear me!’

Page 24: Reification

" Zion! Hear Me!It is true what many of you have heard.

The machines have gathered an army, and I speak that army is drawing nearer to our

home.Believe me when I say we have a difficult

time ahead of us. But if we are to be prepared for it, we must first shed our fear of it. I stand here before you now truthfully

unafraid.Why? "

Morpheus

Page 25: Reification

" Because I believe something you do not?No?

I stand here without fear because I remember.

I remember that I am here not because of the path that lies before me, but because

of the path that lies behind me.I remember that for 100 years we have

fought these machines.I remember that 100 years they have sent

their armies to destroy us."

Morpheus

Page 26: Reification

" And after a century of war, I remember that which matters most:

We are still here!Tonight, let us send a message to that

army.Tonight, let us shake this cave.

Tonight, let us tremble these halls of earth, steel and stone.

Let us be heard from red core to black sky.Tonight, let us make them remember:This is zion and we are not afraid! "

Morpheus

Page 27: Reification

Blog

WebLog

Page 28: Reification

Blog

• Web+Log -> WebLog -> We+Blog -> Blog

• 「手軽に更新できる」サイト– コンテンツの更新や追加を、ブラウザから行な

える

• 記事が新しい順に時系列に並んでいる

• Web日記? Journal vs. weblog• 様々な形態。より簡単に。

Page 29: Reification

Blog CGI Server

• Movable Type• Blosxom(pronounced "blossom"),

Nucleus, WordPress, pMachine, Radio UserLand, …

• GsBlog, Blogn(ぶろぐん), PHPWeblog, ppBlog, stereolog, sb,Naruto, 華式(Kshiki), WebFrog,tDiary, …

Page 30: Reification

Movable Type

Page 31: Reification

with ease

Page 32: Reification

Blog Hosting Service

• Blogger, TypePad, Tripod blog, …• チャンネル北国tv, はてなダイアリー,

JUGEM, 2ch-blog, ヤプログ, …• goo BLOG, livedoor Blog, 楽天広場,

Excite ブログ, MSN space, …• ココログ, ブログ人, So-net blog, AOL

ダイアリー, LOVELOG, ウェブリブログ

• TypePad Japan, サンリオブログ, …

Page 33: Reification

Blogger

Page 34: Reification

Neuromancer

Page 35: Reification

TypePad

Page 36: Reification

Blog Feature

• Simple and Easy– 個人で始められる。

– 簡単に更新できる。

– 更新が頻繁に行われる。

• Syndication– 他のサイトと連携ができる。

–TrackBack, RSS

Page 37: Reification

Wiki

Wiki Wiki Web

Page 38: Reification

Wiki

• Ward Cunningham–Wiki Wiki Web– " The simplest online database that

could possibly work. "

• 「誰でも編集できる」

• WikiWikiClones–RWiki, Hiki, Swiki, FreeStyle Wiki,

YukiWiki, …

Page 39: Reification

YukiWiki

Page 40: Reification

A lot of Smith.

Page 41: Reification

A lot of Smith.

Page 42: Reification

A lot of Smith.

Page 43: Reification

A lot of Smith.

Page 44: Reification

A lot of Smith.

Page 45: Reification

A lot of Smith.

Page 46: Reification

A lot of Smith.

Page 47: Reification

A lot of Smith.

Page 48: Reification

A lot of Smith.

Page 49: Reification

A lot of Smith.

Page 50: Reification

A lot of Smith.

Page 51: Reification

A lot of Smith.

Page 52: Reification

A lot of Smith.

Page 53: Reification

A lot of Smith.

Page 54: Reification

A lot of Smith.

Page 55: Reification

A lot of Smith.

Page 56: Reification

" It is purpose that created us.Purpose that connects us.

Purpose that pull us.That guides us.That drives us.

It is purpose that defines.Purpose that bind us."

Smith (not Agent)

Page 57: Reification

Syndication

Feed & Aggregation

Page 58: Reification

Content Syndication

• サイトの更新情報を提供。

– " Syndicate this site (XML) "

– 「 このサイトと連携する (XML) 」

• RSSを生成し提供

–Blogの機能による

–Blog以外のサイトでも提供

Page 59: Reification

Syndicate this site ?

Page 60: Reification

Subscription & Aggregation

• RSS Feed and Reader/Aggregator• Publish/Subscribe model

RSSFeed

RSSReader

Subscription

RSSFeed/Reader

Subscription

Subscription

Aggregation

Subscription

Subscription

RSSFeed/Reader

Page 61: Reification

" I am a trafficker of information.

I know everything I can. "

Merovingian

Page 62: Reification

Merovingian

Page 63: Reification

RSS Reader/Aggregator

• Feedreader, FeedDemon, RSSOwl,NewsGlue, SharpReader, …

• Headline-Deskbar, RabbitTicker, …• AmphetaDesk, …• Miech, Mozilla Firefox, …• RSS Feed を提供しているサイトを登録し

自ら読み込む事により更新情報を取得。

Page 64: Reification

AmphetaDesk

Page 65: Reification

Rabbit Ticker

Page 66: Reification

FeedReader

Page 67: Reification

Mozilla Firefox

Page 68: Reification

Opera

Page 69: Reification

" I know because I must know.It is my purpose.

It’s the reason I’m here,the same reasonwe’re all here. "

Keymaker

Page 70: Reification

Keymaker

Page 71: Reification

RSS

RDF Site Summary

Page 72: Reification

RSS Stands for …

• RDF Site Summary - RSS1.0• Rich Site Summary - RSS0.91• Really Simple Syndication -RSS2.0• Radio Service Software, Rail

Security Service, Remote Storage Service, Remote Switch Subsystem, Roland Sound Space …

Page 73: Reification

RSS CAST & CREW

• Ramanathan V. Guha, Apple.• Ora Lassila, Ralph R. Swick, W3C.• Dan Libby, Netscape.• Dave Winer, UserLand Software.• The RSS-DEV Working Group:• Netscape, Apple(Steve Jobs), W3C,

Microsoft, UserLand, O’Reilly, …

Page 74: Reification

RDF/RSS History 1/6

• Meta Content Framework (MCF)–Project Sauce/X, later renamed

HotSauce, Ramanathan Guha

• Channel Definition Format (CDF)–called "Pointcast", Microsoft.– called "Active Desktop", Microsoft.

Page 75: Reification

RDF/RSS History 2/6

• Resource Description Framework (RDF)– first RDF working draft released.–RDF Model and Syntax Specification

released as a W3C Recommendation, W3C.

Page 76: Reification

RDF/RSS History 3/6

• RSS 0.9 (RDF Site Summary)–called "My Netscape Network", Dan

Libby, Netscape.

• RSS 0.91 (Rich Site Summary)–Dan Libby, Netscape–Dave Winer, UserLand.

Page 77: Reification

RDF/RSS History 4/6

• RSS 1.0 (RDF Site Summary)–closer original RDF conception, The

RSS-DEV group.

• RSS 0.92 (Rich Site Summary?)–Dave Winer, UserLand.

Page 78: Reification

RDF/RSS History 5/6

• Resource Description Framework (RDF)–RDF Schema Specification 1.0

published as a W3C Candidate Recommendation, W3C.

• XML World 2000–"XML and the Web", by Tim Berners-

Lee.

Page 79: Reification

RDF/RSS History 6/6

• RSS 2.0 (Really Simple Syndication)–Dave Winer, UserLand.

• Atom (formerly Echo) …

Page 80: Reification

" Confused, Mr. Anderson?It’ll all become clear in a

moment. "

Bane (Smith)

Page 81: Reification

‘Smith’

Page 82: Reification

Confusion Version

• RSS 0.90 - RDF Based, Netscape. • RSS 0.91 - RDF-free, Netscape

and UserLand Software.• RSS 1.0 – RDF Based, The RSS-

DEV. • RSS 0.92 - RDF-free, UserLand.• RSS 2.0 - RDF-free, UserLand.

Page 83: Reification

" Reload ! "

Captain Mifune

Page 84: Reification

‘Mifune’

Page 85: Reification

tree of RSS 1.0channelchannel

titletitle imageimage textinputtextinput itemitem

linklink

descriptiondescription

imageimage

textinputtextinput

itemsitems

titletitle

urlurl

linklink

titletitletitletitle

descriptiondescription

namename

linklink

linklink

descriptiondescription

Page 86: Reification

RSS 1.0 document 1/3

<?xml version="1.0" encoding="utf-8"?>

<rdf:RDF xmlns:rdf=http://www.w3.org/1999/02/22-rdf-syntax-ns#xmlns:dc=http://purl.org/dc/elements/1.1/xmlns:sy=http://purl.org/rss/1.0/modules/syndication/xmlns:admin=http://webns.net/mvcb/xmlns:cc=http://web.resource.org/cc/xmlns="http://purl.org/rss/1.0/">

<channel rdf:about="http://johnnydepp/macaroni/">…

</rdf:RDF>

• Generated by Movable Type

Page 87: Reification

RSS 1.0 document 2/3

<channel rdf:about="http://johnnydepp/macaroni/"><title>m@c@roni</title><link>http://johnnydepp/macaroni/</link><description /> <dc:language /> <dc:creator /><dc:date>2004-11-12T14:41:00+09:00</dc:date><admin:generatorAgent rdf:resource=

"http://www.movabletype.org/?v=3.01D-ja" /><items>

<rdf:Seq><rdf:li rdf:resource="http://johnnydepp/macaroni/

archives/2004/11/get_you_ferrari_1.html" /></rdf:Seq>

</items></channel>

• Generated by Movable Type

Page 88: Reification

RSS 1.0 document 3/3

<item rdf:about="http://johnnydepp/macaroni/archives/2004/11/get_you_ferrari_1.html">

<title>Ferrari iPod Photo - Gonna Get You</title><link>http://johnnydepp/macaroni/

archives/2004/11/get_you_ferrari_1.html</link><description>Ferrari色を注文しました。思い切ってのiPod

Photoです。 ...</description><dc:subject>Box</dc:subject><dc:creator>kfujie</dc:creator><dc:date>2004-11-12T14:41:00+09:00</dc:date>

</item></rdf:RDF>

• Generated by Movable Type

Page 89: Reification

" Blind messiah, you’re a symbol for all of your kind, Mr. Anderson.

Helpless.Pathetic.

Just waiting to be put out of your misery. "

Bane (Smith)

Page 90: Reification

RSS library of Java

• Informa–" The goal of the Informa Project is to

provide a news aggregation library based on the Java Platform. "

–RSS 0.9x, RSS 1.0 / RDF, RSS 2.0, Atom 0.3

• Others–RSS4j, RSSLib4J, RSSLibJ …– (JSR) Standard does not exist.

Page 91: Reification

Using Informa

• Parsing an RSS feed

File inpFile = new File("javanews.xml");ChannelIF channel = FeedParser.parse(new ChannelBuilder(), inpFile);

URL inpUrl = new URL("http://johnnydepp/macaroni/index.rdf");ChannelIF channel = FeedParser.parse(new ChannelBuilder(), inpUrl);

Page 92: Reification

Result of Parsing

• Output of ConsoleC:¥>java Trainman http://johnnydepp/macaroni/index.rdfChannel Title : m@c@roniChannel Overview :Channel Generator : http://www.movabletype.org/?v=3.01D-jaChannel Docs : http://purl.org/rss/1.0/Items+ ...+------------------------------------------+- Title : Ferrari iPod Photo - Gonna Get You- Link : http://johnnydepp/macaroni/archives/

2004/11/get_you_ferrari_1.html- Desc : Ferrari色を注文しました。

思い切ってのiPod Photoです。...

Page 93: Reification

" Knuckle Up ! "

Captain Mifune

Page 94: Reification

‘Mifune’

Page 95: Reification

Demo

Parsing RSS

Page 96: Reification

" The Trainman.I don’t like him. "

Sati

Page 97: Reification

‘Trainman’

Page 98: Reification

RDF

Resource Description Framework

Page 99: Reification

RDF Stands for …

• Resource Description Framework– framework for metadata

• Refuse Derived Fuel– 可燃性廃棄物(ごみ等)を破砕、圧縮成形する

ことにより作られる固形燃料です

Page 100: Reification

RDF CAST & CREW

• Ora Lassila, W3C.• Ralph R. Swick, W3C.• Ramanathan V. Guha, IBM.• Dan Brickley, W3C.• Eric Miller, W3C.• Tim Bray, Sun Microsystems.• Tim Berners-Lee, W3C.

Page 101: Reification

Resource Description Framework (RDF)

• RDF is a universal format for data on the Web

• RDF started as framework for metadata; providing interoperability between applications that exchange machine-understandable information on the Web.

Page 102: Reification

Resource Description Framework (RDF) cont.

• RDF emphasizes facilities to enable automated processing of Web resources and as such provides the basic building blocks for supporting the Semantic Web.

• RDF metadata can be used in a variety of application areas; …

Page 103: Reification

Metadata

• Metadata is "data about data."–ex. a library catalog is metadata.

• The solution proposed here is to use metadata to describe the data contained on the Web.–Because of the volume of information

the Web contains, it is not possible to manage it manually.

Page 104: Reification

‘Stairs, Smith.’

Page 105: Reification

RDF Specification

• Resource Description Framework (RDF): Concepts and Abstract Syntax

• RDF Semantics• RDF/XML Syntax Specification

(Revised)• RDF Vocabulary Description

Language 1.0: RDF Schema• RDF Primer• RDF Test Case

Page 106: Reification

RDF Design Goals

• A Simple Data Model• Formal Semantics and Inference• Extensible URI-based Vocabulary• XML-based Syntax• Use XML Schema Datatypes• Anyone Can Make Statements

About Any Resource

Page 107: Reification

RDF Concepts

• Graph data model• URI-based vocabulary• Datatypes• Literals• XML serialization syntax• Expression of simple facts• Entailment

Page 108: Reification

" Three captain, One ship. "

Commander Lock

Page 109: Reification

RDF Triples

• RDF Triples contains 3 components:–Subject–Predicate–Object

• Graph Data Model

PredicateSubject Object

Page 110: Reification

" When I see 3 objectives,3 captains, 3 ships …I do not coincidence.

I see providence.I see purpose. "

Morpheus

Page 111: Reification

3 objectives,3 captains, 3 ships

Page 112: Reification

RDF/XML Describing Eric Miller

• Example RDF/XML from RDF primer

<?xml version="1.0"?><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"

xmlns:contact="http://www.w3.org/2000/10/swap/pim/contact#">

<contact:Person rdf:about="http://www.w3.org/People/EM/contact#me">

<contact:fullName>Eric Miller</contact:fullName><contact:mailbox rdf:resource="mailto:[email protected]"/><contact:personalTitle>Dr.</contact:personalTitle>

</contact:Person>

</rdf:RDF>

Page 113: Reification

An RDF Graph Describing Eric Miller

• Example RDF/XML from RDF primer

Page 114: Reification

IsaViz

• A Visual Authoring Tool for RDF• RDF/XML, Notation 3 and N-Triple

import• implemented in Java• includes software developed by:

–HP Labs (Jena 2 Semantic Web Toolkit)–The Apache Software Foundation

(Xerces Java 2)

Page 115: Reification

Eric Miller @ IsaViz

Page 116: Reification

RSS1.0 @ IsaViz

Page 117: Reification

" Knuckle Up ! "

Captain Mifune

Page 118: Reification

‘Mifune’

Page 119: Reification

Demo

display of RDF graph

Page 120: Reification

Blog feed @ IsaViz

Page 121: Reification

" You see?It’s like wiping your ass

with silk. I love it."

Merovingian

Page 122: Reification

Merovingian

Page 123: Reification

RDF Vocabularies

• defines a vocabulary.– semantic extension of RDF

• Dublin Core• FOAF - Friend of a Friend• Creative Commons License• Composite Capabilities /

Preferences Profile (CC/PP)• RSS

Page 124: Reification

" No, it is a word.What matters is the connection the word

implies. "

Rama

Page 125: Reification

Rama and Sati

Page 126: Reification

RDF Helps Make the Web More Functional

" RDF has a general-purpose design and we are pleased that it is already being applied in areas we did not originally anticipate. Sophisticated applications of RDF may combine metadata about the same object supplied by more than one party on the Web, selecting the optimal source for specific properties and merging the sources' expertise. "-- Bob Schloss, IBM, W3C RDF Working Group co-chair

Page 127: Reification

" It’s not over. "

Smith

Page 128: Reification

‘Smith’

Page 129: Reification

Semantic Web

Brave New World

Page 130: Reification

‘Serafu, Trin, Morph’

Page 131: Reification

Starring

• Tim Berners-Lee, W3C.– In 1989, he proposed a global hypertext project, to

be known as the World Wide Web. Based on the earlier "Enquire" work, it was designed to allow people to work together by combining their knowledge in a web of hypertext documents. He wrote the first World Wide Web server, "httpd", and the first client, "WorldWideWeb" a what-you-see-is-what-you-get hypertext browser/editor which ran in the NeXTStep environment. This work was started in October 1990, and the program "WorldWideWeb" first made available within CERN in December, and on the Internet at large in the summer of 1991.

Page 132: Reification

The Semantic Web

"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." -- Tim Berners-Lee, James Hendler,

Ora Lassila, The Semantic Web, Scientific American, May 2001

Page 133: Reification

The 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. Such an agent coming to the clinic's Web page will know not just that the page has keywords such as "treatment, medicine, physical, therapy" (as might be encoded today) "

Page 134: Reification

The Semantic Web

" … but also that Dr. Hartman works at this clinic on Mondays, Wednesdays and Fridays and that the script takes a date range in yyyy-mm-dd format and returns appointment times."-- Tim Berners-Lee, James Hendler,

Ora Lassila, The Semantic Web, Scientific American, May 2001

Page 135: Reification

" There. Those mountains.That’s it. "

Neo

Page 136: Reification

‘Logos’

Page 137: Reification

Appendix

Bibliography and more…

Page 138: Reification

Specification

• RDF Site Summary (RSS) 1.0– http://web.resource.org/rss/1.0/spec

• Resource Description Framework (RDF)– http://www.w3.org/RDF/

• Semantic Web– http://www.w3.org/2001/sw/

Page 139: Reification

Bibliography

• Practical RDF–Shelley Powers– ISBN:0-596-00263-7

• Content Syndication With RSS–Ben Hammersley– ISBN:0-596-00383-8

Page 140: Reification

Bibliography

• Movable Typeで今すぐできるウェブログ入門

– 平田 大治

– ISBN:4-844-31812-8

• 結城浩のWiki入門

– 結城浩

– ISBN:4-844-31915-9

Page 141: Reification

Philosophy

• EXISTENTIAL PHENOMENOLOGY AND THE BRAVE NEW WORLD OF THE MATRIX –HUBERT DREYFUS & STEPHEN

DREYFUS– http://whatisthematrix.warnerbros.com/

• PHILOSOPHY AND THE MATRIX– http://whatisthematrix.warnerbros.com/rl_cm

p/phi.html

Page 142: Reification

Article

• The Web KANZAKI– Masahide Kanzaki– http://kanzaki.com/docs/sw/rss.html

• Brave New World– Shelley Powers– http://burningbird.net/articles/

• Rebirth – Kent Beck– http://www.tech-arts.co.jp/xp/Rebirth.pdf

Page 144: Reification

Software

• Movable Type– http://www.movabletype.org/

• TypePad– http://www.typepad.com/

• Blogger– http://www.blogger.com/

• YukiWiki– http://www.hyuki.com/yukiwiki/

Page 145: Reification

Software

• AmphetaDesk– http://www.disobey.com/amphetadesk/

• RabbitTicker – http://www.work-at.co.jp/rabbit/index.html

• Feedreader– http://www.feedreader.com/

• Mozilla Firefox– http://www.mozilla.org/products/firefox/

Page 146: Reification

Software

• Opera– http://www.opera.com/

• Informa– http://informa.sourceforge.net/

• IsaViz– http://www.w3.org/2001/11/IsaViz/

Page 147: Reification

Hardware

• iPod photo– http://www.apple.com/jp/ipodphoto/

– Apple Computer, Inc.

• iPod photo in color– http://www.colorwarepc.com/

– ColorWare Inc.

Page 148: Reification

Person

• Tim Berners-Lee– http://www.w3.org/People/Berners-Lee/

• Dan Brickley– http://www.w3.org/People/DanBri/

• Eric Miller– http://www.w3.org/People/EM/

• Ramanathan V. Guha– http://www.guha.com/cv.html

Page 149: Reification

Person

• Dan Libby – http://dan.libby.com/

• Dave Winer– http://dave.editthispage.com/

• Emmanuel Pietriga– http://www.lri.fr/~pietriga/

• Ora Lassila– http://www.lassila.org/

Page 150: Reification

Person

• Tim Bray– http://www.tbray.org/ongoing/

Page 151: Reification

Music

• "Imagine"– John Lennon– http://www.lennon.net/music/imagine.shtml– ASIN: B00009Y3Q3

• "Across The Universe"–Beatles– http://www.thebeatles.com/– ASIN: B000002UB6

Page 152: Reification

Music

• "Dream on"–Aerosmith– http://www.aerosmith.com/– ASIN: B0000029AL

• "Over the Mountain"–Ozzy Osbourne & Randy Rhoads– http://www.ozzynet.com/– ASIN: B000063DIR

Page 153: Reification

Music

• "Crazy Train"–Ozzy Osbourne & Randy Rhoads– http://www.ozzynet.com/– ASIN: B000063DFT

Page 154: Reification

Series

• Reloaded– テスト駆動開発とツール– Test Driven Development and Tools– http://www.ctc-

g.co.jp/~cua/cua_t_day/doc/B4.pdf

• Revisited–Webサービスのクライアントをつくる– Try to create a client of Web Services– http://www.ctc-

g.co.jp/~cua/itstudy/0910_img/Revisited.pdf

Page 155: Reification

‘frying gun and trin’

Page 156: Reification

TO BE CONCLUDED.