-
Notifications
You must be signed in to change notification settings - Fork 11
Exploring Sample Projects
This guide explains users how to explore sample projects provided on ViziQuer Playground. Sample projects can be installed on local installation, as well, as described in Local Installation.
For exploration of projects that are provided as .json files outside the visual environment, consult 'Project Import' section of Import and Export.
For the rest of this guide we will use the Europeana sample project.
To start using ViziQuer log in to ViziQuer Playground, see Getting Started for the login guidelines, if needed.
On the "Projects" screen, click the "New project" button and the "Create project" form will appear.
In the "Create project" form you can choose:
- to start an empty project (by providing the project's name, or DSS schema information; see Creating a New Project), or
- to initialize your project by using a predefined configuration and diagram examples (e.g., 'Initialise by DBPedia sample project' or 'Initialise by Europeana sample project').
To explore the sample projects, choose the second option (initialize by some sample project).
For the rest of this document we will use the Europeana sample project. Create a new project, choosing the "Initialise by Europeana sample project" option (radio button), and proceed to the next step.
The sample project shall be created as a new project, with the contents copied from the original sample project, so you shall have full query execution, diagram creation and editing rights over it.
If you wish to create an empty project instead, fill in at least the project Name field and click "OK". See Creating a New Project for more information.
Clicking on the newly created Project will bring you into the Diagrams view of the project. Please be patient with the initial loading of the project, especially in the case of larger project diagrams. Choose a diagram to work with.
Here you can:
- explore the example queries included in the sample project
- create new queries
If you want to create new queries (to the Europeana SPARQL endpoint in this case) you can choose to work either in an existing diagram, or in a new diagram (choose the "New Working Area" diagram or click the "New diagram" button).
See Creating Visual Queries for more information about creating new queries.
Another option is exploring the queries provided in the sample project. The Europeana project offers two diagrams: "Example (Europeana PRO)" and "Initial_Example_Analyzed".
Let's select the diagram "Initial_Example_Analyzed".
A diagram may contain multiple queries (connected graphs that start with orange rectangles – query "seed" nodes).
Right-click on the query (orange rectangle) you are interested in and choose:
- Generate query SPARQL – to generate a SPARQL query
- Execute query – to generate and execute the SPARQL query
The result will be shown at the bottom of the screen.
The result – a SPARQL query (if you chose "Generate query SPARQL") or a result of its execution (if you chose "Execute query") – will appear at the bottom of the screen.
Here you can fine-tune the generated query if necessary.
Generated query:
Query results:
- Consider Wiki Home for further options in visual schema drawing and visual query creation.