Skip to content

Commit

Permalink
Standard / ISO / DCAT formatters / GeoDCAT-AP / Use dct:description i…
Browse files Browse the repository at this point in the history
…nstead of rdfs:label lfor potentially long texts SEMICeu/GeoDCAT-AP#108.
  • Loading branch information
fxprunayre committed Apr 4, 2024
1 parent 7c7d7f7 commit 37fad57
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="rdf-localised">
<xsl:with-param name="nodeName" select="'rdfs:label'"/>
<xsl:with-param name="nodeName" select="'dct:description'"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
Expand Down Expand Up @@ -92,7 +92,7 @@
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="rdf-localised">
<xsl:with-param name="nodeName" select="'rdfs:label'"/>
<xsl:with-param name="nodeName" select="'dct:description'"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
Expand All @@ -109,7 +109,7 @@
</xsl:when>
<xsl:otherwise>
<xsl:call-template name="rdf-localised">
<xsl:with-param name="nodeName" select="'rdfs:label'"/>
<xsl:with-param name="nodeName" select="'dct:description'"/>
</xsl:call-template>
</xsl:otherwise>
</xsl:choose>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@
as="xs:boolean"
select="true()"/>

<!-- The first resourceConstraints is accessRights,
then rights is used for additional constraints information.
https://github.com/SEMICeu/GeoDCAT-AP/issues/82
-->
<xsl:variable name="isPreservingAllResourceConstraints"
as="xs:boolean"
select="true()"/>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@
</dct:accessRights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">No limitations to public access</rdfs:label>
<dct:description xml:lang="fre">No limitations to public access</dct:description>
</dct:RightsStatement>
</dct:rights>
<dct:license>
Expand All @@ -244,7 +244,7 @@
</dct:rights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</rdfs:label>
<dct:description xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</dct:description>
</dct:RightsStatement>
</dct:rights>
<dct:isPartOf rdf:resource="https://metawal.wallonie.be/geonetwork/srv/api/records/be875ddb-ffd9-4c23-a013-53063a366b5b"/>
Expand Down Expand Up @@ -354,7 +354,7 @@
</dct:rights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</rdfs:label>
<dct:description xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</dct:description>
</dct:RightsStatement>
</dct:rights>
<dct:accessRights>
Expand All @@ -363,7 +363,7 @@
</dct:accessRights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">No limitations to public access</rdfs:label>
<dct:description xml:lang="fre">No limitations to public access</dct:description>
</dct:RightsStatement>
</dct:rights>
<dcat:spatialResolutionInMeters rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.01
Expand Down Expand Up @@ -419,7 +419,7 @@
</dct:rights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</rdfs:label>
<dct:description xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</dct:description>
</dct:RightsStatement>
</dct:rights>
<dct:accessRights>
Expand All @@ -428,7 +428,7 @@
</dct:accessRights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">No limitations to public access</rdfs:label>
<dct:description xml:lang="fre">No limitations to public access</dct:description>
</dct:RightsStatement>
</dct:rights>
<dcat:spatialResolutionInMeters rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.01
Expand Down Expand Up @@ -487,7 +487,7 @@
</dct:rights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</rdfs:label>
<dct:description xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</dct:description>
</dct:RightsStatement>
</dct:rights>
<dct:accessRights>
Expand All @@ -496,7 +496,7 @@
</dct:accessRights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">No limitations to public access</rdfs:label>
<dct:description xml:lang="fre">No limitations to public access</dct:description>
</dct:RightsStatement>
</dct:rights>
<dcat:spatialResolutionInMeters rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.01
Expand Down Expand Up @@ -555,7 +555,7 @@
</dct:rights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</rdfs:label>
<dct:description xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</dct:description>
</dct:RightsStatement>
</dct:rights>
<dct:accessRights>
Expand All @@ -564,7 +564,7 @@
</dct:accessRights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">No limitations to public access</rdfs:label>
<dct:description xml:lang="fre">No limitations to public access</dct:description>
</dct:RightsStatement>
</dct:rights>
<dcat:spatialResolutionInMeters rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.01
Expand Down Expand Up @@ -625,7 +625,7 @@
</dct:rights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</rdfs:label>
<dct:description xml:lang="fre">Conditions d'accès et d'utilisation spécifiques</dct:description>
</dct:RightsStatement>
</dct:rights>
<dct:accessRights>
Expand All @@ -634,7 +634,7 @@
</dct:accessRights>
<dct:rights>
<dct:RightsStatement>
<rdfs:label xml:lang="fre">No limitations to public access</rdfs:label>
<dct:description xml:lang="fre">No limitations to public access</dct:description>
</dct:RightsStatement>
</dct:rights>
<dcat:spatialResolutionInMeters rdf:datatype="http://www.w3.org/2001/XMLSchema#decimal">0.01
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
</dct:accessRights>
<dct:license>
<dct:LicenseDocument>
<rdfs:label xml:lang="fre">Conditions d'utilisation spécifiques</rdfs:label>
<dct:description xml:lang="fre">Conditions d'utilisation spécifiques</dct:description>
</dct:LicenseDocument>
</dct:license>
<dct:license>
Expand Down Expand Up @@ -227,7 +227,7 @@
</dcat:accessService>
<dct:license>
<dct:LicenseDocument>
<rdfs:label xml:lang="fre">Conditions d'utilisation spécifiques</rdfs:label>
<dct:description xml:lang="fre">Conditions d'utilisation spécifiques</dct:description>
</dct:LicenseDocument>
</dct:license>
<dct:license>
Expand Down

0 comments on commit 37fad57

Please sign in to comment.