-
Notifications
You must be signed in to change notification settings - Fork 29
CORESE gui
Table of Contents generated with DocToc
To launch the Corese GUI:
-
Launch the GUI:
`java -jar ${CORESE_ROOT}/kggui/target/corese-*-jar-with-dependencies.jar`
You obtain the following window:
The Corese GUI is made of:
- a single "System" tab, that gives the state of Corese;
- various "Query" tabs where the user can interact through SPARQL queries with the data loaded in Corese.
When launching the application, the tab "System" is displayed and active. This tab:
- lists the files loaded inside the Corese engine in its upper part;
- displays the log of events in the lower part.
The following picture displays an example of System tab after loading some data.
Note that the System tab is global to all the query tabs and cannot be closed.
This tutorial is based on the Corese Server Tutorial. Its purpose is not to teach SPARQL. If you intend to learn SPARQL, please refer to the Corese Server Tutorial.
The purpose of this tutorial is to give an overview of how to use the Corese console.
The three following files have to be downloaded first:
- In the Corese GUI, open the menu "File/Load RDFS/OWL", then choose the human1 file. Repeat the operation for the human2 file.
- Use the "File/Load Rule" menu to load the pragma file.
In order to select all the triples of the graph:
- open a new Query tab by clicking the "+" button next to "System";
- enter the following SPARQL request in the upper panel;
- click on "Query" button;
You should obtain the following GUI:
The lower panel allows four representations of the results of a query:
- the Graph tab displays:
- a graph if the request is a CONSTRUCT or DESCRIBE (see picture);
- a tree when results are contained in an array, as with a SELECT.
- the XML tab gives express the results as a RDF/XML file;
- the Table tab contains the data returned as a spreadsheet where each column stands for one variable of the SELECT part of the request.