jmvanel / semantic_forms

Form generators leveraging semantic web standards (RDF(S), OWL, SPARQL , ...
Other
75 stars 23 forks source link

Generate more HTML thumbnails for URI's #119

Closed jmvanel closed 7 years ago

jmvanel commented 7 years ago

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> :

<S> ?P ?O .
?O foaf:img ?IMAGE .

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:

jmvanel commented 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.