semantic web in action

68
Copyright 2007 Digital Enterprise Research Institute. All rights reserved. www.deri.or g Digital Enterprise Research Institute www.deri.i e Semantic Web in Action Stefan Decker, Eyal Oren, Sebastian R. Kruk

Upload: sebastian-kruk

Post on 10-May-2015

4.818 views

Category:

Technology


1 download

DESCRIPTION

This is the presentation we (Stefan, Eyal, and I) gave to Google on May, 25th 2007

TRANSCRIPT

Page 1: Semantic Web in Action

Copyright 2007 Digital Enterprise Research Institute. All rights reserved. www.deri.org

Digital Enterprise Research Institute www.deri.ie

Semantic Web in Action

Stefan Decker, Eyal Oren, Sebastian R. Kruk

Page 2: Semantic Web in Action

2

Digital Enterprise Research Institute www.deri.ie

Outline

Introduction about DERI Interlinking online communities: SIOC Application development: ActiveRDF &

BrowseRDF Sharing and interconnecting knowledge:

JeromeDL Summary

Page 3: Semantic Web in Action

3

Digital Enterprise Research Institute www.deri.ie

DERI Galway – Mission

DERI Galway’s mission is “to exploit semantics for helping

– people– organisations– systems

to better collaborate and interoperate”.

Page 4: Semantic Web in Action

4

Digital Enterprise Research Institute www.deri.ie

Some statistics

Founded June 2003 with 1 fulltime member Status May 2007: 98 members Core fulltime research active members:

2 Professors 6 additional senior scientific researchers 9 PostDocs 5 Research Staff 58 PhD, Master Students & Interns

18 members are administration & management, industry and community outreach, university liaison, subcontractors

Still hiring aggressively

Page 5: Semantic Web in Action

5

Digital Enterprise Research Institute www.deri.ie

“An extension of the current Web in which information is given well-defined meaning, better enabling computers and people to work in cooperation.”

– Sir Tim Berners-Lee et al., Scientific American, 2001: tinyurl.com/i59p

“…allowing the Web to reach its full potential…” with far-reaching consequences

“The next generation of the Web”

What is the Semantic Web? (beware the hype)

Page 6: Semantic Web in Action

6

Digital Enterprise Research Institute www.deri.ie

The Semantic Web (so far)

Page 7: Semantic Web in Action

7

Digital Enterprise Research Institute www.deri.ie

Social semantic information spaces: SW 2.0

Web 2.0and socialsoftware

Page 8: Semantic Web in Action

Copyright 2007 Digital Enterprise Research Institute. All rights reserved. www.deri.org

Digital Enterprise Research Institute www.deri.ie

SIOC: Semantically Interlinked Community Sites

Stefan Decker

Page 9: Semantic Web in Action

9

Digital Enterprise Research Institute www.deri.ie

What is SIOC?

Semantically-Interlinked Online Communities (SIOC)

Connecting many types of online communities (blogs, forums, mailing lists, etc.)

Interesting possibilities: Distributed linked conversations Decentralised discussion channels and communities

“I […] think the concept is HOT” – Robert Douglass, Drupal Developer

Page 10: Semantic Web in Action

10

Digital Enterprise Research Institute www.deri.ie

Page 11: Semantic Web in Action

11

Digital Enterprise Research Institute www.deri.ie

Page 12: Semantic Web in Action

12

Digital Enterprise Research Institute www.deri.ie

Page 13: Semantic Web in Action

13

Digital Enterprise Research Institute www.deri.ie

Page 14: Semantic Web in Action

14

Digital Enterprise Research Institute www.deri.ie

Page 15: Semantic Web in Action

15

Digital Enterprise Research Institute www.deri.ie

Page 16: Semantic Web in Action

16

Digital Enterprise Research Institute www.deri.ie

Page 17: Semantic Web in Action

17

Digital Enterprise Research Institute www.deri.ie

Page 18: Semantic Web in Action

18

Digital Enterprise Research Institute www.deri.ie

Page 19: Semantic Web in Action

19

Digital Enterprise Research Institute www.deri.ie

Page 20: Semantic Web in Action

20

Digital Enterprise Research Institute www.deri.ie

SIOC Ontology

