Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/vl install #24

Merged
merged 14 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>gn-schemas</artifactId>
<groupId>org.geonetwork-opensource.schemas</groupId>
<version>4.4.6-SNAPSHOT</version>
<version>4.4.6-0</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
718 changes: 680 additions & 38 deletions src/main/plugin/dcat-ap/layout/config-editor.xml

Large diffs are not rendered by default.

17 changes: 14 additions & 3 deletions src/main/plugin/dcat-ap/layout/utility-tpl-multilingual.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -58,13 +58,24 @@

<!-- Get the list of other languages in JSON -->
<xsl:template name="get-dcat-ap-other-languages-as-json">
<xsl:variable name="langs">
<xsl:for-each select="$metadata//dcat:CatalogRecord/dct:language">

<xsl:variable name="langURIs">
<xsl:for-each select="$metadata//dcat:CatalogRecord/dct:language/(@rdf:resource|skos:Concept/@rdf:about|dct:LinguisticSystem/@rdf:about)">
<langURI>
<xsl:value-of select="string()"/>
</langURI>
</xsl:for-each>
<langURI>http://publications.europa.eu/resource/authority/language/ENG</langURI>
<langURI>http://publications.europa.eu/resource/authority/language/NLD</langURI>
<langURI>http://publications.europa.eu/resource/authority/language/DEU</langURI>
<langURI>http://publications.europa.eu/resource/authority/language/FRA</langURI>
</xsl:variable>
<xsl:variable name="langs">
<xsl:for-each select="distinct-values($langURIs/langURI)">
<xsl:variable name="languageCode">
<xsl:call-template name="get-dcat-ap-language">
<xsl:with-param name="languageIri"
select="(@rdf:resource, skos:Concept/@rdf:about, dct:LinguisticSystem/@rdf:about)[1]"/>
select="."/>
</xsl:call-template>
</xsl:variable>

Expand Down
47 changes: 47 additions & 0 deletions src/main/plugin/dcat-ap/loc/dut/labels.xml
Original file line number Diff line number Diff line change
Expand Up @@ -631,4 +631,51 @@
<description>Tooltip: Resource URI</description>
<btnLabel>Resource URI</btnLabel>
</element>

<element name="mobilitydcatap:mobilityTheme">
<label>Mobility theme</label>
<description>This property refers to the mobility-related theme (i.e., a specific subject, category, or type) of the delivered content.
A dataset may be associated with multiple themes. A theme is important for data seekers who are interested in a particular type of data content.</description>
</element>
<element name="mobilitydcatap:transportMode">
<label>Transport mode</label>
<description>This property describes the transport mode that is covered by the delivered content. Data can be valid for more than one mode, so a multiple choice should be applied.</description>
</element>
<element name="mobilitydcatap:networkCoverage">
<label>Network coverage</label>
<description>This property describes the part of the transport network that is covered by the delivered content. For road traffic, the property SHOULD refer to the network classification for which the data is provided. As a minimum, an international or higher-level classification, e.g., via functional road classes, is recommended to allow data search across different countries. In addition, national classifications are allowed.
For other transport modes, the property is meant to refer to the physical infrastructure which is used by the services covered by the data.
For all modes, the property SHOULD also indicate if the data content relates to the EU’s trans-European transport network [EU-TEN-T].</description>
</element>
<element name="mobilitydcatap:georeferencingMethod">
<label>Georeferencing method</label>
<description>This property SHOULD be used to specify the georeferencing method used in the dataset.</description>
</element>
<element name="mobilitydcatap:intendedInformationService">
<label>Intended information service</label>
<description>This property MAY describe predefined information services, which the data content is intended to support.
Such services MAY be, e.g., information services for multimodal mobility, as specified by EC Delegated Regulation 2017/1926 [EC-MMTIS-DR].
Examples of such services include “location search”, which is based on a datasets with address identifiers, or “trip plan computation”, which is based on datasets about a road network.</description>
</element>

