Skip to content

Commit

Permalink
fixed ids of the vocabs
Browse files Browse the repository at this point in the history
  • Loading branch information
cedricdcc committed Oct 23, 2024
1 parent 5d40043 commit 6fbdd5e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions templates/template_html.html
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
<div class="section" id="concepts">
<h2>Concepts</h2>
{% for row in sets['_']%}
<div class="concept entity" id="{{row.ID}}">
<div class="concept entity" id="{{row.PREFLABEL_EN}}">
<h3>
{{row.PREFLABEL_EN}}
<sup class="sup-op" title="SKOS concept">cc</sup>
Expand All @@ -325,7 +325,7 @@ <h3>
<th>IRI</th>
<td>
<code
>{{vars_dict.baseuri}}/{{vars_dict.relref}}#{{row.ID}}</code
>{{vars_dict.baseuri}}/{{vars_dict.relref}}#{{row.PREFLABEL_EN}}</code
>
</td>
</tr>
Expand Down Expand Up @@ -461,7 +461,7 @@ <h4>
<ul class="second">
{% for row in sets['_']%}
<li>
<a href="#{{row.ID}}">{{row.PREFLABEL_EN}}</a>
<a href="#{{row.PREFLABEL_EN}}">{{row.PREFLABEL_EN}}</a>
</li>

<li>{% endfor %}</li>
Expand Down
4 changes: 2 additions & 2 deletions templates/template_ttl.ttl
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@ PREFIX skos: <http://www.w3.org/2004/02/skos/core#>
PREFIX dc: <http://purl.org/dc/elements/1.1/>

{% for row in sets['_']%}
<{{vars_dict.baseuri}}/{{vars_dict.relref}}#{{row.ID}}>
<{{vars_dict.baseuri}}/{{vars_dict.relref}}#{{row.PREFLABEL_EN}}>
rdf:type skos:Concept ;
dc:date "{{row.DATE}}" ;
dc:identifier "{{row.ID}}" ;
dc:identifier "{{row.PREFLABEL_EN}}" ;
skos:prefLabel "{{row.PREFLABEL_EN}}"@en ;
{%-if '[' in row.BROADER -%}
{%-set BROADER = row.BROADER.replace('[','').replace(']','').split(';')%}
Expand Down

0 comments on commit 6fbdd5e

Please sign in to comment.