December 24, 2006

RDF Views

There has been some work on views on rdf / ontology data - but actually most is not very useful and complicated in a strange way. I'm mystified why nobody has ever trivially transferred the ideas from relational databases (or maybe I just haven't found the work):

  1. A view on a RDF graph is an RDF graph.
  2. A view is defined by a SPARQL construct query.

Then we can either materialize these views or just compute the parts necessary to answer a query on the view (The mechanisms needed to decide which parts of a view need to be computed should be pretty straight forward extension of ideas from deductive databases). And there is is even a nice subset of SPARQL queries that could be used to define updateable views (queries for which every variable in the select parts also appears in the construct part and that do not contain unions and stuff).

Ahh well, but actually implementing this would take a while ... but I would love to have it :)

Labels:

2 Comments:

Anonymous kidehen@openlinksw.com said...

Have you seen the Virtuoso implementation of RDF VIEWs of SQL Data? This is basically the concept of SQL VIEWS applied to SQL Data mapped to RDF.

Links: http://virtuoso.openlinksw.com/wiki/main/Main/VOSSQLRDF

December 26, 2006  
Blogger Valentin said...

Thanks for the link, interesting product. However, I don't think it is an implementation of the ideas I sketched - they seem to focus more on having an RDF view on a relational db (rather than a RDF view on a rdf graph). I would call this a relational to rdf mapping.

December 27, 2006  

Post a Comment

<< Home