Page 21: Semantic Web in Action

21

Digital Enterprise Research Institute www.deri.ie

How can SIOC data be used?

Page 22: Semantic Web in Action

22

Digital Enterprise Research Institute www.deri.ie

Browsing SIOC with TimeLine (1)

Page 23: Semantic Web in Action

23

Digital Enterprise Research Institute www.deri.ie

Browsing SIOC with TimeLine (2)

Page 24: Semantic Web in Action

24

Digital Enterprise Research Institute www.deri.ie

Create SIOC export modules for popular open-source discussion systems

Infecting the Web Infrastructure: During next upgrade cycle gigabytes of community data

become available SIOC metadata exporters created for:

Content management system (Drupal) Bulletin board system (phpBB) Blogging system (WordPress) French blogging system (DotClear)

How can SIOC disseminated?

Page 25: Semantic Web in Action

25

Digital Enterprise Research Institute www.deri.ie

Page 26: Semantic Web in Action

26

Digital Enterprise Research Institute www.deri.ie

Next steps: Add Onion Rings of Vocabularies

RDF CalendarRDF Calendar

MicroformatsMicroformats

Page 27: Semantic Web in Action

Copyright 2007 Digital Enterprise Research Institute. All rights reserved. www.deri.org

Digital Enterprise Research Institute www.deri.ie

Semantic Web application development:

ActiveRDF and BrowseRDF

Eyal Oren

Page 28: Semantic Web in Action

28

Digital Enterprise Research Institute www.deri.ie

Semantic Web applications:

Database-driven web applications

Semantic Web applications

Centralised Decentralised

One fixed schema Semi-structured

One fixed vocabulary Arbitrary vocabulary

Centralised publishing Publish anywhere

One datasource Many distributed datasources

Closed systems Open systems

Page 29: Semantic Web in Action

29

Digital Enterprise Research Institute www.deri.ie

Motivation

database

object-relational mapping

web application framework

relational web

applications:

Page 30: Semantic Web in Action

30

Digital Enterprise Research Institute www.deri.ie

Motivation

database

object-relational mapping

web application framework

relational web

applications:

Page 31: Semantic Web in Action

31

Digital Enterprise Research Institute www.deri.ie

Motivation

database

object-relational mapping

web application framework

relational web

applications:

semantic web applications:

Page 32: Semantic Web in Action

32

Digital Enterprise Research Institute www.deri.ie

Motivation

database

object-relational mapping

web application framework

data source

relational web

applications:

semantic web applications:

Page 33: Semantic Web in Action

33

Digital Enterprise Research Institute www.deri.ie

Motivation

database

object-relational mapping

web application framework

data sourceRDF store

relational web

applications:

semantic web applications:

Page 34: Semantic Web in Action

34

Digital Enterprise Research Institute www.deri.ie

Motivation

database

object-relational mapping

web application framework

???

data sourceRDF store

???

relational web

applications:

semantic web applications:

Page 35: Semantic Web in Action

35

Digital Enterprise Research Institute www.deri.ie

Motivation

database

object-relational mapping

web application framework

???

data sourceRDF store

???

relational web

applications:

semantic web applications:

ActiveRDF

Ruby on Rails

Page 36: Semantic Web in Action

36

Digital Enterprise Research Institute www.deri.ie

ActiveRDF: RDF(S) to OO mapping

Intuitive mapping: RDF(S) classes to OO classes RDF resources to OO objects RDF triples to OO attribute values

foaf:Person a rdfs:Class.john a foaf:Person.john foaf:name “John Breslin”.

Personname:string john: Person

name: “John Breslin”

Page 37: Semantic Web in Action

37

Digital Enterprise Research Institute www.deri.ie

ActiveRDF examples

print names of john’s friends

find all 30-year olds named John

Page 38: Semantic Web in Action

38

Digital Enterprise Research Institute www.deri.ie

ActiveRDF architecture

proxy objects represent RDF resource, convert methods into queries

abstract query API

manages collection of data sources

wraps RDF store with its own API

Page 39: Semantic Web in Action

39

Digital Enterprise Research Institute www.deri.ie

ActiveRDF object manager

Represents RDF resources (including RDFS classes) through proxy objects

