-
Notifications
You must be signed in to change notification settings - Fork 9
Visualizing SPARQL Queries
ViziQuer can also be used for visualizing existing SPARQL queries.
By using this function you can convert a SPARQL query into its visual representation in the ViziQuer notation. This guide explains how to do it.
To start the visualization process:
- Log in to ViziQuer Playground, or your local ViziQuer environment
- Enter a ViziQuer diagram view in a new or an existing Project.
Choose an existing Project or create a new Project to work with.
For information on how to create a Project see Creating a New Project.
In Project's Diagrams view, select an existing Diagram or create a new Diagram.
In this guide we will use a new, empty Diagram.
In Project's Diagrams view, you may also edit Project properties (click the "gear" icon to do that). Here you may specify the SPARQL endpoint on which to run the SPARQL query. It is optional for visualizing SPARQL queries but is necessary if you also want to run the query.
Enter the SPARQL query that you want to visualize in the SPARQL pane at the bottom of the screen:
Right-click or Ctrl-click in an empty space on the Diagram view canvas and choose the menu option "Visualize SPARQL":
ViziQuer will display a visualization of this SPARQL query (in ViziQuer notation):
The resulting visual SPARQL query can be executed by right-clicking or Ctrl-clicking on the main query node (displayed in orange) and choosing the "Execute SPARQL" menu option. This will only work if the Project settings contain the URL of the SPARQL server.
The SPARQL query visualization functionality is described in "Visual presentation of SPARQL Queries in ViziQuer":
Čerāns K., Ovčiņņikova J., Grasmanis M, Lāce L. and Romāne A. Visual Presentation of SPARQL Queries in ViziQuer In Voila!2021, CEUR Workshop Proceedings, Vol.3023
It is also possible to use the SPARQL visualization functionality without logging in and to integrate the ViziQuer visualizer with other tools.
ViziQuer + Sparklis integration is an example of how the ViziQuer visualization functionality can be embedded in and integrated with other software using its API.
For additional information on how to integrate ViziQuer with other tools see "Integrating Sparklis and ViziQuer for Enhanced SPARQL Querying and Visualization":
Bojārs U., Ovčiņņikova J., Lāce L., Sproģis A., Grasmanis M., Čerāns K. Integrating Sparklis and ViziQuer for Enhanced SPARQL Querying and Visualization (2023). CEUR Workshop Proceedings, 3508, pp. 41-48.