By rhrueda on
Hi
Do I need to use any module to import RDF? I´ve been reading a lot of posts about RDF but I dont find any information about importing in this format. In case it is not possible to import in RDF, what is the best/easy format to import, XML, JSON?
Thanks in advance!
Comments
Nobody? :(
Nobody? :(
The question is a bit vague,
The question is a bit vague, and probably has a lot to do with the TYPE of information you plan to import.
There is a full attempt at RDF serialization in D6, but I don't know whether that will take you from beginning to end in whatever you are trying to do.
Most often RDF (that I've seen) transfers small bits of information about metadata and relationships between items. Only seldom is real CONTENT an RDF payload. Not that it can't be ... but really - what are you really trying to do?
Anyway, try asking over with the RDF taskforce in Drupal Groups explaining your content and content types.
I've done a lot with RDF and XHTML imports into Drupal, but each case has been seriously customized .. as the generic one-size-fits-all solution is just too damn hard for me. That's why I can't advise more or your generic question :-)
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
Thanks for your reply. What
Thanks for your reply.
What I want to do is to import information given in RDF format, and show it in Drupal like if it were its own content. I´m testing RAP - RDF API for PHP V0.9.6 (http://www4.wiwiss.fu-berlin.de/bizer/rdfapi) for the sake of connecting it with drupal... But I dont know if there is another way to do this.
Thanks a lot!!!
Well, the thing is that
Well, the thing is that having "information in RDF format" is only slightly more descriptive than having information in "ASCII format". It's all about what, if any structure it contains (is it just a set of unrelated atomic statements or what?) , what the content actually is, and how you intend to present it once in Drupal.
Are you storing it in RDF for the sake of being RDF (round-trip), or will you be using it within Drupal as usefully structured info there?
http://drupal.org/project/xmlcontent is (I think) an unstructured generic XML solution, but I really think you will actually need to structure your Drupal content as well.
.dan.
How to troubleshoot Drupal | http://www.coders.co.nz/
.dan. is the New Zealand Drupal Developer working on Government Web Standards
The idea is basically use
The idea is basically use Drupal because its easily way to manage modules, blocks, and so on. And the content of the site being imported from rdf files of another old web site wich exports all its content in rdf format. Just one way, importing and showing it like if it were drupal's own content.
For example if I have a menu Events with two links Active events and Completed events, those links will show the information of the rdf as if they were stored in the drupal database. At first glance it will be like drupal content, but the source is an external rdf file.