Skip to content

Commit 7047db8

Browse files
committed
Merge branch 'main' of github.com:sparna-git/Sparnatural-yasgui-plugins
2 parents 626b96a + a9579f4 commit 7047db8

File tree

1 file changed

+36
-2
lines changed

1 file changed

+36
-2
lines changed

README.md

Lines changed: 36 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,41 @@
11
# Sparnatural-yasgui-plugins
2-
Set of Plugins for Yasgui / YASR useful in conjunction with Sparnatural
2+
Set of Plugins for Yasgui / YASR useful in conjunction with [Sparnatural](https://github.com/sparna-git/Sparnatural)
33

4-
## How to use
4+
For integration with Sparnatural, there is a [dedicated documentation page](https://docs.sparnatural.eu/YasGUI-plugins.html)
5+
6+
## The Plugins
7+
8+
### TableX plugin
9+
10+
This is an adaptation of the original YaSR Table plugin. Its main enhancement is that it can hide URI columns "behind" a correspondig label column, thus hiding technical URIs for end-users. The link URLs can also be customzed to navigate to another URL than the original URI.
11+
12+
For ever column `?xxx_label`, the plugin will look for a column `?xxx` having a literal property (for example `?Person_1` and `?Person_1_label`), and merge these columns. The merge is done on the SPARQL result set itself, by creating a new kind of result `x-labelled-uri` containing both the URI and its label.
13+
14+
Instead of this:
15+
16+
17+
You would get this:
18+
19+
### Grid plugin
20+
21+
The Grid plugin works only in conjunction with Sparnatural, not for any SPARQL query. It needs to be notified of the Sparnatural original query, and the Sparnatural original configuration.
22+
The Grid plugin:
23+
- look for a main title column for each entity
24+
- merges the lines in the result set with the same title
25+
- displays the other columns in each card by replicating the original query structure from Sparnatural
26+
- can look for an image column (containing URIs ending in `.png` or `.jpg`)
27+
28+
### Stats plugin
29+
30+
The Stats plugin can:
31+
- display a simple COUNT query, with only an integer result
32+
- generate simple pie or bar charts from a `COUNT` + `GROUP BY` query
33+
34+
### Timeline plugin
35+
36+
TODO
37+
38+
## Developers
539

640
1. Clone the code
741
2. Install dependencies : `npm install`

0 commit comments

Comments
 (0)