73
Social Semantic Web (Social Activity and Facebook) Dr. Myungjin Lee

Social Semantic Web (Social Activity and Facebook)

  • View
    4.342

  • Download
    1

Embed Size (px)

DESCRIPTION

This slide contains- What is the Social Semantic Web- Vocabularies for Social Semantic Web- Social Activity- Social Semantic Web on Facebook

Citation preview

Page 1: Social Semantic Web (Social Activity and Facebook)

Social Semantic Web(Social Activity and Facebook)

Dr. Myungjin Lee

Page 2: Social Semantic Web (Social Activity and Facebook)

Web of Documents

2

Nice web-

pages!

HTML

HTML

HTML

HTML

link

link

link

link

HTML

HTML

link

link

HTML isa language for describing web pages.

Page 3: Social Semantic Web (Social Activity and Facebook)

3

Semantic Web

The Semantic Web is a collaborative movement led by the World Wide Web Consortium (W3C) that promotes common formats for data on the World Wide Web. By encouraging the inclusion of semantic content in web pages, the Semantic Web aims at converting the current web of un-structured documents into a "web of data".

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

Page 4: Social Semantic Web (Social Activity and Facebook)

4

few years ago recently

machine understandable machine processible

Page 5: Social Semantic Web (Social Activity and Facebook)

5

Linked Data

a term used to describe a recommended best practice for ex-posing, sharing, and connecting pieces of data, information, and knowledge on the Semantic Web using URIs and RDF

machine explorablehttp://linkeddata.org/

Page 6: Social Semantic Web (Social Activity and Facebook)

6

2007-05-01 2007-11-10 2008-09-18 2009-07-14

2010-09-222011-09-19

http://richard.cyganiak.de/2007/10/lod/

Page 7: Social Semantic Web (Social Activity and Facebook)

7

Principle of Linked Data

1. Use URIs as names for things

2. Use HTTP URIs so that people can look up those names.

3. When someone looks up a URI, provide useful information, using the standards (RDF*, SPARQL)

4. Include links to other URIs. so that they can discover more things.

http://www.w3.org/DesignIssues/LinkedData.html

Page 8: Social Semantic Web (Social Activity and Facebook)

8

Social Network

A social network is a social struc-ture made up of individuals (or or-ganizations) called "nodes", which are tied (connected) by one or more specific types of interdepen-dency, such as friendship, kinship, common interest, financial ex-change, dislike, sexual relation-ships, or relationships of beliefs, knowledge or prestige.

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

Page 9: Social Semantic Web (Social Activity and Facebook)

9

The web is more a social cre-ation than a technical one. I de-signed it for a social effect — to help people work together — and not as a technical toy.

Page 10: Social Semantic Web (Social Activity and Facebook)

10

Social Web

The social Web is a set of social rela-tions that link people through the World Wide Web. The Social web encom-passes how websites and software are designed and developed in order to support and foster social interaction.

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

Page 11: Social Semantic Web (Social Activity and Facebook)

11

http://www.hitwise.com/us/datacenter/main/dashboard-10133.html

Page 12: Social Semantic Web (Social Activity and Facebook)

12

http://www.alexa.com/siteinfo/google.com

Page 13: Social Semantic Web (Social Activity and Facebook)

13

Information Flow

Traditional Web(like Google)

Social Network Services(Facebook, Twitter, etc.)

Page 14: Social Semantic Web (Social Activity and Facebook)

14

Distributed and Separated Data in the Social Web

http://www.slideshare.net/Cloud/the-social-semantic-web

Page 15: Social Semantic Web (Social Activity and Facebook)

15

If …

http://www.slideshare.net/Cloud/the-social-semantic-web

We can make better ser-

vices.

Page 16: Social Semantic Web (Social Activity and Facebook)

16

Social Semantic Web

The concept of the Social Semantic Web subsumes develop-ments in which social interactions on the Web lead to the cre-ation of explicit and semantically rich knowledge representa-tions. The Social Semantic Web can be seen as a Web of collec-tive knowledge systems, which are able to provide useful infor-mation based on human contributions and which get better as more people participate.

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

Page 17: Social Semantic Web (Social Activity and Facebook)

17

Syntax Semantic

World Wide WebURIs, HTML, HTTP

Semantic WebRDFS, OWL, SPARQL

Social WebWikis, blogs, social networks

SocialSemantic WebSIOC, DBpedia, Twine

http://www.slideshare.net/Cloud/the-social-semantic-web

Page 18: Social Semantic Web (Social Activity and Facebook)

18

What are benefits?

