[redland-dev] Asking for some tips regarding Redland+Virtuoso

giacomo90 at libero.it giacomo90 at libero.it
Thu Sep 8 16:42:34 EDT 2016


Hi everyone,

this is the first time for me for Redland, and I have several questions. I am 
using redland for interacting with Virtuoso, and I've already had a look to the 
source code of "redland-virtuoso-test". Hence, I have bit puzzled and I would 
like to ask you some questions.

1) I read from the http://librdf.org/notes/contexts.html that Redland does not 
directly supports QUAD-store, but virtuoso supports named graphs. So, If i want 
to write the triple (s,p,o) in graph g do I have to use 
librdf_new_storage_with_options(world,"virtuoso",g,options) and then 
librdf_new_model(...) in order to obtain the g graph and then add the triple to 
it?
2) In brief, I want to benchmark Virtuoso considering the actual time it takes 
to compute the whole solution, and not only the time Virtuoso takes to 
"compile" the query. 
In more detail I want to perform a Virtuoso SPARQL query through 
librdf_model_query_execute. Does Virtuoso actually compute the whole result of 
the query when the function returns, or does Virtuoso produces the result while 
reading each part of it? 
3) Moreover, as it is possible to write the result directly to a file, is it 
possible to choose Virtuoso's iodbc driver?

Thanks in advance for any support,
> JackB


More information about the redland-dev mailing list