<element name="dcatap:hvdCategory" context="/rdf:RDF/dcat:Catalog/dcat:dataset/dcat:Dataset">
<label>HVD Category</label>
<description>The HVD category to which this Dataset belongs.</description>
<btnLabel>HVD Category</btnLabel>
</element>
<element name="dcatap:hvdCategory" context="/rdf:RDF/dcat:Catalog/dcat:service/dcat:DataService">
<label>HVD Category</label>
<description>The HVD category to which this Data Service belongs.</description>
<btnLabel>HVD Category</btnLabel>
</element>
<element name="dcatap:applicableLegislation" context="/rdf:RDF/dcat:Catalog/dcat:dataset/dcat:Dataset">
<label>Applicable legislation</label>
<description>The legislation that mandates the creation or management of the Dataset.</description>
<btnLabel>applicable legislation</btnLabel>
</element>
<element name="dcatap:applicableLegislation" context="/rdf:RDF/dcat:Catalog/dcat:service/dcat:DataService">
<label>Applicable legislation</label>
<description>The legislation that mandates the creation or management of the Data Service.</description>
<btnLabel>applicable legislation</btnLabel>
</element>
</labels>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<strings>
<schematron.title>High Value Datasets - Kardinaliteiten</schematron.title>
</strings>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<strings>
<schematron.title>High Value Datasets - Aanbevolen</schematron.title>
</strings>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<strings>
<schematron.title>High Value Datasets - Verplicht</schematron.title>
</strings>
15 changes: 15 additions & 0 deletions src/main/plugin/dcat-ap/loc/dut/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,19 @@
<protocol-49>LINK-1.0-http--link</protocol-49>
<protocol-50>LINK-1.0-http--related</protocol-50>
<protocol-51>Vul uw eigen protocol in...</protocol-51>

<hvd-view>High Value Dataset</hvd-view>
<hvd-tab>High Value Dataset</hvd-tab>
<hvd-section>High Value Dataset (HVD)</hvd-section>

<mobility-view>Mobility</mobility-view>
<mobility-tab>Mobility</mobility-tab>
<mobility-section>Mobility</mobility-section>

<vl-view>Vlaanderen</vl-view>
<vl-tab-service>Service</vl-tab-service>
<vl-tab-dataset>Dataset</vl-tab-dataset>
<vl-tab-distribution>Distributies</vl-tab-distribution>
<vl-section-metadatadcat>Metadata DCAT</vl-section-metadatadcat>
<vl-section-dcatapvl>DCAT-AP Vlaanderen</vl-section-dcatapvl>
</strings>
127 changes: 105 additions & 22 deletions src/main/plugin/dcat-ap/loc/eng/labels.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>

<!--
~ Copyright (C) 2001-2016 Food and Agriculture Organization of the
~ United Nations (FAO-UN), United Nations World Food Programme (WFP)
~ and United Nations Environment Programme (UNEP)
~
~ This program is free software; you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation; either version 2 of the License, or (at
~ your option) any later version.
~
~ This program is distributed in the hope that it will be useful, but
~ WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
~ General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program; if not, write to the Free Software
~ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
~
~ Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2,
~ Rome - Italy. email: [email protected]
-->

<labels xmlns:dct="http://purl.org/dc/terms/" xmlns:spdx="http://spdx.org/rdf/terms#" xmlns:owl="http://www.w3.org/2002/07/owl#" xmlns:adms="http://www.w3.org/ns/adms#" xmlns:dcat="http://www.w3.org/ns/dcat#" xmlns:locn="http://www.w3.org/ns/locn#" xmlns:foaf="http://xmlns.com/foaf/0.1/" xmlns:vcard="http://www.w3.org/2006/vcard/ns#" xmlns:skos="http://www.w3.org/2004/02/skos/core#" xmlns:schema="http://schema.org/">
<element name="adms:Identifier">
<label>Other identifier</label>
Expand Down Expand Up @@ -191,9 +215,9 @@
<btnLabel>Frequency</btnLabel>
</element>
<element name="dct:conformsTo">
<label>conforms to standard</label>
<label>Conforms to standard</label>
<description>An established standard to which the described resource conforms.</description>
<btnLabel>conforms to standard</btnLabel>
<btnLabel>Conforms to standard</btnLabel>
</element>
<element name="dct:created">
<label>Creation date</label>
Expand Down Expand Up @@ -926,26 +950,6 @@
<btnLabel>Language</btnLabel>
</element>


<!-- PROFILE / DCAT-AP-HVD -->
<element name="dcatap:hvdCategory">
<label>HVD category</label>
<description>The HVD category to which this Dataset belongs.
The HVD IR defines six thematic data categories: geospatial, earth observation and environment, meteorological, statistics, companies and company ownership, and mobility.
A new property HVD category is introduced to indicate the HVD category to which an resource, i.e. a dataset, belongs.
The controlled vocabulary with all possible values is maintained by the Publications Office.
A resource may belong to more than one data category.</description>
</element>
<element name="dcatap:applicableLegislation">
<label>Applicable legislation</label>
<description>The legislation that mandates the creation or management of the Data Service. For HVD the value MUST include the ELI http://data.europa.eu/eli/reg_impl/2023/138/oj.
As multiple legislations may apply to the resource the maximum cardinality is not limited. </description>
</element>





