Hello there,
I would like to know whether I can feed an SDBStore (backed by MySQL) with
triples that I get from a remote SPARQL endpoint using a federated SERVICE
query without loading the entire ResultSet into memory. A concrete example of
what I would like to achieve is the following: ask a SELECT * WHERE {?s ?p ?o}
over a remote SPARQL endpoint and store the retrieved triples into a local
SDBStore directly not in a ResultSet in memory.
If this is not possible I was thinking to retrieve the triples from the remote
SPARQL service in chunks, get the ResultSet in memory, and then add them to the
SDBStore, is this reasonable? How do I go about to formulate such a query?
Using a OFFSET construct of a SPARQL query? Also, I was thinking whether is
possible to get a Model object using a CONSTRUCT query directly into the
SDBStore?
Thank you in advance for your valuable help.
Paul