• to describe people, object, and connection

between them based on RDF

• semantic interoperability

• machine processible data for social applica-

tions

• rich data sources for semantic applications

• to provide better social services

Page 19: Social Semantic Web (Social Activity and Facebook)

19

FOAF

The Friend of a Friend (FOAF) project is creating a Web of machine-readable pages de-scribing people, the links be-tween them and the things they create and do; it is a contribution to the linked in-formation system known as the Web. FOAF defines an open, decentralized technol-ogy for connecting social Web sites, and the people they describe.

foaf:Person

foaf:Person

foaf:Person

foaf:Person

foaf:Personfoaf:knows

http://www.foaf-project.org/

Page 20: Social Semantic Web (Social Activity and Facebook)

20

More Relationships

RELATIONSHIP: A vocabulary for describing relationships be-tween peoplehttp://purl.org/vocab/relationship

spouseOfenemyOf

closeFriendOf

worksWith

livesWith

Page 21: Social Semantic Web (Social Activity and Facebook)

21

foaf:Person

foaf:Person foaf:Person

foaf:Person foaf:Person

foaf:Personfoaf:Person foaf:Person

rel:childOf rel:mentorOf

rel:spouseOfrel:worksWith rel:friendOf

rel:siblingOf

foaf:Person foaf:Person

rel:employerOfrel:influencedBy rel:livesWith

Page 22: Social Semantic Web (Social Activity and Facebook)

22

Social Objects

Social network theory is good at representing links between people but it doesn’t explain what connects those particular people and not others.People don’t just connect to each other. They connect through a shared object. … Good services allow people to create social objects that add value.

- Jyri Engeström -

http://www.slideshare.net/jyri/building-sites-around-social-objects-web-20-expo-sf-2009

Page 23: Social Semantic Web (Social Activity and Facebook)

23

Social Objects that we create

• Discussions

• Bookmarks

• Annotations

• Profiles

• Microblogs

• Multimedia

http://www.slideshare.net/Cloud/the-social-semantic-web

Page 24: Social Semantic Web (Social Activity and Facebook)

24

SIOC

Semantically-Interlinked Online Communities(SIOC) Project pro-vides methods for interconnecting discussion methods such as blogs, forums and mailing lists to each other. It consists of the SIOC ontology, an open-standard machine readable format for expressing the information contained both explicitly and implic-itly.

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

Page 25: Social Semantic Web (Social Activity and Facebook)

25

SKOS

Simple Knowledge Organization System

(SKOS)

is a family of formal languages de-

signed for

representation of thesauri, classifica-

tion

schemes, taxonomies, subject-

heading

systems, or any other type of

structured controlled vocabu-

lary.

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

Page 26: Social Semantic Web (Social Activity and Facebook)

26

http://www.slideshare.net/Cloud/the-social-semantic-web

Page 27: Social Semantic Web (Social Activity and Facebook)

27

Lifestreaming

A Lifestream is a time-ordered stream of online / Internet activ-ity events that functions as a di-ary of your electronic life. The goal of Lifestreams is to mini-mize the time users spend man-aging their documents and elec-tronic events while increasing their ability to find and make use of this information.http://cs-www.cs.yale.edu/homes/freeman/lifestreams.html

Page 28: Social Semantic Web (Social Activity and Facebook)

28

createshare

Page 29: Social Semantic Web (Social Activity and Facebook)

29

aggregatingstreams

createshare

Page 30: Social Semantic Web (Social Activity and Facebook)

30

Page 31: Social Semantic Web (Social Activity and Facebook)

31

Activity Streams

The Activity Streams project is an effort to develop an activity stream protocol to syndicate activities across social Web applications. Several major websites with activity stream implementations have already opened up their activity streams to developers to use, including Facebook and MySpace.

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

Page 32: Social Semantic Web (Social Activity and Facebook)

32

Page 33: Social Semantic Web (Social Activity and Facebook)

33

Actor verb object target

Myungjin Lee tweeted KSWC 2011

Page 34: Social Semantic Web (Social Activity and Facebook)

34

Atom JSON

based on two syntaxes, and

http://activitystrea.ms/

Page 35: Social Semantic Web (Social Activity and Facebook)

35

As you know, Atom and JSON are not based on RDF Model.

Atom JSONBut you can translate it to RDF.

It is not good idea.

Page 36: Social Semantic Web (Social Activity and Facebook)

36

Page 37: Social Semantic Web (Social Activity and Facebook)

37

I am notthe fanatic

of Facebook.

But I agree thatFacebook is

the best SNS.No one can deny it.

