Here is an example of actual output:
http://dbpedia.org/data/Berlin.rdf

It seems to me it should be possible and not too difficult to
serialize any database in this format if the Crud knows knows how to
call the tags.

Massimo

On Mar 15, 6:35 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> Interesting...I will try to understand it.
>
> I was thinking of something much simpler to start with. We may
> associate RDF verbs to fields and references and simply expose the
> database as RDF based on that.
>
> Example:
>
>    db.define_table('city',
>       SQLField('name'),
>       SQLField('population','integer'))
>
>    db.city.name.rdf_tag='root'
>    db.city.population.rdf_tag='dbpedia-owl:populationTotal'
>
> and the action
>
>    def resource(): return Crud(globals(),db).resource()
>
> would expose:http://...../resource/Berlinas an RDF+XML page listing
> <dbpedia-owl:populationTotal>3416300</dbpedia-owl:populationTotal>
> (if the data is in Database).
>
> I need to understand this better before proposing an API.
>
> Massimo
>
> On Mar 15, 6:03 pm, Kuba Kucharski <kuba.kuchar...@gmail.com> wrote:
>
> > Interesting link:
>
> >http://www.openvest.com/trac/wiki/RDFAlchemy
>
> > --
> > K
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to