semantic wiki: social semantic web in use

73
Semantic Wiki: Social Semantic Web In Use A Gentle Introduction Jesse Wang 12/7/2009 Invited Talk at Intelligent Information Processing Lab, Fudan University, Shanghai, China

Upload: jesse-wang

Post on 07-Dec-2014

2.121 views

Category:

Technology


3 download

DESCRIPTION

This is my invited talk on Semantic Wiki to the Key Lab of Intelligent Information Processing at Fudan University in Shanghai during ASWC 2009 when I gave a similar tutorial on semantic mediawiki and applications.

TRANSCRIPT

Page 1: Semantic Wiki: Social Semantic Web in Use

Semantic Wiki: Social Semantic Web In Use

A Gentle Introduction

Jesse Wang 12/7/2009Invited Talk at Intelligent Information Processing Lab, Fudan University,

Shanghai, China

Page 2: Semantic Wiki: Social Semantic Web in Use

About• Jesse Wang ( 王嘉欣 )

– Development Architect | Research Program Manager• Vulcan Inc., Seattle, WA, USA

– Paul G. Allen (Microsoft Co-founder)’s private company• Paul Allen – co-founded Microsoft

– http://en.wikipedia.org/wiki/Paul_Allen– Laid the foundation of Microsoft’s success

• Persuaded [[Bill Gates]] to quit [[Harvard University]]• Spearheaded a deal to buy [[QDOS]] and… the rest is history

– A vision and some big ideas…

2

http://ProjectHalo.com

Page 3: Semantic Wiki: Social Semantic Web in Use

WIKI & SEMANTIC WEBOther Big Ideas

3

Page 4: Semantic Wiki: Social Semantic Web in Use

Agenda

• Wiki• Semantic Wiki• Examples of Semantic Wikis• Useful Extensions of Semantic MediaWiki• Fun and Real Applications built on Semantic

MediaWiki

4

Page 5: Semantic Wiki: Social Semantic Web in Use

• Wikipedia– http://en.wikipedia.org/wiki/Wikipedia– 14 million articles (3.1 million in English) – Deutschsprachige Wikipedia: 900,000+ articles (2009/5)– ウィキペディア日本語版 : 600,000+ articles (2009/7)

• Chinese Wiki-like Encyclopedia– 互动百科 3.9 million articles, 4.3 billion chars

(2009/12)– 百度百科 1900430 articles (2009/12)

Wikis as We Know

5

Page 6: Semantic Wiki: Social Semantic Web in Use

Some Popular Wikis

• AboutUs.org – Intenet Directory: > 14,000,000

• City wikis – umbrella wikis for cities

• GeoNames – places: 8,000,000 +

• OpenStreetMap – the Free Wiki World Map: > 100,000 USERS

• Wikitravel – travel guides

• LyricWiki - Lyrics• Wikileaks – leak info

anonymously• wikiHow – how to …• ShopWiki – you know• SNPedia – you’ll know

6

Page 7: Semantic Wiki: Social Semantic Web in Use

Even More “Wikis”

WetPaint lets you build a rich, online community around the

whatever-it-is that you’re really into. Utilizing the best features of wikis, blogs, forums and social networks, Wetpaint mixes everything you need so you can create, collect, and organize content on your own social website.

Ning Ning offers an easy-to-use service that allows people to

join and create Ning Networks. To explore and express their interests, discover new

passions, and meet new people around shared pursuits.

7

Page 8: Semantic Wiki: Social Semantic Web in Use

Wiki Is HOT

8

Page 9: Semantic Wiki: Social Semantic Web in Use

So What is a Wiki

• By Wikipedia:– A wiki (pronounced /ˈwɪki/ WIK-ee) is a website

that allows the easy[1] creation and editing of any number of interlinked web pages via a web browser using a simplified markup language or a WYSIWYG text editor.[2][3] Wikis are typically powered by wiki software and are often used to createcollaborative websites, to power community websites, for personal note taking, in corporate intranets, and in knowledge management systems.

9

Page 10: Semantic Wiki: Social Semantic Web in Use

What Wiki Is Really About

• Quick and Easy – no need of extra software• Collaborative Community Authoring• Interlinked Content• Version Control• Notification

10

Page 12: Semantic Wiki: Social Semantic Web in Use

What Wiki is Now: Platform

• Wiki is not only a wiki engine, web site, hosting service…

• It is a social, collaborative productivity system• It is a platform where people can build web