<element name="mobilitydcatap:mobilityTheme">
<label>Mobility theme</label>
<description>This property refers to the mobility-related theme (i.e., a specific subject, category, or type) of the delivered content.
Expand All @@ -972,4 +976,83 @@
Examples of such services include “location search”, which is based on a datasets with address identifiers, or “trip plan computation”, which is based on datasets about a road network.</description>
</element>

<element name="dcatap:hvdCategory" context="/rdf:RDF/dcat:Catalog/dcat:dataset/dcat:Dataset">
<label>HVD Category</label>
<description>The HVD category to which this Dataset belongs.</description>
<btnLabel>HVD Category</btnLabel>
</element>
<element name="dcatap:hvdCategory" context="/rdf:RDF/dcat:Catalog/dcat:service/dcat:DataService">
<label>HVD Category</label>
<description>The HVD category to which this Data Service belongs.</description>
<btnLabel>HVD Category</btnLabel>
</element>
<element name="dcatap:applicableLegislation" context="/rdf:RDF/dcat:Catalog/dcat:dataset/dcat:Dataset">
<label>Applicable legislation</label>
<description>The legislation that mandates the creation or management of the Dataset.</description>
<btnLabel>applicable legislation</btnLabel>
</element>
<element name="dcatap:applicableLegislation" context="/rdf:RDF/dcat:Catalog/dcat:service/dcat:DataService">
<label>Applicable legislation</label>
<description>The legislation that mandates the creation or management of the Data Service.</description>
<btnLabel>applicable legislation</btnLabel>
</element>

<element name="mdcat:statuut">
<label>Statute</label>
<description>Tooltip: Statute</description>
<btnLabel>Statute</btnLabel>
</element>
<element name="mdcat:MAGDA-categorie">
<label>MAGDA-category</label>
<description>Tooltip: MAGDA-category</description>
<btnLabel>MAGDA-category</btnLabel>
</element>
<element name="mdcat:landingspaginaVoorAuthenticatie">
<label>Landingpage for authentication</label>
<description>Een verwijzing naar de landingspagina met de specifieke informatie over de authenticatie voor de
dataservice.
</description>
<btnLabel>Landingpage for authentication</btnLabel>
</element>
<element name="rdf:resource" context="mdcat:landingspaginaVoorAuthenticatie">
<label>Landingpage for authentication</label>
<description>Een verwijzing naar de landingspagina met de specifieke informatie over de authenticatie voor de
dataservice.
</description>
<btnLabel>Landingpage for authentication</btnLabel>
</element>
<element name="mdcat:landingspaginaVoorGebruiksinformatie">
<label>Landingpage for usage information</label>
<description>Een verwijzing naar de landingspagina met de specifieke informatie over het gebruik van de
dataservice.
</description>
<btnLabel>Landingpage for usage information</btnLabel>
</element>
<element name="rdf:resource" context="mdcat:landingspaginaVoorGebruiksinformatie">
<label>Landingpage for usage information</label>
<description>Een verwijzing naar de landingspagina met de specifieke informatie over het gebruik van de
dataservice.
</description>
<btnLabel>Landingpage for usage information</btnLabel>
</element>
<element name="mdcat:landingspaginaVoorStatusinformatie">
<label>Landingpage for status information</label>
<description>Een verwijzing naar de statuspagina van de dataservice.</description>
<btnLabel>Landingpage for status information</btnLabel>
</element>
<element name="rdf:resource" context="mdcat:landingspaginaVoorStatusinformatie">
<label>Landingpage for status information</label>
<description>Een verwijzing naar de statuspagina van de dataservice.</description>
<btnLabel>Landingpage for status information</btnLabel>
</element>
<element name="mdcat:levensfase">
<label>Lifecycle phase</label>
<description>The phase of the lifecycle of the dataservice.</description>
<btnLabel>Lifecycle phase</btnLabel>
</element>
<element name="mdcat:ontwikkelingstoestand">
<label>Development status</label>
<description>The development status of the deployed dataservice.</description>
<btnLabel>Development status</btnLabel>
</element>
</labels>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<strings>
<schematron.title>High Value Datasets - Cardinalities</schematron.title>
</strings>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<strings>
<schematron.title>High Value Datasets - Recommended</schematron.title>
</strings>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<strings>
<schematron.title>High Value Datasets - Mandatory</schematron.title>
</strings>
17 changes: 13 additions & 4 deletions src/main/plugin/dcat-ap/loc/eng/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -87,11 +87,20 @@
<protocol-50>LINK-1.0-http--related</protocol-50>
<protocol-51>Enter your own protocol...</protocol-51>

