From giacomo90 at libero.it Thu Sep 8 16:42:34 2016 From: giacomo90 at libero.it (giacomo90 at libero.it) Date: Thu, 8 Sep 2016 22:42:34 +0200 (CEST) Subject: [redland-dev] Asking for some tips regarding Redland+Virtuoso Message-ID: <541176296.7875081473367354135.JavaMail.httpd@webmail-14.iol.local> 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 From giacomo90 at libero.it Thu Sep 8 19:25:44 2016 From: giacomo90 at libero.it (giacomo90 at libero.it) Date: Fri, 9 Sep 2016 01:25:44 +0200 (CEST) Subject: [redland-dev] Compilation problems with Redland Message-ID: <206004541.7886661473377144263.JavaMail.httpd@webmail-14.iol.local> Hi everyone, I tried to compile Redland from https://github.com/dajobe/librdf. It seems to me that the two following files, that are used for redland-virtuoso-test.c, are not exported in the "make install" phase: rdf_hash_internal.h rdf_heuristics.h for the moment, added those include in my project, and the compile and link phase went on smoothly. Best regards, > JackB -------------- next part -------------- An HTML attachment was scrubbed... URL: