+ All Categories
Home > Technology > Social Music meets the Semantic Web

Social Music meets the Semantic Web

Date post: 05-Jul-2015
Category:
Upload: alexandre-passant
View: 5,817 times
Download: 2 times
Share this document with a friend
Description:
Seminar at C4DM - Queen Mary University
73
Social music meets the Semantic Web Queen Mary University - Center for Digital Music 16th July 2008 http://flickr.com/photos/8049973@N03/2656140464/ by wolf.tone Alexandre Passant - apassant.net LaLIC, Université Paris-Sorbonne
Transcript
Page 1: Social Music meets the Semantic Web

Social music meets the Semantic WebQueen Mary University - Center for Digital Music

16th July 2008

http://flickr.com/photos/8049973@N03/2656140464/ by wolf.tone

Alexandre Passant - apassant.netLaLIC, Université Paris-Sorbonne

Page 2: Social Music meets the Semantic Web

Agenda

• Web 2.0, Social Music and the Semantic Web

• Identity and social-networking with FOAF

• Modeling social data with SIOC• Semantic tagging with MOAT• Semantic Web based

recommendations

Page 3: Social Music meets the Semantic Web

Web 2.0, Social Music, the Semantic Web

http://flickr.com/photos/wilbertbaan/244105100/ by wilbertbaan

Page 4: Social Music meets the Semantic Web

Web 2.0

• Web 2.0 (O’Reilly 2005)• A read/write Web

• From consumers to producers

• Anyone can produce and share data

• Low-technical barriers

• Lots of various services and practices• Blogs, wikis, social networking, tagging ...

• Flickr, Twitter, Slideshare ...

Page 5: Social Music meets the Semantic Web

Social Music• Term coined from last.fm• In this talk:

• Social networks from music-related services

• Interlinking music-related data

• Music-related weblogging and tagging

Page 6: Social Music meets the Semantic Web

The Semantic Web• An extension of the current Web

(Berners-Lee et. al, 2001)• A machine-understandable Web

• Concepts and relationships rather than documents and hyperlinks• An abstraction layer of interlinked data

• Advanced features• Inference, trust ...

• http://www.w3.org/2001/sw/SW-FAQ

Page 7: Social Music meets the Semantic Web

Technical aspects• URIs as identifiers

• Anything can be identified on the Web• http://apassant.net/alex

• RDF to model relationships and properties between concepts• Using triples to define statements• :TheClash rdf:type mo:MusicGroup

• Ontologies to define data semantics• RDFS and OWL

Page 8: Social Music meets the Semantic Web

A machine-readable Web

Hyperlink

Web:Documents and

hyperlinks

Page 9: Social Music meets the Semantic Web

A machine-readable Web

Hyperlink

Listens to Alexandre Passant Franz Ferdinand

Web:Documents and

hyperlinks

Interpretation

Page 10: Social Music meets the Semantic Web

A machine-readable Web

Hyperlink

Listens to Alexandre Passant Franz Ferdinand

<http://dbtune.org/last-fm/terraces>

foaf:Person

<http://zitgist.com/music/artist/aa7a2827-

f74b-473c-bd79-03d065835cf7>

rdf:type

ex:listensTo

mo:MusicArtist

rdf:type

Web:Documents and

hyperlinks

Semantic Web:Data, models

and relationships

Interpretation

Page 11: Social Music meets the Semantic Web

Web 2.0

Semantic Web

Page 12: Social Music meets the Semantic Web

Limits of Web 2.0 services• Data models

• Each service uses its own model / API

• Need to build specific services

• Documents, hyperlinks rather than concepts and relationships

• Closed worlds• How to share data and connect people

between websites ?

• Social Network Fatigue (Fitzpatrick, 2007)

• The Semantic Web can help !

Page 13: Social Music meets the Semantic Web

Web 2.0 + Semantic Web• A web built on social and machine-

understandable data• The Semantic Web to provide a stronger

data model for Web 2.0 services

• Web 2.0 and “wisdom of the crowds” to provide interlinked and structured data

• Languages (FOAF ...), tools (semantic wikis ...), services (revyu.com ...)

• Journal of Web Semantics• Special issue on Web 2.0

Page 14: Social Music meets the Semantic Web

“I think we could...have both Semantic Web technology supporting online communities,

but at the same time also online communities can also support Semantic Web data by being the sources of people voluntarily

connecting things together.”

Tim Berners-Lee, ISWC2005 Podcast

Page 15: Social Music meets the Semantic Web