<hvd-dataservice-section>High Value Dataset (HVD)</hvd-dataservice-section>
<hvd-dataservice-tab>Data Service</hvd-dataservice-tab>
<hvd-dataset-section>High Value Dataset (HVD)</hvd-dataset-section>
<hvd-dataset-tab>Dataset</hvd-dataset-tab>
<hvd-view>High Value Dataset</hvd-view>
<hvd-tab>High Value Dataset</hvd-tab>
<hvd-section>High Value Dataset (HVD)</hvd-section>

<mobility-view>Mobility</mobility-view>
<mobility-tab>Mobility</mobility-tab>
<mobility-section>Mobility</mobility-section>
<mobility-tab>Mobility</mobility-tab>
<mobility-view>Mobility</mobility-view>

<vl-view>Flanders</vl-view>
<vl-tab-service>Service</vl-tab-service>
<vl-tab-dataset>Dataset</vl-tab-dataset>
<vl-tab-distribution>Distributions</vl-tab-distribution>
<vl-section-metadatadcat>Metadata DCAT</vl-section-metadatadcat>
<vl-section-dcatapvl>DCAT-AP Vlaanderen</vl-section-dcatapvl>
</strings>
47 changes: 47 additions & 0 deletions src/main/plugin/dcat-ap/loc/fre/labels.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2196,4 +2196,51 @@
<description>Tooltip: in scheme</description>
<btnLabel>in scheme</btnLabel>
</element>

<element name="mobilitydcatap:mobilityTheme">
<label>Mobility theme</label>
<description>This property refers to the mobility-related theme (i.e., a specific subject, category, or type) of the delivered content.
A dataset may be associated with multiple themes. A theme is important for data seekers who are interested in a particular type of data content.</description>
</element>
<element name="mobilitydcatap:transportMode">
<label>Transport mode</label>
<description>This property describes the transport mode that is covered by the delivered content. Data can be valid for more than one mode, so a multiple choice should be applied.</description>
</element>
<element name="mobilitydcatap:networkCoverage">
<label>Network coverage</label>
<description>This property describes the part of the transport network that is covered by the delivered content. For road traffic, the property SHOULD refer to the network classification for which the data is provided. As a minimum, an international or higher-level classification, e.g., via functional road classes, is recommended to allow data search across different countries. In addition, national classifications are allowed.
For other transport modes, the property is meant to refer to the physical infrastructure which is used by the services covered by the data.
For all modes, the property SHOULD also indicate if the data content relates to the EU’s trans-European transport network [EU-TEN-T].</description>
</element>
<element name="mobilitydcatap:georeferencingMethod">
<label>Georeferencing method</label>
<description>This property SHOULD be used to specify the georeferencing method used in the dataset.</description>
</element>
<element name="mobilitydcatap:intendedInformationService">
<label>Intended information service</label>
<description>This property MAY describe predefined information services, which the data content is intended to support.
Such services MAY be, e.g., information services for multimodal mobility, as specified by EC Delegated Regulation 2017/1926 [EC-MMTIS-DR].
Examples of such services include “location search”, which is based on a datasets with address identifiers, or “trip plan computation”, which is based on datasets about a road network.</description>
</element>

<element name="dcatap:hvdCategory" context="/rdf:RDF/dcat:Catalog/dcat:dataset/dcat:Dataset">
<label>HVD Category</label>
<description>The HVD category to which this Dataset belongs.</description>
<btnLabel>HVD Category</btnLabel>
</element>
<element name="dcatap:hvdCategory" context="/rdf:RDF/dcat:Catalog/dcat:service/dcat:DataService">
<label>HVD Category</label>
<description>The HVD category to which this Data Service belongs.</description>
<btnLabel>HVD Category</btnLabel>
</element>
<element name="dcatap:applicableLegislation" context="/rdf:RDF/dcat:Catalog/dcat:dataset/dcat:Dataset">
<label>Applicable legislation</label>
<description>The legislation that mandates the creation or management of the Dataset.</description>
<btnLabel>applicable legislation</btnLabel>
</element>
<element name="dcatap:applicableLegislation" context="/rdf:RDF/dcat:Catalog/dcat:service/dcat:DataService">
<label>Applicable legislation</label>
<description>The legislation that mandates the creation or management of the Data Service.</description>
<btnLabel>applicable legislation</btnLabel>
</element>
</labels>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<strings>
<schematron.title>High Value Datasets - Cardinalités</schematron.title>
</strings>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<strings>
<schematron.title>High Value Datasets - Recommendé</schematron.title>
</strings>
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<strings>
<schematron.title>High Value Datasets - Obligatoire</schematron.title>
</strings>
Loading