spacemacs/layers/+lang/semweb
Andreas Textor f7210c30c2 Add layer for Semantic Web formats
- Syntax highlighting for N3, Turtle and SPARQL formats
- Company mode for SPARQL
- Execution of SPARQL queries against SPARQL HTTP endpoint
2017-05-26 11:07:06 +02:00
..
img Add layer for Semantic Web formats 2017-05-26 11:07:06 +02:00
packages.el Add layer for Semantic Web formats 2017-05-26 11:07:06 +02:00
README.org Add layer for Semantic Web formats 2017-05-26 11:07:06 +02:00

Semantic Web layer

/TakeV/spacemacs/media/commit/f7210c30c2fe979eed6033becc14af9af892b431/layers/+lang/semweb/img/semweb.png

Description

This layer adds support for RDF files in N3 and Turtle syntax using ttl-mode and for SPARQL queries using sparql-mode.

SPARQL-mode supports the execution of queries. When first called, you will be prompted for a SPARQL HTTP endpoint in the minibuffer, which defaults to http://localhost:2020/. Once set, it will be used for all subsequent queries in that buffer. Results will be displayed in another buffer in CSV format.

Install

To use this configuration layer, add it to your ~/.spacemacs. You will need to add semweb to the existing dotspacemacs-configuration-layers list in this file.

Key bindings

Key Binding Description
SPC m q Execute SPARQL query