Page 38: Social Semantic Web (Social Activity and Facebook)

38

Who are my friends?

Page 39: Social Semantic Web (Social Activity and Facebook)

39

Social Graph

The social graph describes the relationships between individuals online. It has been described as "the global mapping of every-body and how they're related".The term was popularized at the Facebook f8 conference on May 24, 2007, when it was used to explain that the Facebook Plat-form, which was introduced at the same time, would benefit from the social graph by taking advantage of the relationships between individuals, that Facebook provides, to offer a richer on-line experience.

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

Page 40: Social Semantic Web (Social Activity and Facebook)

40

First Social Graph of Facebook in 2006

is a friend of

is a friend of

is a friend of

is a friend of

Page 41: Social Semantic Web (Social Activity and Facebook)

41

Who are my friendsthose who like the Breaking Dawn?

Page 42: Social Semantic Web (Social Activity and Facebook)

42

At third Facebook F8 conference on 2010

Page 43: Social Semantic Web (Social Activity and Facebook)

43

Open Graph of Facebook in 2010

is a friend of

is a friend of

is a friend of

is a friend of

like

Social Object

like

Page 44: Social Semantic Web (Social Activity and Facebook)

44

Social Object in the Open Graph

click “like” button

Web Page

Page 45: Social Semantic Web (Social Activity and Facebook)

45

Social Object in the Open Graph

like

Social Object

Page 46: Social Semantic Web (Social Activity and Facebook)

46

Open Graph Protocol

The Open Graph protocol enables developers to integrate their pages into the social graph. These pages gain the functionality of other graph objects including profile links and stream updates for connected users. It is based on RDFa.

http://developers.facebook.com/docs/opengraph/

Page 47: Social Semantic Web (Social Activity and Facebook)

47

Example of Open Graph Protocol

<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <meta property="og:url" content="http://www.imdb.com/title/tt1285016/" /> <meta property='og:image' content='http://ia.media-imdb.com/…140_.jpg'> <meta property='og:type' content='movie' /> <meta property='fb:app_id' content='115109575169727' /> <meta property='og:title' content='The Social Network (2010)' /> <meta property='og:site_name' content='IMDb' />...

based on RDFa

Page 48: Social Semantic Web (Social Activity and Facebook)

48

Open Graph Protocol includes …

• URL• Type• Title• Image• Short Description• Site Name• Location• Contact Information

Page 49: Social Semantic Web (Social Activity and Facebook)

49

The Type of Object

• album• book• drink• food• game

• activity• sport

• bar• company• café• hotel• restaurant

• cause• sports_leagu

e• sports_team

• band• government• non_profit• school• university

• movie• product• song• tv_show

• actor• athlete• author• public_figure

• musi-cian

• politi-cian

• director

• city• country• landmark• state_provin

ce

• article• blog• website

Products and Entertain-ment

Activities

Businesses

Groups

Organizations

People

Places

Websites

Page 50: Social Semantic Web (Social Activity and Facebook)

50

<html xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml"> <head> <meta property="og:url" content="http://www.imdb.com/title/tt1285016/" /> <meta property='og:image' content='http://ia.media-imdb.com/…140_.jpg'> <meta property='og:type' content='movie' /> <meta property='fb:app_id' content='115109575169727' /> <meta property='og:title' content='The Social Network (2010)' /> <meta property='og:site_name' content='IMDb' />...

Page 51: Social Semantic Web (Social Activity and Facebook)

51

Who are my friendsthose who watch the Breaking Dawn?

cook …run …play …

Page 52: Social Semantic Web (Social Activity and Facebook)

52

At fourth Facebook F8 conference on 2011

Page 53: Social Semantic Web (Social Activity and Facebook)

53

Open Graph of Facebook in 2011

is a friend of

is a friend of

is a friend of

is a friend of

like

watch

watch

cook

like

Page 54: Social Semantic Web (Social Activity and Facebook)

54

In 2010, we extended the social graph, via the Open Graph pro-tocol, to include 3rd party web sites and pages that people liked throughout the web. We are now extending the Open Graph to include arbitrary actions and objects created by 3rd party apps and enabling these apps to integrate deeply into the Facebook experience.

https://developers.facebook.com/docs/beta/

Page 55: Social Semantic Web (Social Activity and Facebook)

55

How to build Open Graph app

• Step 1: Create a Facebook app

• Step 2: Authenticate users with the Add to Timeline

plugin

• Step 3: Define initial action, object, and aggregation in

the Dev App

• Step 4: Publish Actions for your users

