Closed jmvanel closed 7 years ago
For "getting images for the URI's that were never loaded by /display", this is a several days development, and moreover the current feature with a simple SPARQL pattern, has an advantage, in a community usage.
Only the URI's that have been visited by someone are highlighted by a thumbnail, This gives a hint about what's interesting and what's new.
Currently there typically only one thumbnail for a FOAF profile, e.g. :
http://localhost:9000/display?displayuri=http%3A%2F%2Fjmvanel.free.fr%2Fjmv.rdf%23me&Display=Afficher
There should be thumbnails for the foaf:knows triples . More generally, when displaying URI ?O in the context of URI
<S>
:we want to show a thumbnail for ?IMAGE .
In a first step, we could just use the above SPARQL pattern, but then we would just get the images for the URI's that were already loaded by the service
/display
.To get images for the URI's that were never loaded by /display , some look-ahead must be applied. But we don't want the main database to be encumbered by all data from URI's untouched by user.
There are two solutions:
?O ?P1 ?O1
for all triples<S> ?P ?O
in current context in an auxiliary database TDB4 (and then TDB4 is used as an auxiliary cache when user calls /display )