Intercepts each method call, converts method call into read/write query

Intercepts all dynamic finders calls, converts into query

print john.foaf::name john.foaf::knows << jack FOAF::Person.find_all

Page 40: Semantic Web in Action

40

Digital Enterprise Research Institute www.deri.ie

ActiveRDF adapters

Abstract RDF (or other) data into homogeneous API

SPARQL endpoints, Sesame, Jena, YARS, Redland, ... Application data (e.g. Evolution emails) Desktop metadata (e.g. Apple Spotlight metadata)

Reuse ActiveRDF framework with arbitrary data sources

Page 41: Semantic Web in Action

41

Digital Enterprise Research Institute www.deri.ie

Problems with intuitive mapping

RDF Schema ≠ OO class definition OO: class membership determines instance behaviour RDF(S): instance behaviour determines class membership several consequences, e.g. RDF(S) properties propagate upwards

See (Oren et al., WWW2007) for details and solutions

Page 42: Semantic Web in Action

Copyright 2007 Digital Enterprise Research Institute. All rights reserved. www.deri.org

Digital Enterprise Research Institute www.deri.ie

Faceted Navigation for RDF Data

Page 43: Semantic Web in Action

43

Digital Enterprise Research Institute www.deri.ie

Faceted browsing example: iTunes

Page 44: Semantic Web in Action

44

Digital Enterprise Research Institute www.deri.ie

Faceted browsing: limitations

facets manually configured for a fixed domain music: genre, artist, album, title books: title, author, publisher recipes: ingredients, cuisine, calories, preparation time

facets do not (fully) exploit interconnected data assume data homogeneity focus on one resource type (e.g. songs) only facets of songs, not of singers, albums, publishers

Page 45: Semantic Web in Action

45

Digital Enterprise Research Institute www.deri.ie

Faceted browsing on the Semantic Web

faceted browsing is query construction

facets in semantic web data: information space: set of triples elements of interest: set of subjects facets: set of properties

now identify operators ...

SELECT ?x WHERE ?x author ?a and ?a age “30”.

Page 46: Semantic Web in Action

46

Digital Enterprise Research Institute www.deri.ie

Selection operators

all thirty-year-olds all single people

all people who know somebody with a friend called Stefan

Page 47: Semantic Web in Action

47

Digital Enterprise Research Institute www.deri.ie

Intersection operator

all single thirty-year-olds that know somebody who has a friend called Stefan

Page 48: Semantic Web in Action

48

Digital Enterprise Research Institute www.deri.ie

Inverse operators

all DERI employees all working people

all people working for an Irish company

Page 49: Semantic Web in Action

49

Digital Enterprise Research Institute www.deri.ie

Interface construction algorithm

select resources(constrain information space)

select facets(arcs in constrained space)

rank facets(identify most interesting facets)

select ?s where ...

select ?p where ...

Page 50: Semantic Web in Action

50

Digital Enterprise Research Institute www.deri.ie

Facet browsing: decision tree

faceted browsing: constructing & traversing decision tree

...

Page 51: Semantic Web in Action

51

Digital Enterprise Research Institute www.deri.ie

Facet ranking: optimise decision tree

decision tree affects navigation efficiency cardinality

author: 300 values (all names unique) publisher: 5 values (only few topics)

balance publisher: Springer (82%), rest (18%) topic: logic (30%), p2p (30%), web (40%)

frequency location 5% (almost never given) author 100% (no anonymous publications)

Page 52: Semantic Web in Action

52

Digital Enterprise Research Institute www.deri.ie

SIOC explorer

Aggregate online community sources Dynamic faceted navigation Built on ActiveRDF and Ruby on Rails

Page 53: Semantic Web in Action

Copyright 2007 Digital Enterprise Research Institute. All rights reserved. www.deri.org

Digital Enterprise Research Institute www.deri.ie

JeromeDLthe Semantic Digital Library

Sharing and Interconnecting Knowledge

Sebastian R. Kruk

Page 54: Semantic Web in Action

54

Digital Enterprise Research Institute www.deri.ie

Motivation

How to integrate and search information from different bibliographic sources?

How to share and interconnect knowledge among people?

Page 55: Semantic Web in Action

55