applications• It marries the web of computers with the web

of people• It is a great indicator of human Civilization!

12

Page 13: Semantic Wiki: Social Semantic Web in Use

Many Wiki Services

• Wikia– Wiki communities for everyone

• PBWiki/PBWorks– Online Collaboration that just Works

• Twiki– Open Source Enterprise Wiki and Web 2.0 App Platform

• MoinMoin– advanced, easy to use and extensible WikiEngine

• WikiWorks – Semantic Wiki hosting service

13

Page 14: Semantic Wiki: Social Semantic Web in Use

Wikis Are Great …

• Enable new scale of human collaboration

• Everyone can read• Everyone can write• Everyone can edit• Everyone is accountable for everything

14

Page 15: Semantic Wiki: Social Semantic Web in Use

Wiki : the Web in the Small

15

With man power!

Page 16: Semantic Wiki: Social Semantic Web in Use

Human Involvements are Great!

16

But some things are better left to machines…

Page 17: Semantic Wiki: Social Semantic Web in Use

Wiki Clock ?

17

Page 18: Semantic Wiki: Social Semantic Web in Use

Wikipedia has lots of info, but

•Wikipedia has articles about…

•… all cities•… their populations•… their mayors•… the skyscrapers•… # of floors•… built year

18

Page 19: Semantic Wiki: Social Semantic Web in Use

Not Readily Usable• So can I ask for a list of the world’s 10 largest cities with

a female mayor?– Sort by population, age…

• Or Skyscrapers in China with 70+ floors and built after 2005?– Or in Singapore, Shanghai, East Asia?– Built in year range 1990-2000?– With 50/60 floors and more?– Sort by floors, year, height?– Group by regions, cities?– Height in meter?

19

Page 20: Semantic Wiki: Social Semantic Web in Use

Will Search Help?Not something you can do now or in the foreseeable near future…

20

Page 21: Semantic Wiki: Social Semantic Web in Use

Wikipedia’s answer: lists

21

Page 22: Semantic Wiki: Social Semantic Web in Use

22

Page 23: Semantic Wiki: Social Semantic Web in Use

23

Page 24: Semantic Wiki: Social Semantic Web in Use

Can you really get your answers?

25

Page 25: Semantic Wiki: Social Semantic Web in Use

Wiki Answers? Nice try, but…

26

Page 26: Semantic Wiki: Social Semantic Web in Use

We NeedMore HelpWhat computers can understand (powered by programs) is simple named entities, such as:... 43285812... 2009-12-07... 400 Guoding Road, Shanghai, China... Jesse WangStill not always correct with all the possible variations of formats...

27

Page 27: Semantic Wiki: Social Semantic Web in Use

Question: How to get Answers out of the Content

• The female majors of top 10 cities, sorted by population, starting year, age…

• All skyscrapers in China (Japan, Thailand,…) of 50 (40/60/70) floors or more, and built in year 2000 (2001/2002) and after, sorted by built year, floors…, grouped by cities, regions…

• Median annual salary of CEOs of Fortune 100 companies in America (Europe, Asian,…)

• (And so on…)28

Page 28: Semantic Wiki: Social Semantic Web in Use

Answer: More Content

• Not just any type of content• We need structured content• Metadata• Not just any type of metadata• Good quality metadata

29

Question: How to get more quality metadata?

Page 29: Semantic Wiki: Social Semantic Web in Use

SEMANTIC WIKISViews from Different Angles

30

Page 30: Semantic Wiki: Social Semantic Web in Use

Definition: Semantic Wikis

• Semantic Wiki is a wiki that has an underlying model of the knowledge described in its pages.

• The knowledge model found in a semantic wiki is typically available in a formal language, so that machines can process it into an entity-relationship or relational database.

• Semantic Web compatibility• To allow users to make their internal knowledge more

explicit and more formal, so that the information in a wiki can be searched and presented in better ways

31

Page 31: Semantic Wiki: Social Semantic Web in Use

“What structure” & “How to get it”

• A Little More Structure Knowledge Management– Quantity (count, types) Quality (consistent,

complete)– Data in Triples Ontology Reasoning

• Approaches– Wikis for Metadata– Metadata for Wikis

32

Page 32: Semantic Wiki: Social Semantic Web in Use

Nova Spivack: MetaWeb

33

Semantic Wikis

Page 33: Semantic Wiki: Social Semantic Web in Use

2006-now: a major research topic2005: [swikig] mailing list launched2006: First Workshop on Semantic Wikis: From Wiki to

