[redland-dev] Questions about Reland

Alessandro Moro alessandromoro at hotmail.com
Tue Jul 1 09:50:30 BST 2003


Hi,

I have a couple of question about Redland.

In the section API reference the function 
librdf_parser_raptor_parse_uri_into_model is documented .This fuction should 
Retrieve the RDF/XML content at URI and store it into a librdf_model. I 
serched the prototype of the function with a grep command but I didn' t find 
it.
How can I use this function? Is there another way to retrieve the RDF/XML 
content from an URL?
In the example 4 the function libref_parser_parse_into_model is used: it 
works wery well with files (i.e. file:/Service.daml), but doesn' t seem to 
work with URLs (i.e. http://www.daml.org/services/daml-s/0.9/Service.daml).

The second question regards the posibility to add the RDF/XML content of a 
file/URL to an existing database. In the example 4 I removed the option 
new='yes' from the option string of the function librdf_new_storage, and it 
works well. THe problem is that if I parse twice the same file, I have the 
same statements repeated twice in the database. Is there a way to add the 
XML/RDF content of a file/URL to an existing database, avoiding repetition 
of statements already in the database?

Thanks in advance for your attention.

Best Regards.

_________________________________________________________________
MSN Search: la risposta alle tue ricerche online  http://search.msn.it/




More information about the redland-dev mailing list