semantic history: towards modeling and publishing changes of online semantic data

33
Semantic History: Jie Bao, Li Ding, and Deborah L. McGuinness Tetherless World Constellation Rensselaer Polytechnic Institute Troy, NY, 12180-3590, USA {baojie,dingl, dlm}@cs.rpi.edu pdf & slides: http://tw.rpi.edu/wiki/TW-2009-17 owards Modeling and Publishin hanges of Online Semantic Dat

Upload: jie-bao

Post on 15-Jan-2015

1.690 views

Category:

Technology


1 download

DESCRIPTION

Talk of Jie Bao, Li Ding, Deborah L. McGuinness. Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data, In The 2nd Social Data on the Web workshop (SDoW2009), 2009 http://tw.rpi.edu/wiki/TW-2009-17

TRANSCRIPT

Page 1: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Semantic History:

Jie Bao, Li Ding, and Deborah L. McGuinnessTetherless World Constellation

Rensselaer Polytechnic InstituteTroy, NY, 12180-3590, USA

{baojie,dingl, dlm}@cs.rpi.edupdf & slides: http://tw.rpi.edu/wiki/TW-2009-17

Towards Modeling and PublishingChanges of Online Semantic Data

Page 2: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Semantic History:

Jie Bao, Li Ding, and Deborah L. McGuinnessTetherless World Constellation

Rensselaer Polytechnic InstituteTroy, NY, 12180-3590, USA

{baojie,dingl, dlm}@cs.rpi.edupdf & slides: http://tw.rpi.edu/wiki/TW-2009-17

WHAT Axel and Boris have done to the OWL Wiki and WHY Jim is now

called James

Page 3: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Outline

• Motivation• Architecture• Implementation• Examples• Future Work and Conclusions

310/25/2009 SDOW @ ISWC 2009

Page 4: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Motivation

4

Picture courtesy Matt Davies , Journal News, Jan 7, 2008

10/25/2009 SDOW @ ISWC 2009

Page 5: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

MotivationBut finding and understanding changes could be a

nightmare…

510/25/2009 SDOW @ ISWC 2009

Page 6: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

610/25/2009 SDOW @ ISWC 2009

Page 7: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

710/25/2009 SDOW @ ISWC 2009

Page 8: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

8

This becomes even trickier with “semantic wikis”

10/25/2009 SDOW @ ISWC 2009

Page 9: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

910/25/2009 SDOW @ ISWC 2009

Page 10: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Motivation

1010/25/2009 SDOW @ ISWC 2009

Page 11: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Architecture

11

Social Semantic WebSemantic History

revision of

author

Publish

REV1

REV2

Create

10/25/2009 SDOW @ ISWC 2009

Page 12: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

What is “History”?

12

Revision Action Temporal Data

• Where this change happened?• Who made it?• What content has been changed?• Why this action is taken?• Which source backs up the change?

• When the change happened?• How data (e.g., RDF triples) is changed?• How the temporal change is represented?

10/25/2009 SDOW @ ISWC 2009

Page 13: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Implementation on Semantic Mediawiki (SMW)

13Semantic MediaWiki

10/25/2009 SDOW @ ISWC 2009

Page 14: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

SMW

The Semantic History (SH) extension captures edit actions

Revision history

User

User makes edits

Triple Representatio

n of history

Triplified revision history is added to and managed by the SMW

Applications use the triplified revision history for various purposes

14

SH Templates(customizable

)

SH Templates generate semantic descriptions of revision history

{{SH_Triple |…}} {{SH_Add |…}}{{SH_Delete|…}}

10/25/2009 SDOW @ ISWC 2009

Page 15: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Data to TriplesExample: Revision

15

{{SH_Rev|3353|20090714211611|User:Baojie|James Hendler}}

Rev:3353 id 3353

Rev:3353 time 20090714211611

Rev:3353 author User:Baojie

Rev:3353 about James Hendler

10/25/2009 SDOW @ ISWC 2009

Customizable!Customizable!

Customizable!Customizable!

Page 16: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Data to Triples Example: Editing Summary

16

“SH_Summary”Template