Identity and social networking with FOAF

http://flickr.com/photos/poagao/2305789735/ by Poagao

Page 16: Social Music meets the Semantic Web

Friend Of A Friend• FOAF : Friend Of A Friend (Brickley

and Miller, 2000)• http://foaf-project.org

• An ontology to describe people, attributes, interests ...

• Social networking with the foaf:knows property, extended with the RELATIONSHIP vocabulary• :me foaf:knows :yves

• :me rel:collaboratesWith :yves

Page 17: Social Music meets the Semantic Web

A common model

Page 18: Social Music meets the Semantic Web

A common model

Page 19: Social Music meets the Semantic Web

FOAF data examples

Page 20: Social Music meets the Semantic Web

Querying FOAF data

• FOAF data is RDF data, existing RDF tools and APIs can be used

• A single SPARQL query, wherever the data comes from

• SELECT ?nameWHERE { <$uri> foaf:knows [ foaf:name ?name ]}

Page 21: Social Music meets the Semantic Web

Unifiying identity• One exporter = One URI

• lastfm:bob, myspace:bobby, facebook:bob77 ...

• A need to unify one’s identity across services by defining equivalent URIs• Explicit: owl:sameAs

• Implicit: foaf:email, foaf:openid

• Both use reasoning principles

• Interlinking distributed social networks

Page 23: Social Music meets the Semantic Web

Merging networks• A complete decentralized social graph• Open, distributed, build on standards

(Kinsella, 2007)

Page 24: Social Music meets the Semantic Web

Merging networks• A complete decentralized social graph• Open, distributed, build on standards• From various services

(Kinsella, 2007)

Page 25: Social Music meets the Semantic Web

Modeling social data with SIOC

http://flickr.com/photos/ejpphoto/2314610838/ by EJP Photo

Page 26: Social Music meets the Semantic Web

Modeling Web 2.0 content• SIOC: Semantically-Interlinked Online

Communities (Breslin et al., 2005)• http://sioc-project.org

• An ontology to describe activities of online communities and their Social Media Contributions (SMC)• Common semantics for SMC modeling

• Reusing existing ontologies (FOAF, DC ...)

• W3C Member submission, June 2007• http://www.w3.org/Submission/2007/02

Page 28: Social Music meets the Semantic Web

SIOC data example

Page 29: Social Music meets the Semantic Web

SIOC applications• More than 40 applications

• Mainly open-source

• http://rdfs.org/sioc/applications/

• Creating SIOC data• APIs (PHP, Perl ...)

• Exporters for major platforms (Drupal, Wordpress ...) and services (Mailing-lists, IRC ...)

• Consuming SIOC data• RDF tools, SIOC browsers, Agregators

Page 33: Social Music meets the Semantic Web

Querying SIOC data

• Retrieving last blog posts and pictures of a given user

• Use FOAF / SIOC relationships to provide a single query for your complete SMC from distributed services

• SELECT ?dataWHERE { <$uri> foaf:holdsAccount ?acc . ?data sioc:has_creator ?acc .}

Page 34: Social Music meets the Semantic Web

SIOC Types• SMC are not text-only: pictures, videos,

music, events ...

• A need for more advanced semantics

• SIOC Types module

• http://rdfs.org/sioc/types

• Provides subclasses of Item and Container, aligned with existing ontologies

• AudioChannel and VideoChannel

• dcmi:Sound and dcmi:MovingImage

Page 35: Social Music meets the Semantic Web

Modeling playlists

• Combining SIOC and DC to model an online playlist and related songs

• :myRadio a sioct:AudioChannel ;

sioc:contains :song1 ;

sioc:has_creator :me ;

dc:title “Alex’s last.fm playlist” .

:song1 a dcmi:Sound

dc:title “Monkey Man” ;

mo:performer dbpedia:The_Specials .

Page 36: Social Music meets the Semantic Web

Linking Open Data

http://www.flickr.com/photos/28509009@N03/2668650475/ by marcreis

Page 37: Social Music meets the Semantic Web

The LOD Initiative• Linking Open Data

• http://linkeddata.org

• Lots of information available on the Web• Closed world, proprietary data silos

• Provide it in RDF and interlink it !• From documents to machine-understandable data

• Use links to discover data by browsing the GGG

• Open licensing policy

• WWW2008 talk on Linked Data

Page 38: Social Music meets the Semantic Web

The LOD cloud

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

Page 39: Social Music meets the Semantic Web

Reference datasets• DBpedia (Auer et. al, 2007)

