SPARQL Editor

The Sparql editor can be accessed through the Semantic Turkey tool menu (by choosing the SPARQL option) as well as by clicking on the proper icon sparql icon in the Semantic Turkey toolbar. The editor is hosted in a dedicated page which is opened in a new tab.

The editor is divided into three parts:

Query Editing

The query editing section of the SPARQL Editor contains a text area for typing the query. The facility buttons which were available in previous versions have been replaced with a syntax completion helper (see figure below, where prefixes are being suggested), activable with the CTRL+SPACE key combination. Syntax checking and highlighting are also a feature of this new editor.

The syntax completion helper and syntax checking/highlighting features have been made available by adapting the open source Flint SPARQL Editor to the Semantic Turkey environment. Besides the inclusion in the XUL environment of Firefox, the completion has been improved to provide not only language syntax completion, but also (to a limited extent) live suggestions from the data present in the managed project (e.g. available prefix/namespace mappings).

sparql

The SPARQL editor supports SPARQL 1.0, 1.1 (QUERY and UPDATE), and the completion/checker can be set to cover those specific languages.

Results Area

The results area of the SPARQL Tab shows the results of the submitted query:
sparql results

Exporting results

The results obtained from a SPARQL query can be exported to an external file. Currently the json and text format are available.