Digital Enterprise Research Institute www.deri.ie

Yesterday’s world of digital content

Digital library Database and archive (storage) Digital bibliographic descriptions (metadata) Full-text search (interface)

Pros: Content accessible online Federations of libraries – visit less places

Cons: Lonely user No one to talk to, we need to find the right keywords, what if

we do not know them (“man without an ear” paintings example)

Still many problems with interconnecting (different) libraries

Page 56: Semantic Web in Action

56

Digital Enterprise Research Institute www.deri.ie

Tomorrow of interconnected, social media

Social Semantic Information Spaces Semantic description (interconnected metadata) Annotations provided by users (social metadata) Collaborative search and browsing (interface)

Features Search and browsing based on semantics empowers users Users contribute to the classification process Users can understand community driven annotations Users enhance digital content using blogs, wikis on the

side RDF provides bases for interconnection of digital libraries

Page 57: Semantic Web in Action

Digital Enterprise Research Institute www.deri.ie

JeromeDL - Properties

Support for different kinds of metadata (DublinCore, BibTeX, MARC21)

Supporting users and communities: users have control over their profile information; community-aware profiles integrated with bibliographic

descriptions support for community-generated knowledge

Page 58: Semantic Web in Action

58

Digital Enterprise Research Institute www.deri.ie

Metadata and Services in JeromeDL

Page 59: Semantic Web in Action

59

Digital Enterprise Research Institute www.deri.ie

Semantic Metadata and Services

Page 60: Semantic Web in Action

60

Digital Enterprise Research Institute www.deri.ie

Browsing the data graph – why?

The search does not end on a (long) list of results

The results are not a list (!) but a graph „Lost in hyperspace” A need for unified UI and services for

filter/narrow and browse/expand services Share browsing experience – navigate

collaboratively

Page 61: Semantic Web in Action

61

Digital Enterprise Research Institute www.deri.ie

Browsing the data graph – how?

Defines REST access to services and their composition

Basic services: access, search, filter, similar, browse, combine

Meta services: RDF serialization, subscription channels, service ID generation,

Context services: manage contexts, manage service calls/compositions in the context, lists contexts

Statistics services: properties, values, tokens

Page 62: Semantic Web in Action

62

Digital Enterprise Research Institute www.deri.ie

Browsing the data graph

JeromeDL exploits interconnected data

Page 63: Semantic Web in Action

63

Digital Enterprise Research Institute www.deri.ie

Browsing the data graph

… to allow browsing

Page 64: Semantic Web in Action

64

Digital Enterprise Research Institute www.deri.ie

Semantic Metadata and Services

Page 65: Semantic Web in Action

65

Digital Enterprise Research Institute www.deri.ie

Social Semantic Collaborative Filtering

Why? The bottom-line of acquiring knowledge: informal

communication (“word of mouth”) How?

Everyone classifies (filters) the information in bookmark folders (user-oriented taxonomy)

Peers share (collaborate over) the information (community-driven taxonomy)

Result? Knowledge “flows“ from the expert

through the social network to the user System amass a lot of information

on user/community profile (context)

Page 66: Semantic Web in Action

66

Digital Enterprise Research Institute www.deri.ie

Social Semantic Collaborative Filtering

Problems? The horizon of a social network (2-3 degrees of

separation) How to handle fine-grained information (blogs, wikis,

etc.) Solutions?

Inference engine to suggest knowledge from the outskirts of the social network

Support for SIOC metadata:– SIOC browser in SSCF– Annotations and evaluations of “local” resources

Page 67: Semantic Web in Action

67

Digital Enterprise Research Institute www.deri.ie

foaf:knows

xfoaf:include

xfoaf:bookmark

Social Semantic Collaborative Filtering

Page 68: Semantic Web in Action

68

Digital Enterprise Research Institute www.deri.ie

Summary

Some of DERI’s open-source SemWeb technology: Online communities metadata: SIOC

http://sioc-project.org Data mapping: ActiveRDF

http://activerdf.org Semantic Content Repository: JeromeDL

http://jeromedl.org Faceted navigation: BrowseRDF, MultiBeeBrowse

http://browserdf.org Social knowledge sharing: SSCF

http://s3b.corrib.org Much more: http://deri.ie