Semantics [SemWiki2006] at ESWC2006, Budva, Montenrego 2006: Second Workshop on Semantic Wikis: Wiki-based

Knowledge-Engineering [WibKe2006] at WikiSym 2006 in Odense, Denmark

2008: Third Workshop on Semantic Wikis: The Wiki Way of Semantics [SemWiki2008] at ESWC2008, Tenerife

2009: Semantic Wiki session in SemTech Conference, San Jose, CA

2008-2009: Semantic MediaWiki user group meetings in Boston, USA, Stanford, USA, and Karlsruhe, DE

34http://semwiki.org

Page 34: Semantic Wiki: Social Semantic Web in Use

Semantic Wiki Illustrated

35

Page 35: Semantic Wiki: Social Semantic Web in Use

Basics of Semantic Wikis

• Still a wiki, with regular wiki features– E.g. Category/Tags, Namespaces, Title, Versioning, ...

• Typed Content– E.g. Page/Card, Date, Number, URL/Email, String, …

• Typed Links– E.g. “capital_of”, “contains”, “born_in”…

• Querying Interface Support– E.g. “[[Category:Person]] [[Age::<30]]”

36

Page 36: Semantic Wiki: Social Semantic Web in Use

Advanced Semantic Wiki Features

• Semantic forms or templates• Auto-completion based on semantics• Powerful visualizations based on

semantics/structures/types• Rules and reasoning support• Advanced search and queries (faceted search,

SPARQL, etc.)• Import and Export of Semantic Data

37

Page 37: Semantic Wiki: Social Semantic Web in Use

Semantic Web in the SmallSemantic Wikis try to combine the strengths of

Semantic Web machine process-able data integrationcomplex queries

Wikieasy to use and contribute, strongly interconnected, collaborative.

Social Semantic Web

38

Page 38: Semantic Wiki: Social Semantic Web in Use

POPULAR SEMANTIC WIKISSome Examples

39

Page 39: Semantic Wiki: Social Semantic Web in Use

List of Semantic WikisAceWikiArtificialMemoryWagn - Ruby on Rails-basedKiWi – Knowledge in a WikiKnoodl – Semantic

Collaboration tool and application platform

Metaweb - the software that powers Freebase

OntoWikiOpenRecordPhpWiki

Semantic MediaWiki - an extension to MediaWiki that turns it into a semantic wiki

Swirrl - a spreadsheet-based semantic wiki application

TaOPis - has a semantic wiki subsystem based on Frame logic

TikiWiki CMS/Groupware integrates Semantic links as a core feature

zAgile Wikidsmart - semantically enables Confluence

40

Page 40: Semantic Wiki: Social Semantic Web in Use

•A web-based tool that gives communities of modelers and domain experts the ability to collaboratively develop, manage, and use Vocabularies and Knowledgebases

41

Browser UI

AJAX Java APIs

Secu

rity

Ontology Editor

WIKI Visualization RSS Feed

Data StorageSPARQL Query

ProcessorSearch Engine Rules EngineReasoner

Use

r A

cco

un

t M

ana

ger

Ro

le-b

ased

P

erm

issi

on

s

RDF Triple Store Database

SPARQL Query Wizard

Page 41: Semantic Wiki: Social Semantic Web in Use

Knoodl Features

• Standards-Based Collaborative Vocabulary Management Using a Semantic Wiki

• Cloud-based application ( Amazon EC2 )• Ontology Editing, Import/Export, Search• SPARQL query wizard• Role-based security• Semantic technology development platform

42

Page 42: Semantic Wiki: Social Semantic Web in Use

43

Page 43: Semantic Wiki: Social Semantic Web in Use

Roles

44

Page 44: Semantic Wiki: Social Semantic Web in Use

45

Page 45: Semantic Wiki: Social Semantic Web in Use

46

Page 46: Semantic Wiki: Social Semantic Web in Use

Freebase

• A structured database• Designed to store the amorphous data• 5 million inter-connected topics• More than 3000 types – user expandable• More than 30,000 properties• A collection of web services (API) and hosting

platform

47

Page 47: Semantic Wiki: Social Semantic Web in Use

Everything has a URL and UUIDs

48

/en/jake_garn/en/world_financial_center, /en/vulcan_inc, /en/john_woo

Page 48: Semantic Wiki: Social Semantic Web in Use

Freebase: Write-able, Extensible

49

