EBISPOT / lodestar

Linked Data explorer and SPARQL endpoint
Apache License 2.0
23 stars 22 forks source link

Reporting namespaces in URI page #2

Open marco-brandizi opened 10 years ago

marco-brandizi commented 10 years ago

It would be nice to add namespaces to show URIs in single-URI pages (eg, https://www.ebi.ac.uk/rdf/services/atlas/describe?uri=http%3A%2F%2Frdf.ebi.ac.uk%2Fterms%2Fatlas%2FisAbout), the same way it is done in the table reporting SPARQL solutions (or in Pubby: http://dbpedia.org/page/Bologna).

Something like atlas:isAbout could be added to the absolute URI, or the short form could be made expandable by means of a '+' button. It shouldn't be difficult to do that by exploiting namespaces.js.

This would be useful, when Lodestar is used to build queries from examples, or similar tasks.

simonjupp commented 10 years ago

Hi Marco, I deliberately put the full URI in under the resource name. I personally find it useful to see what the full URI is, handy for copy/paste etc.

Your example shows why this is useful, nowhere on that Bologna page does it tell me the actual URI http://dbpedia.org/resource/Bologna.

marco-brandizi commented 10 years ago

Hi Simon, I agree with that, in fact I mean adding the short form to the absolute URI, not necessarily replacing the latter. The proposal came from a friend of mine, while he was evaluating to use Lodestar for its RDF project.