SIOC/SfswPaper

From W3C Wiki

Paper for "3rd Workshop on Scripting for the Semantic Web" June 6 or 7, 2007, Innsbruck, Austria @ ESWC07 http://www.semanticscripting.org/SFSW2007/

Final result:

 http://sw.deri.org/svn/sw/2007/03/sfsw-scripting-architecture/sfsw%202007%20paper.pdf

Idea: Write a paper that demonstrates how the "SemRadar + PTSW + Doapstore" chain allow users to find decentralized semantic web documents in a simple way (no need to know what RDF or SW is about to use search interface) and in a collaborate way (using SemRadar)


Abstract

This paper introduces an architecture involving small scripting applications that interact each other around the Ping The Semantic Web service in order to allow users to fetch and query decentralized DOAP documents.

Introduction

  • Decentralized documents
  • No simple way to find foaf, doap, or cc documents
  • Need for tools that centralize and query
  • ... but: why creating a big framework while small "pipes" can do the job !

As the Semantic Web meme spreads on the Internet, more and more RDF data in available on the Web. People create FOAF profile, bloggers use exporters to make their posts available in RDF - whether is it RSS or SIOC - open-source developers use DOAP to describe their projects, etc. Yet, since all these documents are decentralized, fetching and querying the right documents is not so easy for users.

Moreover, one key feature for the Semantic Web to work is that users will not have to learn RDF or SPARQL to publish or query data, as they do not need anymore to learn HTML or SQL to publish dynamic content thanks to wikis or blogs.

In this paper, we will describe how, rather than creating a unique framework, a set of independant scripts can help to fetch and query decentralized data on the Semantic Web, without any knowledge of Semantic Web languages from the user point of view, and also by involving an architecture of participation to retrieve data.

PTSW

  • In / Out
  • The ping system
  • Classifying documents
  • ... A central point to be used for SW applications

SemRadar

  • Use your browser to discover SW documents
  • To browse them in a friendly way (browsing interfaces)
  • ... and share them to the world by pinging ptsw !

Doapstore

Taking the participative architecture of discovering Semantic Web documents thanks to Semantic Radar into account, the goal of doap:store is to provide an easy-to-use service in order to allow users find DOAP projects available on the Web.

While many people publish DOAP data about their project (either manually, or because their projects are registered on platofms that automatically publish this kind of data), it exposes the same problem of any Semantic Web data available on the Web using a particular vocabulary: its decentralized aspect make it difficult to find.

Since PTSW offer different kind of exports, the idea of doap:store is to provide a kind of user-friendly frontend to all this RDF data, offering basic search fonctionnalities, tagcloud, related-projects browser to users, without any technical barriers.

A python cron script is running each hour to fetch PTSW XML eport of DOAP documents and retrieve them to put in its database. The system is running with 3store, on a Debian Box. The whole code is written in PHP, and actually is less than 500 lines of code.


doap:store displays latest retrieved projects from PTSW on its homepage. // TODO: retrieved or updated projects ??

In order to retrieve documents, a simple search interface allows to find projects by name, language, description, or hostname. Actually, the search query is provided by a single SPARQL query, with optional parameters that are added regarding the query type (eg: querying by name, by hostname ...)

Then, a result page lists all available projects, and user can browse them. Here, a simple SPARQL query (the second of the system, since it includes only 2 main queries, with optional parameters), will render the project description. A link to the original is also available. // TODO: autodiscovery linking to the original DOAP file

// SPARQL query example

  • DOAP documents, where to find them
  • Doapstore, a DOAP repository
  • ... simple interfaces, tags ... and hidden SPARQL !