Post on 15-Jan-2015
description
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
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
Outline
• Motivation• Architecture• Implementation• Examples• Future Work and Conclusions
310/25/2009 SDOW @ ISWC 2009
Motivation
4
Picture courtesy Matt Davies , Journal News, Jan 7, 2008
10/25/2009 SDOW @ ISWC 2009
MotivationBut finding and understanding changes could be a
nightmare…
510/25/2009 SDOW @ ISWC 2009
610/25/2009 SDOW @ ISWC 2009
710/25/2009 SDOW @ ISWC 2009
8
This becomes even trickier with “semantic wikis”
10/25/2009 SDOW @ ISWC 2009
910/25/2009 SDOW @ ISWC 2009
Motivation
1010/25/2009 SDOW @ ISWC 2009
Architecture
11
Social Semantic WebSemantic History
revision of
author
…
…
Publish
REV1
REV2
Create
10/25/2009 SDOW @ ISWC 2009
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
Implementation on Semantic Mediawiki (SMW)
13Semantic MediaWiki
10/25/2009 SDOW @ ISWC 2009
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
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!
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!
Usage Examples
1710/25/2009 SDOW @ ISWC 2009
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
Query: Semantic Recent Change
http://tw.rpi.edu/proj/semhis.wiki/index.php/Semantic_recent_changes
1910/25/2009 SDOW @ ISWC 2009
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
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
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/
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
Conclusions
2410/25/2009 SDOW @ ISWC 2009
Thanks!
• Email: baojie@cs.rpi.edu
• 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
Backup
2610/25/2009 SDOW @ ISWC 2009
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
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
29
Revision
{{SH_Rev|3353|20090714211611|User:Baojie|Jin Guang Zheng}}
Those pages are hidden from common users 2910/25/2009 SDOW @ ISWC 2009
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
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
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
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