• Step 5: Add Social Plugins to your app: Facepile plugin,

Activity plugin, and Recommendations plugin

• Step 6: Submit Your Actions for approvalhttps://developers.facebook.com/docs/beta/opengraph/tutorial/

Page 56: Social Semantic Web (Social Activity and Facebook)

56

Define Actions and Objects

People can Action a Object.

Page 57: Social Semantic Web (Social Activity and Facebook)

57

Page 58: Social Semantic Web (Social Activity and Facebook)

58

Create a Social Object

<meta property='og:type' content='me:recipe' />

Page 59: Social Semantic Web (Social Activity and Facebook)

59

Publish a Social Action

https://graph.facebook.com/me/YOUR_NAMESPACE:cook ?recipe=OBJECT_URL&access_token=ACCESS_TOKEN

Page 60: Social Semantic Web (Social Activity and Facebook)

60

When you click "Cook" Button, …

cookSocial Ob-ject

http://example.com/cook-ie.html

Page 61: Social Semantic Web (Social Activity and Facebook)

61

Social Object on your Social Channel

Page 62: Social Semantic Web (Social Activity and Facebook)

62

Open Graph Mechanics

Page 63: Social Semantic Web (Social Activity and Facebook)

63

Meaning of Open Graph on the SSW

Facebook was launching the “Semantic Web” without calling it that. … Perhaps only Facebook, based on genuine identity, could build a real Semantic Web that centers around people and what they do.

http://www.forbes.com/sites/techonomy/2011/09/22/facebooks-changesits-all-about-the-platform/

Page 64: Social Semantic Web (Social Activity and Facebook)

64

Mapping Vocabularies of OGP

og:title rdfs:seeAlso rdfs:label.

og:type rdfs:seeAlso rdf:type.

og:url rdfs:seeAlso foaf:page.

og:image rdfs:seeAlso foaf:depiction.

og:description rdfs:seeAlso rdfs:comment.

og:latitude rdfs:seeAlso geo:lat.

og:longitude rdfs:seeAlso geo:long.

og:email rdfs:seeAlso foaf:mbox.

og:phone_number rdfs:seeAlso foaf:phone.

Page 65: Social Semantic Web (Social Activity and Facebook)

65

Mapping Social Objects and Actions

ObjectAction

rdfs:Class or owl:Classowl:ObjectProperty

Page 66: Social Semantic Web (Social Activity and Facebook)

66

<owl:Class rdf:about="http://samples.ogp.me/Recipe">

<rdfs:label xml:lang="en-US">Recipe</rdfs:label>

<rdfs:seeAlso rdf:resource="http://dbpedia.org/ontology/Recipe"/>

</owl:Class>

<owl:ObjectProperty rdf:about="http://samples.ogp.me/cook">

<rdfs:label xml:lang="en-US">Cook</rdfs:label>

</owl:ObjectProperty>

Page 67: Social Semantic Web (Social Activity and Facebook)

67

Mapping of Social Objects

Individual of it's type

<rdf:Property rdf:about="og:type">

<rdfs:label xml:lang="en-US">type</rdfs:label>

<rdfs:seeAlso rdf:resource="http://www.w3.org/1999/02/22-rdf-syntax-ns#type"/>

<rdfs:isDefinedBy rdf:resource="http://ogp.me/ns#"/>

</rdf:Property>

Page 68: Social Semantic Web (Social Activity and Facebook)

68

<meta property='og:type' content='me:recipe' />

<http://example.com/cookie.html rdf:type me:recipe>

Social Ob-ject

http://example.com/cook-ie.html

Page 69: Social Semantic Web (Social Activity and Facebook)

69

cook

http://example.com/cook-ie.html

Social Ob-ject

http://www.facebook.com/mjinlee

http://example.com/cookie.html

http://samples.ogp.me/Recipe

Stuffed Cookies

me:cookrdf:type

http://example.com/zhen/cookie.jpg

The Turducken of Cookies

http://example.com/zhen/cookie.html

og:title

og:image

og:descriptionog:url

Page 70: Social Semantic Web (Social Activity and Facebook)

70

Social Semantic Web is …

to make and providebetter services for users

based on

Page 71: Social Semantic Web (Social Activity and Facebook)

71

We are going to change the uni-

verse.

Page 72: Social Semantic Web (Social Activity and Facebook)

Question

Page 73: Social Semantic Web (Social Activity and Facebook)

About Me

[email protected]

http://www.semantics.kr/

http://www.twitter.com/MyungjinLee

http://www.facebook.com/mjinlee

http://www.slideshare.net/onlyjiny