spacemacs/layers/+lang/semantic-web/README.org
2017-05-26 11:47:41 +02:00

1.1 KiB

Semantic Web layer

/TakeV/spacemacs/media/commit/36f04308abba54261d0e133f05723748c330207d/layers/+lang/semantic-web/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