This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+lang/semantic-web/README.org

35 lines
1.2 KiB
Org Mode
Raw Normal View History

#+TITLE: Semantic Web layer
#+TAGS: dsl|layer|markup|programming
2019-05-05 17:26:40 +00:00
[[file:img/semweb.png]]
2019-05-07 20:05:06 +00:00
* Table of Contents :TOC_5_gh:noexport:
- [[#description][Description]]
- [[#features][Features:]]
- [[#install][Install]]
- [[#key-bindings][Key bindings]]
* Description
This layer adds support for RDF files in N3 and [[https://www.w3.org/TR/turtle/][Turtle syntax]] using [[https://bitbucket.org/nxg/ttl-mode][ttl-mode]]
and for [[https://www.w3.org/TR/sparql11-query/][SPARQL]] queries using [[https://github.com/ljos/sparql-mode][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
2018-09-19 03:54:47 +00:00
[[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 |