RDF relations in CPS

A new Zope product, CPSRelation, has been designed to handle RDF relations within  the CPS framework: it gives access to any kind of content RDF indexation and serialization, as well as querying features.

CPSRelation offers RDF features installing a tool, portal_relations, that is able to manage several kinds of graphs. Another tool, portal_serializer, has been designed to provide object serializations via pluggable TALES expressions.

We've been using IOBTree graphs to handle relations between documents, using their docid in the repository as unique identifiers. Now we can also handle RDF relations, provided by the rdflib Python library and the Redland framework.

We have tested Redland graphs to index and serialize CPS content, and query relations created in the graph. The mechanism is rather simple:
  • add a Redland graph with an appropriate supported backend in the portal_relations tool.
  • define a serializer for each kind of content to get the triples to add to the graph, or define triples manually.
  • use the portal_relations API to add/delete relations and query the graph created.
  • use the portal_serializer API to serialize as RDF/XML files the graph, or results of a query.

The product's SVN repository is here: http://svn.nuxeo.org/trac/pub/browser/CPSRelation/trunk/
And can be downloaded using
svn co http://svn.nuxeo.org/pub/CPSRelation/trunk CPSRelation

Additional information:

Important announcement: Join the Nuxeo team and contribute to the Nuxeo project! We have open positions in France and the UK for open source Java EE developers and sales engineers, both junior and senior.

Like this post? Share it:


Trackback Pings

Trackback URL for this entry:
http://blogs.nuxeo.com/sections/blogs/anahide_tchertchian/2005_09_30_rdf-relations-in-cps/tbping
Posted by Anahide Tchertchian @ 09/30/2005 09:38 PM. - Categories: cps, rdf, semantic_web -  0 comments

Nuxeo Bloggers: Log in!
Nuxeo - Indesko - Nuxeo 5 Project
All content is copyrighted by their author.
CPSSkins is Copyright © 2003-2006 by Jean-Marc Orliaguet. | CPS is Copyright © 2002-2006 by Nuxeo SAS.