spacemacs/layers/+lang/semantic-web/README.org

1.2 KiB

Semantic Web layer

/TakeV/spacemacs/media/commit/c7c348a6769a8b36fbaf846a4d5542dd3c4af7f5/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.

Features:

  • Provides an alternative way to search the web using SPARQL queries.

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