• Wikipedia infoboxes translated into RDF

• Any Wikipedia concept gets a URI:

• http://dbpedia.org/resource/The_Specials

• Geonames• RDF data about more than 6M

geographical entities (countries, cities ...)

• riese (Halb et al., 2008)• RDF description of the Eurostat dataset

Page 40: Social Music meets the Semantic Web

Music-related open data• http://dbtune.org (Raimond, 2008)

• Music-related RDF platform

• LOD-exporters for major music databases and social services• MusicBrainz, Jamendo

• Last.fm, MySpace

• Interlinked with references datasets• Geonames, DBPedia, riese, FOAF

• Advanced querying and browsing features

Page 41: Social Music meets the Semantic Web

Browsing interlinked data

http://blog.dbtune.org/post/2008/02/06/Playing-with-Linked-Data-Jamendo-Geonames-Mazzle-and-Songbird

Page 42: Social Music meets the Semantic Web

Semantic tagging with MOAT

http://www.flickr.com/photos/loop_oh/2368779403/ by loop_oh

Page 43: Social Music meets the Semantic Web

Tagging• A popular practice on Web 2.0

services to let user index content• Flickr, last.fm, YouTube ...

• Folksonomies• Open and user-driven indexing scheme

• Anyone can use his own terms, no need to learn a classification vocabulary

• Problems when retrieving data• Ambiguity, heterogeneity, lack of

relationship between tags

Page 44: Social Music meets the Semantic Web

Tags (as words)

Page 45: Social Music meets the Semantic Web

Tags (as words)

Page 46: Social Music meets the Semantic Web

Tags (as words)

Page 47: Social Music meets the Semantic Web

Tags (as words)

=

Page 48: Social Music meets the Semantic Web

Tags (as words)

= =

Page 49: Social Music meets the Semantic Web

URIs

http://dbpedia.org/resource/Apple

Page 50: Social Music meets the Semantic Web

URIs

http://dbpedia.org/resource/Apple_Inc.

http://dbpedia.org/resource/Apple

Page 51: Social Music meets the Semantic Web

URIs

http://dbpedia.org/resource/Apple_Inc.

http://dbpedia.org/resource/Apple

http://dbpedia.org/resource/Apple_Records

Page 52: Social Music meets the Semantic Web

URIs

!=http://dbpedia.org/resource/Apple_Inc.

http://dbpedia.org/resource/Apple

http://dbpedia.org/resource/Apple_Records

Page 53: Social Music meets the Semantic Web

URIs

!=

!=http://dbpedia.org/resource/Apple_Inc.

http://dbpedia.org/resource/Apple

http://dbpedia.org/resource/Apple_Records

Page 54: Social Music meets the Semantic Web

Tagging with URIs ?

• Indexing data with Semantic Web concepts defined by URIs• Solves ambiguity / heterogeneity problems

thanks to understandable identifiers

• Interlinking content thanks to Linked Data

• Challenges • How to find URIs related to a given tag

and define new ones ?

• How to let people easily bridge this gap between tagging and semantic indexing ?

Page 55: Social Music meets the Semantic Web

MOAT• Meaning Of A Tag (Passant & al, 2008)

• http://moat-project.org

• A model to represent the meaning of tags• “apple” can refer to various things, but when

I tag this blog post with it, I mean the record company, not the fruit

• A collaborative and open-source framework• A tag server to define and share meanings

• Architecture of participation principles

Page 56: Social Music meets the Semantic Web

The MOAT modelmoat:Tag

tags:RestrictedTagging

tags:associatedTag

Resource

tags:taggedResource

Resource URI

moat:tagMeaning

Local meaningGlobal meanings

moat:Meaning

moat:Meaning

moat:hasMeaning

moat:meaningURI

foaf:Agent

foaf:Agent

foaf:makertags:taggedBy

Page 57: Social Music meets the Semantic Web

The MOAT framework

User creates content and tag it Client queries the MOAT server

Server returns the setfor global meaning URIs

User chooses local meaning URI

User saves the content

<http://sws.geonames.org/2988507/>

<http://sws.geonames.org/4402452/>

<http://dbpedia.org/resource/Paris_Hilton>

http://example.org/post/1

http://sws.geonames.org/2988507/

http://example.org/tagging/1

Content entersthe Semantic Web

moat:tagMeaning

http://example.org/alex

http://tags.moat-project.org/tag/paris

tags:associatedTag

tags:taggedBy

tags:taggedResource

Page 58: Social Music meets the Semantic Web

Semantic Web based recommendations

