FOAF for Social Network Portability

19
FOAF for Social Network Portability Uldis Bojars ([email protected] ) WebCamp on Social Network Portability Cork, Ireland - March 2, 2008

description

From the Social Network Portability WebCamp @ Cork, Ireland - March 2, 2008 (co-located with BlogTalk 2008)

Transcript of FOAF for Social Network Portability

Page 1: FOAF for Social Network Portability

FOAFfor Social Network

Portability

Uldis Bojars ([email protected])WebCamp on Social Network Portability

Cork, Ireland - March 2, 2008

Page 2: FOAF for Social Network Portability

Introduction

Uldis Bojārs @ DERI Galway

• FOAF - topic of this talk

• SIOC - what I am working on

Page 4: FOAF for Social Network Portability

Friend of a Friend

• Person

• Social Network / Relations

• Groups

Information about:

Page 5: FOAF for Social Network Portability

Friend of a Friend

• Person

• Social Network / Relations

• Groups (multiple)

• ... and more ...

Information about:

Page 6: FOAF for Social Network Portability

Richer Info Needed?

• RDF allows us to combine FOAFwith other vocabularies

• XFN, Relations vocabulary, ...

Page 7: FOAF for Social Network Portability

Richer Info Needed?

• RDF allows us to combine FOAFwith other vocabularies

• XFN, Relations vocabulary, ...

RDF = Information, Concentrated

Page 8: FOAF for Social Network Portability

Richer Info Needed?

• An example - Morten’s FOAF profile:

http://www.wasab.dk/morten/blog/archives/author/mortenf/

Page 9: FOAF for Social Network Portability

Social Network Portability

• A way to identify a person (across sites)

- privacy

• A way to describe a social network

- relations between people

Components (data):

Page 10: FOAF for Social Network Portability

Identifying Properties

• E-Mail address (private)

• Hash of e-mail (semi-public)

• URLs (public)

• ...

Page 11: FOAF for Social Network Portability

Social Network Portability

• Tools / Services (do the actual “magic”)

• Data providers

- opening up social media sites

• Data users / consumers

Components (tools):

Page 12: FOAF for Social Network Portability

Workflow

1. Parse FOAF data (from Site A)

2. Extract a list of friends andsome data for identifying them

3. Compare this identifying data with a registry of users on Site B, report matching users

Page 13: FOAF for Social Network Portability

Parsing FOAF data?

Python:

import RDF

# using Redland Python bindings (librdf.org)

m = RDF.Model()

m.load('http://danbri.org/foaf.rdf')

Page 14: FOAF for Social Network Portability

Finding Friends? :)

SPARQL:

SELECT ?person ?mbox

WHERE {

<danbri> foaf:knows ?person .?person foaf:mbox ?mbox .

}

Page 15: FOAF for Social Network Portability

Case Study: LiveJournal• Data about a person (FOAF) - ✓

• Social network (FOAF) - ✓• Identifying information ...

Difficulty: this data (foaf:mbox_sha1sum)is spread across friends’ profiles.

Must be collected together before use.

Page 16: FOAF for Social Network Portability

Distributed Social Information

• What about using Flickr, Twitter, ... account URLs as identifyers?

- Identifying properties are only useful if other sites also knows this data

- Entering all the URLs again and again?!

• Describe these accounts once

- Applications can get this info from your homepage (e.g., described in FOAF)

Page 18: FOAF for Social Network Portability

Open Questions

• Who owns this information?

• You should have ability to backup and reuse your social network info (you own the data!)

• Privacy

• ... ... ...

Page 19: FOAF for Social Network Portability

Thank you!

• http://wiki.foaf-project.org/FAQ

• http://captsolo.net/info

• #webcamp (look for more info tagged “webcamp”)