sparna-git / Sparnatural

Sparnatural : Typescript visual SPARQL query builder for knowledge graphs, configurable with SHACL
http://sparnatural.eu
GNU Lesser General Public License v3.0
206 stars 34 forks source link

User Story : coupling Sparnatural with model diagram #593

Open tfrancart opened 1 month ago

tfrancart commented 1 month ago

As a user, I want to have an overview of the data model, which I don't see directly in Sparnatural. Sparnatural could be coupled with the diagram generation from SHACL Play, so that whenever I select a class or a property in Sparnatural, the corresponding UML diagram box or line is highlighted.

Initial page:

image

Then I select a first class:

image

Then a target class and a property:

image

This would allow to understand which part of the model is covered by the query, and which is not.

The analysis of the JSON query that is generated could easily determine which are the selected classes and properties, and highlight the corresponding boxes and arrows in a diagram or a graph.