http://www.flickr.com/photos/yumlog2/20896759/ by yuki*

Page 59: Social Music meets the Semantic Web

Recommendations• Common practices

• Bitrate, musical similarity, rythm ...

• Suggest music, content and events thanks to the Semantic Web• Social-networking

• LOD relationships

• SMC and tagged content

• Related work: FOAF-ing the Music (Celma, 2006)

Page 60: Social Music meets the Semantic Web

Social Networking

• You may like what your friends are listening to ...

:alex :yvesfoaf:knows

foaf:topic_interest

dbpedia:Ramones

Page 61: Social Music meets the Semantic Web

Social Networking

• ... and also the friends of your friends ...

:alex :yvesfoaf:knows :tomfoaf:knows

foaf:topic_interest foaf:topic_interest

dbpedia:Ramones dbpedia:Rancid

Page 62: Social Music meets the Semantic Web

Social Networking

• ... from any service

:alex :yvesfoaf:knows :tomfoaf:knows

foaf:topic_interest foaf:topic_interest

dbpedia:Ramones dbpedia:Rancid

Page 63: Social Music meets the Semantic Web

Using LOD

• You like a band, what about using DBpedia to see if you may like ...

:alex dbpedia:Beastie_Boysfoaf:topic_interest

Page 64: Social Music meets the Semantic Web

Using LOD

• Bands that share concerts with them ?

:alex dbpedia:Beastie_Boysfoaf:topic_interest

p:associatedActs

dbpedia:Bad_Brains

Page 65: Social Music meets the Semantic Web

Using LOD

• Their solo members ?

:alex dbpedia:Beastie_Boysfoaf:topic_interest

p:currentMembers

dbpedia:Adam_Yauch

p:associatedActs

dbpedia:Bad_Brains

Page 66: Social Music meets the Semantic Web

Using LOD

• Bands from the same music genre ?

:alex dbpedia:Beastie_Boysfoaf:topic_interest

p:currentMembers

dbpedia:Adam_Yauch

dbpedia:Black_Flag_(band)

dbpedia:Hardcore_Punk

p:genre p:genrep:associatedActs

dbpedia:Bad_Brains

Page 67: Social Music meets the Semantic Web

Using LOD

• Or even ... somehow related artists ?

:alex dbpedia:Beastie_Boysfoaf:topic_interest

p:currentMembers

dbpedia:Adam_Yauch dbpedia:B._B._King

dbpedia:Category:American_vegatarians

skos:subject skos:subject

dbpedia:Black_Flag_(band)

dbpedia:Hardcore_Punk

p:genre p:genrep:associatedActs

dbpedia:Bad_Brains

Page 68: Social Music meets the Semantic Web

SMC and tagged content

• Tag blog posts using SIOC and MOAT ...

:alex

:blogPost1

sioc:creator_of

sioc:topic

dbpedia:The_Clash

sioct:BlogPost

rdf:type

Page 69: Social Music meets the Semantic Web

SMC and tagged content

• ... while people tag pictures ...

:alex

:blogPost1

sioc:creator_of

:bob

:picture1

sioc:creator_of

sioc:topic

dbpedia:The_Clash dbpedia:Joe_Strummer

sioc:topic

sioct:BlogPost

rdf:type

exif:IFD rdf:type

Page 70: Social Music meets the Semantic Web

SMC and tagged content

• ... find related content ...

:alex

:blogPost1

sioc:creator_of

:bob

:picture1

sioc:creator_of

sioc:topic

dbpedia:The_Clash dbpedia:Joe_Strummer

sioc:topic

p:pastMembers

sioct:BlogPost

rdf:type

exif:IFD rdf:type

Page 71: Social Music meets the Semantic Web

SMC and tagged content

• ... once again, everything is distributed

:alex

:blogPost1

sioc:creator_of

:bob

:picture1

sioc:creator_of

sioc:topic

dbpedia:The_Clash dbpedia:Joe_Strummer

sioc:topic

p:pastMembers

sioct:BlogPost

rdf:type

exif:IFD rdf:type

Page 72: Social Music meets the Semantic Web

Using the whole data

• Bands that a friend of your friend blogged about, in which the drummer played in the Ska band of the 80’s and that will play in your town next week for less thank £10

• The data is there, on various datasets, we (just) need to write the query ...

Page 73: Social Music meets the Semantic Web

Thanks you ! Any questions ?slides @ apassant.net

http://flickr.com/photos/8049973@N03/2656140464/ by wolf.tone


Recommended