less - template-based syndication and presentation of linked data for end-users

19
ESWC, June 1 st , 2010 LESS - Template-based Syndication and Presentation of Linked Data for End-users Sören Auer , Raphael Doehring, Sebastian Tramp (formerly Dietzold) Research Group AKSW

Upload: soeren-auer

Post on 27-Jan-2015

107 views

Category:

Technology


0 download

DESCRIPTION

 

TRANSCRIPT

Page 1: LESS - Template-based Syndication and Presentation of Linked Data for End-users

ESWC, June 1st, 2010

LESS - Template-based Syndication and

Presentation of Linked Data for End-users

Sören Auer, Raphael Doehring, Sebastian Tramp (formerly Dietzold)

Research Group AKSW

Page 2: LESS - Template-based Syndication and Presentation of Linked Data for End-users

How can I show the Linked Data Web to my grandma?

July 2007 April 2008 September 2008

July 2009

Steradent Triple Action Denture Cleaning Powder pricesActive Adult

CommunitiesKaffeefahrten (promotional trips)

Page 3: LESS - Template-based Syndication and Presentation of Linked Data for End-users

How can we make LODvisible & usable to end-users?

LESS in a nutshell: Create visualization templates for

common entity types

Enable people to publish, share,

discuss, refine, reuse templates

RESTful API facilitates embedding of processed templates into arbitrary Web sites (blogs, Wikis, CMSes, …)

= “LOD syndication”

Websites update, once LOD resources

do

Page 4: LESS - Template-based Syndication and Presentation of Linked Data for End-users

LESS System Architecture

Page 5: LESS - Template-based Syndication and Presentation of Linked Data for End-users

LeTL – Less Template Language

• Extension of the well-known SMARTY template language:

Page 6: LESS - Template-based Syndication and Presentation of Linked Data for End-users

Template Example

Page 7: LESS - Template-based Syndication and Presentation of Linked Data for End-users

Template Repository: publish, rate, browse, reuse templates

• Categorization based on supported RDF classes and user-defined tags• rate, comment and reuse existing templates• Implemented on top of a relational database, available as RDF by

using Triplify at http://less.aksw.org/triplify• Each template has unique template id, every revision its revision id• registered LESS users can only change their own templates

– prevents conflicts– a user can create own copy of any template

• public availability of templates has a number of advantages:– templates serve as examples for new users,– they can be used by other third-party applications,– the reuse of templates facilitates a natural modularization,– popularity tracking.

Page 8: LESS - Template-based Syndication and Presentation of Linked Data for End-users
Page 9: LESS - Template-based Syndication and Presentation of Linked Data for End-users

Template Processor• Input: LESS template + linked data resource or SPARQL query • iterates through all resource descriptions or SPARQL query result

items– Enables processing of RDF documents containing >1 resource descriptions

• template application can be restricted to resources of a certain type i.e. RDF class (e.g. foaf:Person in a FOAF profile)

• sortBy parameter: order the resources based on the values of a certain property

• user-defined parameters: can be accessed from within the template definition

• cached version of LOD resource or SPARQL query can be used (based on per system, template or request configuration)– Mitigates endpoint outages and slow responses

Page 10: LESS - Template-based Syndication and Presentation of Linked Data for End-users

LESS Integration Interface

REST API via the URL http://less.aksw.org/build

URL parameters • id of the template, • LOD URI or SPARQL query• revision of the template (optional)• ttl (optional)

Returns the rendered output as text (in most cases HTML snippets)• optional URL parameter output: Javascript or JSON can be alternatively

selected as output format

http://less.aksw.org/build?id=2&uri=http%3A%2F%2Fdbpedia.org%2Fresource%2FBerlin

Page 11: LESS - Template-based Syndication and Presentation of Linked Data for End-users
Page 12: LESS - Template-based Syndication and Presentation of Linked Data for End-users
Page 13: LESS - Template-based Syndication and Presentation of Linked Data for End-users

Usage scenario: Linked Data View Creation and Visualization

Page 14: LESS - Template-based Syndication and Presentation of Linked Data for End-users

GoodRelations example© Martin Hepp

Page 15: LESS - Template-based Syndication and Presentation of Linked Data for End-users

Usage scenario: Integration of Information from Various Sources

Page 16: LESS - Template-based Syndication and Presentation of Linked Data for End-users

Create LOD Visualization Mashups

• Mashup template combining the Google Charts API with Eurostats data:

Page 17: LESS - Template-based Syndication and Presentation of Linked Data for End-users

Template Integration into Existing Applications: Typo3

Page 18: LESS - Template-based Syndication and Presentation of Linked Data for End-users

Can LOD make grandmas happy?

Extensive investigations by the presenter revealed:

No information yet on LOD about:

Steradent Triple Action Denture Cleaning Powder pricesActive Adult

CommunitiesKaffeefahrten (promotional trips)

But if it would be, at least with LESS we could present it in a way grandmas would understand ;-)

Page 19: LESS - Template-based Syndication and Presentation of Linked Data for End-users

ESWC, June 1st, 2010

Thanks!Sören [email protected] group Agile Knowledge Engineering & Semantic Web

(AKSW): http://aksw.orghttp://less.aksw.org