[Cubicweb] Cubic Web Supported Formats

Nicolas Chauvat nicolas.chauvat at logilab.fr
Fri Dec 17 17:32:08 CET 2010


John,

On Fri, Dec 17, 2010 at 04:11:01PM +0000, Fletcher, John P wrote:
> To what extent is RDF supported by CubicWeb?

RDF is a (rather generic) way to exchange data between
applications. RDF data is a graph where vertices and edges are labeled
by URLs or by literals (strings, numbers, dates, etc.)

Do not mistake RDF for a serialization format.
Do not mistake RDF for a storage format.
Do not mistake RDF for a modeling language.
Do not mistake RDF for RDF/xml.
etc.

Using CubicWeb, you can write views that output RDF that will be
consumed by other apps, or you can write code that will consume the
RDF published by servers on the internet.

Example 1:

http://hg.logilab.org/cubes/conference/file/b316f61bfd98/views/semantic.py
is an RDF view for conferences that uses the ontology described at
http://data.semanticweb.org/ns/swc/swc_2009-05-09.html

Other sites using the same ontology/vocabulary to describe conferences
include http://data.semanticweb.org/

Example 2:

http://hg.logilab.org/cubes/blog/file/503cdf0700a4/sobjects.py is
consuming RDF data expressed using the http://sioc-project.org/
ontology.

A list of applications able to export their data to SIOC is available
at http://sioc-project.org/applications This list should include
CubicWeb because of
http://hg.logilab.org/cubicweb/file/63bf61e4e130/web/views/isioc.py

Does this help?

-- 
Nicolas Chauvat

logilab.fr - services en informatique scientifique et gestion de connaissances  


More information about the Cubicweb mailing list