Table of Contents

Semantic Web layer

Table of ContentsClose

semweb.png

1. 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.

1.1. Features:

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

2. Install

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

3. Key bindings

Key binding Description
SPC m q Execute SPARQL query

Author: root

Created: 2024-11-15 Fri 04:05

Validate