Commit 7e1dae7 1 parent 0468b1c commit 7e1dae7 Copy full SHA for 7e1dae7
File tree 1 file changed +13
-7
lines changed
1 file changed +13
-7
lines changed Original file line number Diff line number Diff line change 7
7
< h2 > The Binyanim</ h2 >
8
8
9
9
{% capture binyan_query %}
10
- SELECT ?binyan ?label_he ?label_en {
10
+ SELECT ?binyan ?label_heA ?label_heB ?label_en
11
+ {
11
12
?binyan a heb_schema:Binyan ;
12
- rdfs:label ?label_he, ?label_en .
13
- FILTER (lang(?label_he) = 'he')
14
- FILTER (lang(?label_en) = 'en')
15
- } ORDER BY ?label_he
13
+ rdfs:label ?label_heA, ?label_en .
14
+ FILTER (lang(?label_en) = 'en')
15
+ FILTER (lang(?label_heA) = 'he')
16
+ FILTER (!strstarts(?label_en, 'Barkali'))
17
+ OPTIONAL {
18
+ ?binyan rdfs:label ?label_heB .
19
+ FILTER (lang(?label_heB) = 'he')
20
+ FILTER (?label_heA != ?label_heB)
21
+ }
22
+ } GROUP BY ?binyan ORDER BY ?binyan
16
23
{% endcapture %}
17
24
18
25
{% assign results = page.rdf | sparql_query: binyan_query %}
19
26
< ul >
20
27
{% for row in results %}
21
- < li > < a href ="{{ row.binyan.page_url | prepend: site.baseurl }} "> {{ row.label_en }}/ {{ row.label_he }}</ a > </ li >
28
+ < li > < a href ="{{ row.binyan.page_url | prepend: site.baseurl }} "> {{ row.label_heA }}, {{ row.label_heB }}|{{ row.label_en }}/ </ a > </ li >
22
29
{% endfor %}
23
30
</ ul >
24
- < p > Sorry, there is some duplication and the < em > Barkali</ em > types are currently not linked.</ p >
You can’t perform that action at this time.
0 commit comments