You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+35-3Lines changed: 35 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,28 +9,60 @@ For integration with Sparnatural, there is a [dedicated documentation page](http
9
9
10
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
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.
12
+
For every 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. Only the `?xxx` column will be shown.
13
13
14
14
Instead of this:
15
15
16
+

16
17
17
18
You would get this:
18
19
20
+
21
+

22
+
23
+
19
24
### Grid plugin
20
25
21
26
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.
27
+
22
28
The Grid plugin:
23
-
-look for a main title column for each entity
29
+
-looks for a main title column for each entity
24
30
- merges the lines in the result set with the same title
25
31
- displays the other columns in each card by replicating the original query structure from Sparnatural
26
32
- can look for an image column (containing URIs ending in `.png` or `.jpg`)
27
33
34
+
Here is how it looks like with an image column selected:
35
+
36
+

37
+
38
+
The original result set was the following:
39
+
40
+

41
+
42
+
And the original query was the following: (_All chairmans of EU political groups, with dates of chair and image_, based on the [European Parliament Open Data Portal](https://data.europarl.europa.eu/) datasets)
43
+
44
+

45
+
46
+
Here is a focus on one card, note how the lines corresponding to the same entity have been merged, and how the original query structure is replicated inside the card:
47
+
48
+

49
+
50
+
28
51
### Stats plugin
29
52
30
53
The Stats plugin can:
31
-
- display a simple COUNT query, with only an integer result
54
+
- display a simple COUNT query, with only an integer result :
55
+
56
+

57
+
32
58
- generate simple pie or bar charts from a `COUNT` + `GROUP BY` query
0 commit comments