SPARQL Runner
A Sublime Text 2/3 plugin to run SPARQL queries inside the editor. Now with authentication and parameter options.
Details
Installs
- Total 836
- Win 318
- Mac 389
- Linux 129
| Apr 30 | Apr 29 | Apr 28 | Apr 27 | Apr 26 | Apr 25 | Apr 24 | Apr 23 | Apr 22 | Apr 21 | Apr 20 | Apr 19 | Apr 18 | Apr 17 | Apr 16 | Apr 15 | Apr 14 | Apr 13 | Apr 12 | Apr 11 | Apr 10 | Apr 9 | Apr 8 | Apr 7 | Apr 6 | Apr 5 | Apr 4 | Apr 3 | Apr 2 | Apr 1 | Mar 31 | Mar 30 | Mar 29 | Mar 28 | Mar 27 | Mar 26 | Mar 25 | Mar 24 | Mar 23 | Mar 22 | Mar 21 | Mar 20 | Mar 19 | Mar 18 | Mar 17 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
Sublime SPARQL Runner
A Sublime Text 2/3 plugin to run SPARQL queries directly inside Sublime Text.
Based on the original SPARQL Runner package by cezarsa.
Functionality
- Runs current selected text or complete query in tab using currently selected endpoint
- Results of successful queries will be displayed in a separate tab.
- Multiple endpoints can be defined
- For any endpoint optionally basic authentication details can be provided
- Optional parameters can be defined for any endpoint
Installation
- Use Sublime Package Control to install it (or clone it inside your Packages dir);
Usage
- To select the current one open the command palette and choose
SPARQL: Select or add/edit endpointand then select the endpoint - To add a new or edit an existing endpoint open the command palette and choose
SPARQL: Select or add/edit endpoint->Add new or edit existing endpoint...:- Provide the following values:
- Unique name for endpoint (if name already in use you will be prompted to edit that endpoint)
- URL for endpoint
- Username (optional, leave empty to skip)
- Password (optional)
- Parameter name (optional, leave empty to skip)
- Parameter value (optional)
- Multiple parameters can be added by simply repeating the name and value prompts
- Provide the following values:
- To run a query choose
SPARQL: Run query. SPARQL Runner will run the query against the current endpoint. It will consider either the selected text or the entire file as the SPARQL query.
If you want to add a key binding to run queries, open your “Default.sublime-keymap” and add:
[
{ "keys": ["super+shift+k"], "command": "run_sparql" }
]
Configuration
A typical configuration file looks as follows:
{
"current": "dbpedia",
"endpoints":
{
"my_sparql_endpoint":
{
"parameters":
{
"format": "CSV",
"lang": "sparql"
},
"password": "<password>",
"url": "<url>",
"username": "<user>"
},
"dbpedia":
{
"url": "http://dbpedia.org/sparql"
}
}
}
- Further config options can be found in
Preferences->Package Settings->SPARQL Runner->Settings