{{SH_Summary|reason::Introduction

wordsmithing ;source::http://www.w3c….;category:Grammar Fixing; }}

Rev:3145 reason Introduction wordsmithing

Rev:3145 source http://www.w3c….

Rev:3145 rdf:type wiki:Grammar Fixing

10/25/2009 SDOW @ ISWC 2009

Customizable!Customizable!Customizable!Customizable!

Page 17: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Usage Examples

1710/25/2009 SDOW @ ISWC 2009

Page 18: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Provenance tracking

Who has changed the first name of James Hendler? http://tw.rpi.edu/proj/semhis.wiki/index.php/Example_4 1810/25/2009 SDOW @ ISWC 2009

Page 19: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Query: Semantic Recent Change

http://tw.rpi.edu/proj/semhis.wiki/index.php/Semantic_recent_changes

1910/25/2009 SDOW @ ISWC 2009

Page 20: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Statistics

Which domain has attracted more changes: University or Person?http://tw.rpi.edu/proj/semhis.wiki/index.php/Example_5 2010/25/2009 SDOW @ ISWC 2009

Page 21: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Temporal Reasoning

Which papers of Jie Bao are "Tetherelss World Publication"?http://tw.rpi.edu/proj/semhis.wiki/index.php/Example_8 2110/25/2009 SDOW @ ISWC 2009

Page 22: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Future Work – Integration with other tools

2222

Data.gov wiki – Government dataData.gov wiki – Government data

Wiki-basedOntology EditorWiki-basedOntology Editor

10/25/2009 SDOW @ ISWC 2009

http://tw.rpi.edu/proj/cnlhttp://tw.rpi.edu/proj/cnlhttp://data-gov.tw.rpi.edu/http://data-gov.tw.rpi.edu/

Page 23: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Future Work

• Scalability test/improvement– How fast it will be in coping a lot of changes?

• Trust computation– How semantics help evaluate trustworthiness of wiki

content?

• Advanced explanation– How to find the cause of a change on a semantic wiki?

• Wikipedia revisions as linked data– Open up a time machine for traveling Wikipedia.

2310/25/2009 SDOW @ ISWC 2009

Page 24: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Conclusions

2410/25/2009 SDOW @ ISWC 2009

Page 25: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Thanks!

• Email: [email protected]

• Demo: http://tw.rpi.edu/semhis

• Download:http://www.mediawiki.org/wiki/Extension:SemanticHistory

• pdf & slides: http://tw.rpi.edu/wiki/TW-2009-17

10/25/2009 SDOW @ ISWC 2009 25

Page 26: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Backup

2610/25/2009 SDOW @ ISWC 2009

Page 27: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Related Work

• Temporal KR: in DB/OWL/RDF/SPARQL…– Our work is tied a particular KR formalism

• Change Detecting– We focus on publishing history as linkable data

• RDF diff– Complements of our work for detecting triple changes– Our work additionally addresses provenance and

rationale

2710/25/2009 SDOW @ ISWC 2009

Page 28: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

28

But how to find that without manually reading 200+ pages?

Which countries have outdated/missing 2008 GDP (nominal) figure on Wikipedia?

10/25/2009 SDOW @ ISWC 2009

Page 29: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

29

Revision

{{SH_Rev|3353|20090714211611|User:Baojie|Jin Guang Zheng}}

Those pages are hidden from common users 2910/25/2009 SDOW @ ISWC 2009

Page 30: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

30

Template-based Triplification

30

{{SH_Rev|3353|20090714211611|User:Baojie|Jin Guang Zheng}}

Template:SH_Rev

Instance of the template:

Revision [[id::{{{1}}}]], about [[about::{{{4|NA}}}]], on time [[time::{{{2}}}| ]] [[formatTime::{{DateFormat|{{{2}}}}}]], by author [[author::{{{3}}}]] [[Category:Revision]]{{#if: {{{5|}}}| [[Category:{{{5}}}]]}}

10/25/2009 SDOW @ ISWC 2009

Page 31: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

31

Triple Changes

A typical triple page

{{SH_Triple|RPI|DefinedBy|Jie Bao}} {{SH_Add|1454|20090708190303|

User:Baojie}}{{SH_Add|M20090708235158|

20090708235158|User:Baojie}}{{SH_Delete|3305|

20090713115342|User:Baojie}}

{{SH_Obsolete|1}}

10/25/2009 SDOW @ ISWC 2009

Page 32: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

32

Editing Summary

A revision page with semantic summary

{{SH_Rev|2462|20090712064807|User:Baojie|Main Page}}

{{SH_Summary|reason::to demo semantic summary; source::none; category:Test Edit; something not useful}}

{{SH_Minor}}

How to explain summary is up to the wiki admin (by designing “Template:SH_Summary”)32

Customizable grammar

10/25/2009 SDOW @ ISWC 2009

Page 33: Semantic History: Towards Modeling and Publishing Changes of Online Semantic Data

Explanation

33

Created by

Uses template

Doesn’t generate “member_of” assertions

Generates “member_of” assertions

one possible explanation of

Why Jie Bao is a member of the project ITA?http://tw.rpi.edu/proj/semhis.wiki/index.php/Example_1110/25/2009 SDOW @ ISWC 2009