sparna-git / Sparnatural

Sparnatural : visual knowledge graph explorer with SPARQL, in the browser, configurable with SHACL
http://sparnatural.eu
GNU Lesser General Public License v3.0
225 stars 41 forks source link

embed modal form to pop up for an individual IRI #650

Open ch-sander opened 1 month ago

ch-sander commented 1 month ago

Similar to the grid, showing all results, a simple modal form could show on click event on an IRI in the results. This form would be like the grid card of the single resource, or, even better, an overview on all outgoing edges, as per SHACL config, of the resource to see it's properties at a glance. Similar to a DESCRIBE statement

This is useful for endpoint explorers that have no viewer or web app themselves.

tfrancart commented 1 month ago

This is similar to https://github.com/sparna-git/Sparnatural/issues/434#issuecomment-2082457393 the idea we have would be:

Interested to contribute ;-) ?

ch-sander commented 1 month ago

The idea with the tooltip hover also quite cool. But a hover is limited in scope of information. I had in mind something more subsistent.

Indeed, this is close to LodView or SHMARQL, only that it's a live feature in Sparnatural. Loading a card like in the grid, with additional properties as per dash config, would maybe already be sufficient for most use cases.

I'll give it a second thought and comment here again.