Hi,
Is it possible to cache data (in the quad store) retrieved by a sparql query
against an rdf view much like a sponger query?

Eg. (Using northwind demo db)

select *
from <http://localhost:8890/Demo#>
where { ?s <http://localhost:8890/schemas/Demo/shipname> 'Rancho grande' }

returns 5 rows. However if I then run -

select *
where { ?s <http://localhost:8890/schemas/Demo/shipname> 'Rancho grande' }
no rows are returned as expected.

If however I browse on of the original returned rows directly eg
http://localhost:8890/about/html/http://localhost:8890/Demo/orders/OrderID/10448#this

And then run
select *
where { ?s <http://localhost:8890/schemas/Demo/shipname> 'Rancho grande' }
A row has been returned as it is now cached in the quad store.

I would like to get the same cache functionality via my original query.

My reasoning is that there is an opportunity to hit some operational
databases overnight and generate reports using rdf views. However as these
databases will be unavailable for querying during the day all investigations
on the data used for the reports would need to rely on cached data.

Is there a way to do this? It would also be nice to have mechanisms to only
get data if it didn't already exist or was of a certain age much like the
sponger does.

Cheers
Mark

Reply via email to