{{ "Vocabulary information" | trans }}
+{{ "Vocabulary information" | trans }}
+ {% set vocabInfo = vocab.info(request.contentLang) %} {% if not vocabInfo %}{{ keytrans | trans }} | -
- {% for val in values %}
-
- {% if val.get('skosmos:vocab') %}
- {{ val.get('skosmos:label') }}
- {% elseif val.label %}
-
- {% if val.label(request.contentLang) %}{{ val.label(request.contentLang) }}
- {% else %}{{ val.label }}
- {% endif %}
-
- {% elseif val matches '|^(https?://)|' %}{{ val }}
- {% elseif val matches '|<\\w*\\b[^>]*>|' %}{{ val|raw|nl2br }}
- {% else %}{{ val|nl2br }}
+
+ {% for key, values in vocabInfo %}
+
+ {{ key | trans }}
+
- {% endfor %}
-
|
-
URI | -
-
- {{ vocab.defaultConceptScheme }}
-
- |
-
{{ "Download this vocabulary:" | trans }}
+-
{% if 'application/rdf+xml' in vocab.config.dataURLs|keys %}
- RDF/XML
+
- RDF/XML {% endif %} {% if 'text/turtle' in vocab.config.dataURLs|keys %} - TURTLE +
- TURTLE {% endif %} {% if 'application/ld+json' in vocab.config.dataURLs|keys %} - JSON-LD +
- JSON-LD {% endif %} {% if 'application/marcxml+xml' in vocab.config.dataURLs|keys %} {% if vocab.config.dataURLs['application/marcxml+xml'] is iterable %} {% for key, values in vocab.config.dataURLs['application/marcxml+xml'] %} - MARCXML/{{ key | lang_name(request.lang) }} +
- MARCXML/{{ key | lang_name(request.lang) }} {% endfor %} {% else %} - MARCXML +
- MARCXML {% endif %} {% endif %} +