25
A (brief) introduction to SIOC and MOAT Alexandre Passant - http://apassant.net LaLIC, Université Paris-Sorbonne, France State of the semantic web in the BBC - 30 June 2008

A (brief) introduction to SIOC and MOAT

Embed Size (px)

DESCRIPTION

BBC SemWeb Seminar - 30 July 2008

Citation preview

Page 1: A (brief) introduction to SIOC and MOAT

A (brief) introduction toSIOC and MOATAlexandre Passant - http://apassant.net

LaLIC, Université Paris-Sorbonne, France

State of the semantic web in the BBC - 30 June 2008

Page 2: A (brief) introduction to SIOC and MOAT

Modeling Social Media Contributions with

SIOC

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

Page 3: A (brief) introduction to SIOC and MOAT

Social Media Contributions

• Lots of user-created and distributed content:

• Blog posts, wiki pages, pictures, bookmarks ...

• Called “Social Media Contributions” or SMC

• A need for common semantics to

• Provide a single model for any SMC, wherever it comes from

• Enables the use of SPARQL queries instead of APIs

• Interlink data and find relationships between content

Page 4: A (brief) introduction to SIOC and MOAT

Semantically-Interlined Online Communities

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

• A ontology to represent the activities of online communities on the Web

• W3C Member Submission, June 2007

• Namespace: http://rdfs.org/sioc/ns

• 5 top-level classes: User, Role, Space, Container, Item

• A “SIOC Types” module

• A Semantic Web citizen:

• Reusing and interlinking existing ontologies

Page 6: A (brief) introduction to SIOC and MOAT

Unified data modeling with SIOC

Services

Page 7: A (brief) introduction to SIOC and MOAT

Unified data modeling with SIOC

Exporters Common semanticServices

:blog_1

sioc:container_of

:post_1

rdf:type

:blog_2

sioc:container_of

:post_2

:wiki_1

sioc:container_of

:article_1

rdf:type

rdf:type

sioct:BlogPost

sioct:WikiArticle

sioct:BlogPost

Page 8: A (brief) introduction to SIOC and MOAT

Unified data modeling with SIOC

Exporters Common semanticServices

:blog_1

sioc:container_of

:post_1

rdf:type

sioc:Item

:blog_2

sioc:container_of

:post_2

:wiki_1

sioc:container_of

:article_1

rdf:type

rdf:type

sioct:BlogPost

sioct:WikiArticle

sioct:BlogPost

rdfs:subClassOf

rdfs:subClassOf

rdfs:subClassOf

Page 9: A (brief) introduction to SIOC and MOAT

Unified data modeling with SIOC

Exporters Common semanticServices

:blog_1

sioc:container_of

:post_1

rdf:type

sioc:Item

:blog_2

sioc:container_of

:post_2

:wiki_1

sioc:container_of

:article_1

rdf:type

rdf:type

sioct:BlogPost

sioct:WikiArticle

sioct:BlogPost

rdfs:subClassOf

rdfs:subClassOf

rdfs:subClassOf

Page 10: A (brief) introduction to SIOC and MOAT

Unified data modeling with SIOC

Exporters Common semanticServices

:blog_1

sioc:container_of

:post_1

rdf:type

sioc:Item

:blog_2

sioc:container_of

:post_2

:wiki_1

sioc:container_of

:article_1

rdf:type

rdf:type

sioct:BlogPost

sioct:WikiArticle

sioct:BlogPost

rdfs:subClassOf

rdfs:subClassOf

rdfs:subClassOf

Page 11: A (brief) introduction to SIOC and MOAT

Connecting FOAF and SIOC

• sioc:User

• Can be thought of as a virtual representation of any person online, within the context of a given social media website or community

• A subclass of foaf:OnlineAccount

• foaf:holdsAccount

• “The foaf:holdsAccount property relates a foaf:Agent to a foaf:OnlineAccount for which they are the sole account holder.”

• Links a foaf:Person to various sioc:User(s)

• As many sioc:User(s) as required can be linked to a single person

Page 13: A (brief) introduction to SIOC and MOAT

Retrieving all SMC of a given user

• Combining FOAF, SIOC and OpenID to retrieve any content from a given user, on various services

SELECT ?user ?item WHERE { ?people foaf:openid <$openid> ; foaf:holdsAccount ?user . ?item sioc:has_creator ?user . }

Page 14: A (brief) introduction to SIOC and MOAT

Querying the SIOC-o-sphere

• Sindice developer tools (SIOC API and widgets)

• http://sindice.com/dev

Page 15: A (brief) introduction to SIOC and MOAT

Semantic tagging with MOAT

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

Page 16: A (brief) introduction to SIOC and MOAT

Tags (as words)

= =

Page 17: A (brief) introduction to SIOC and MOAT

URIs

!=

!=

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

http://dbpedia.org/resource/Apple

http://dbpedia.org/resource/Apple_Records

Page 18: A (brief) introduction to SIOC and MOAT

Tagging with URIs ?

• Indexing data with Semantic Web concepts

• Solves common problems thanks to understandable identifiers (tags ambiguity & heterogeneity, linking tagged data)

• Challenges

• How to find URIs related to a given tag ?

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

Page 19: A (brief) introduction to SIOC and MOAT

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

• http://moat-project.org

• A model to represent the meaning of tags

• When I tag this post “apple”, I mean the record company, not the fruit

• Using URIs (LOD-based) to define meanings

• A collaborative and open-source framework

• Define and share tags in a community

Page 20: A (brief) introduction to SIOC and MOAT

The MOAT frameworkUser 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 21: A (brief) introduction to SIOC and MOAT

Benefits of using MOAT

• Tag blog posts using SIOC and MOAT ...

:alex

:blogPost1

sioc:creator_of

sioc:topic

dbpedia:The_Clash

sioct:BlogPost

rdf:type

Page 22: A (brief) introduction to SIOC and MOAT

Benefits of using MOAT

• ... 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 23: A (brief) introduction to SIOC and MOAT

Benefits of using MOAT• ... find related content thanks to data

relationships ...

: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 24: A (brief) introduction to SIOC and MOAT

Benefits of using MOAT

• ... from various distributed services

: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 25: A (brief) introduction to SIOC and MOAT

Thanks• http://sioc-project.org

• http://moat-project.org

• Social Data On The Web Workshop at ISWC2008 - http://sdow2008.semanticweb.org

• A few days left for submission !