Page 49: Semantic Wiki: Social Semantic Web in Use

Great Usability and Dynamic ViewsTyped data, Auto-completion, structured views, Ajax UI

50

Page 50: Semantic Wiki: Social Semantic Web in Use

MQL: Querying Freebase

[{ "name": null, "type": "/film/film", "directed_by": { "id": "/en/john_woo" }}]

{ "code": "/api/status/ok", "result": [ { "directed_by": { "id": "/en/john_woo" }, "name": "A Better Tomorrow", "type": "/film/film" }, { "directed_by": { "id": "/en/john_woo" }, "name": "BMW films", "type": "/film/film" }, { "directed_by": { "id": "/en/john_woo" }, "name": "Mission: Impossible II", "type": "/film/film" },

51

Page 51: Semantic Wiki: Social Semantic Web in Use

The Freebase ArchitectureAcre is Freebase’s hosted development environment. Free, open, hosted, code reusable and cloneable. More at http://wiki.freebase.com/wiki/Acre

52

Page 52: Semantic Wiki: Social Semantic Web in Use

Semantic MediaWiki (SMW)

• An extension of MediaWiki – the wiki application best known for powering Wikipedia – that helps to search, organize, tag, browse, evaluate, and share the wiki's content.

• Most popular Semantic Wiki• Powering hundreds public sites

– Even more behind firewalls (some very large)

53

Page 53: Semantic Wiki: Social Semantic Web in Use

Vision of SMW

Very flexible system for knowledge managementGentle introduction

Usable as a normal wikiImmediate added value

“The simplest database that could work”Document-centric viewSemantic Web is not a vision any more -- it is here

You can use it – NOW!54

Page 54: Semantic Wiki: Social Semantic Web in Use

SMW Ongoing DevelopmentExtension for MediaWiki

If MediaWiki gets better, so do weOpen SourceWell documentedActive mailing listWorld wide community

In usage, research, and developmentCommercial Support availableSemantic MediaWiki Core

Mostly stable, not planned to grow anymore

55

Page 55: Semantic Wiki: Social Semantic Web in Use

Semantic Markup is Easy

• In the article page “Fudan University”• The property Located in is just another wiki page• Page “Property:Located in”

– Can have categories [[Category:Properties with actions]]– Can have properties too [[Semantic action::display on

map]]• Domain, range and semantic actions you defined

• In “Category:Universities in China” page– [[Default form::Chinese University basic info form]]

56

Fudan University is in [[Located in::Shanghai]]

[[Category:Universities in China]]

Page 56: Semantic Wiki: Social Semantic Web in Use

Flexible Schema

• Document-centric view– Properties associated with the document (article)– Users can add/remove/modify properties or

values– A natural fit for column-oriented databases

• Content first, schema last– No initial design of schema as in RDBMS– Always optimize later

• By community of users

57

Page 57: Semantic Wiki: Social Semantic Web in Use

With the markupWe can ask

{{#ask:[[Category:Skyscrapers]][[Located in::China]][[Floor count::>50]][[Year built::<2000]]

}}

Faceted browsing is easily available too.

(Result via Dbpedia)

58

Page 58: Semantic Wiki: Social Semantic Web in Use

USEFUL EXTENSIONS TO MAKE SMW BETTER

Markups are great, we need tools to use them

59

Page 59: Semantic Wiki: Social Semantic Web in Use

Halo Extension – a suite of extensionsPaul G. Allen (Microsoft co-founder) has a vision:

“the Digital Aristotle enables anyone to ask any science question and get answers with explanations using a comprehensive, socially authored knowledge base.”

http://ProjectHalo.com

Halo extension is a portion of Project Halo directed by Dr. Mark Greaves at Vulcan Inc.

Page 60: Semantic Wiki: Social Semantic Web in Use

Project Halo‘s suite of extensions Halo Extension: Helps to make the annotation-process easier and

better manageable, and to simply knowledge retrieval.http://smwforum.ontoprise.com/smwforum/index.php/Help:Halo_Extension_User_Manual

WYSIWYG Extension: WYSIWYG editor including graphical annotations and template picker.http://smwforum.ontoprise.com/smwforum/index.php/Help:WYSIWYG_Extension

TreeView Extension: Improved exploration of wiki articles.http://smwforum.ontoprise.com/smwforum/index.php/Help:TreeView_Extension

EnhancedRetrieval Extension:

Provides full text retrieval and semantic retrieval in one single user interface.http://smwforum.ontoprise.com/smwforum/index.php/Help:Enhanced_Retrieval_Extension

RichMedia Extension: Handle more filetypes in your wiki and tag while you upload.http://smwforum.ontoprise.com/smwforum/index.php/Help:Rich_Media_Extension

haloACL Extension: User rights management system to protect articles, namespaces, categories and property values.http://smwforum.ontoprise.com/smwforum/index.php/Help:HaloAccessControlList

Page 61: Semantic Wiki: Social Semantic Web in Use

the suite of extensions (continued) SemanticGardening Extension:

Automatically checks your wiki knowledge base for faults.http://smwforum.ontoprise.com/smwforum/index.php/Help:Semantic_Gardening_Extension

SemanticNotifications Extension:

Extends MediaWiki’s watch-feature semantically.http://smwforum.ontoprise.com/smwforum/index.php/Help:Semantic_Notifications_Extension

DataImport Extension: Enrich your wiki with data from WebServices, legacy systems, and import emails and populate wiki articles from external apps.http://smwforum.ontoprise.com/smwforum/index.php/Help:Semantic_Notifications_Extension

Deployment Extension: Upgrade and extend your (S)MW installation automaticallyhttp://smwforum.ontoprise.com/smwforum/index.php/Help:Deployment_Framework

TripleStore Connector Brings reasoning capabilities to your wiki.http://smwforum.ontoprise.com/smwforum/index.php/Help:Basic_Triplestore

Page 62: Semantic Wiki: Social Semantic Web in Use

A LOT more extensions

• Semantic Forms, Semantic Form Inputs, Semantic Signup

• Semantic Drilldown, SemanticQueryForm Tool• Semantic Result Formats, Semantic Maps, Semantic

Gallery• Semantic Compound Data and Compound Queries• Semantic History, Semantic Internal Objects• Semantic Notification, NotifyMe, Semantic Tasks• Data Import, Freebase, RDFa• …

64

Page 63: Semantic Wiki: Social Semantic Web in Use

FUN AND REAL APPLICATIONSBuilt on top of Semantic MediaWiki as a platform/framework

65

Page 64: Semantic Wiki: Social Semantic Web in Use

66

Page 65: Semantic Wiki: Social Semantic Web in Use

Rudi Studer -- Semantic MediaWiki6767 67

Page 66: Semantic Wiki: Social Semantic Web in Use

SNPedia: It's a Semantic Wiki

Page 67: Semantic Wiki: Social Semantic Web in Use

SNPedia"Wikipedia for SNPs"

          Promethease  Read raw DNA               Make a Report

Page 68: Semantic Wiki: Social Semantic Web in Use

70

Page 69: Semantic Wiki: Social Semantic Web in Use

A Semantic Sci-Fi Movie Database

• From Wikipedia.org• Structure extracted from templates

– Infoboxes and so on• Queries and visualizations

71

Page 70: Semantic Wiki: Social Semantic Web in Use

Work Order Handling System

• Form-based User Interface• Semantics in templates• People agree on priorities

and resources needed

72

Page 71: Semantic Wiki: Social Semantic Web in Use

WikiTags::Smart Connections to Knowledge Workers

• Bring relevant, targeted information– With the tools you are already familiar

with– In the context – better relevance and

productivity– Only when you need it – no information

overload– With linked real-time data– no search

overhead• Let you consume and contribute to Wiki

– Without learning wiki markup syntax– Without remembering where the content

is

SmartTagAdd-insAPI AP

I

Page 72: Semantic Wiki: Social Semantic Web in Use

74

Semantic Entertainment

• Social tag-based characterization

• Keyword search over tag data

• Inconsistent semantics

• Easy to engineer

Increasing technical complexity → ← Increasing User Participation

Algorithm-based object characterization

Database-style search

Consistent semantics

Extremely difficult to engineer

Social database-style characterization

Category/Property+ wiki text query

Semantic consistency via wiki mechanisms

Easy to engineer

Semantic Entertainment(SMW 1.3)

Demo on Seahawks Video

Page 73: Semantic Wiki: Social Semantic Web in Use

Thanks :: Semanticators | Wikiers

Presentation• Denny Vrandecic• Max Völkel & Sebastian

Schaffert• Greg Milbank• Jamie Taylor• Daniel Hansch

Development• All the Semantic Wikiers• Project Halo, Vulcan Inc.• K. I. T.• Ontoprise GmbH• TeamMersion LLC