32 lines
1.2 KiB
Org Mode
32 lines
1.2 KiB
Org Mode
#+TITLE: Semantic Web layer
|
|
|
|
[[file:img/semweb.png]]
|
|
|
|
* Table of Contents :TOC_4_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
|
|
[[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 |
|