Skip to content

Commit

Permalink
EEA / Statistical data / Improve editor form https://taskman.eionet.e…
Browse files Browse the repository at this point in the history
  • Loading branch information
fxprunayre committed Mar 11, 2024
1 parent 68393f2 commit f65c25a
Show file tree
Hide file tree
Showing 9 changed files with 321 additions and 25 deletions.
111 changes: 86 additions & 25 deletions schemas/iso19139/src/main/plugin/iso19139/layout/config-editor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,6 @@

<action type="add"
btnLabel="eea-add-temporal-extent"
if="count(gmd:MD_Metadata/gmd:identificationInfo//gmd:temporalElement) = 0"
or="extent"
in="/gmd:MD_Metadata/gmd:identificationInfo/*">
<template>
Expand Down Expand Up @@ -1617,45 +1616,82 @@

<field xpath="/gmd:MD_Metadata/gmd:identificationInfo/*/gmd:descriptiveKeywords[contains(*/gmd:thesaurusName/*/gmd:title/*/text(), 'Unit of measure')]"/>

<field xpath="/gmd:MD_Metadata/gmd:identificationInfo/*/gmd:descriptiveKeywords[contains(*/gmd:thesaurusName/*/gmd:title/*/text(), 'Reference period')]"/>

<field name="Accuracy - overall"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Accuracy - overall']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"/>

<field name="Timeliness"
<field name="Timeliness - Grade"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Timeliness']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"/>
del="ancestor::gmd:report"
use="data-gn-keyword-picker">
<directiveAttributes data-thesaurus-key="local.theme.eea-stat-time-coverage-grade"/>
</field>
<field name="Timeliness - Comment"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Timeliness']/gmd:measureDescription"/>

<field name="Reference area - Grade"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Reference area']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"
use="data-gn-keyword-picker">
<directiveAttributes data-thesaurus-key="local.theme.eea-stat-comparability-overtime-grade"/>
</field>
<field name="Reference area - Comment"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Reference area']/gmd:measureDescription"/>

<field name="Comparability - geographical"
<field name="Comparability - geographical - Grade"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Comparability - geographical']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"/>
del="ancestor::gmd:report"
use="data-gn-keyword-picker">
<directiveAttributes data-thesaurus-key="local.theme.eea-stat-comparability-geographical-grade"/>
</field>
<field name="Comparability - geographical - Comment"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Comparability - geographical']/gmd:measureDescription"/>

<field name="Time coverage - Grade"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Time coverage']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"
use="data-gn-keyword-picker">
<directiveAttributes data-thesaurus-key="local.theme.eea-stat-time-coverage-grade"/>
</field>
<field name="Time Coverage - Comment"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Time coverage']/gmd:measureDescription"/>

<field name="Comparability - over time"
<field name="Comparability - over time - Grade"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Comparability - over time']/gmd:result/*/gmd:value"
del="ancestor::gmd:report"/>
del="ancestor::gmd:report"
use="data-gn-keyword-picker">
<directiveAttributes data-thesaurus-key="local.theme.eea-stat-comparability-overtime-grade"/>
</field>
<field name="Comparability - over time - Comment"
xpath="/gmd:MD_Metadata/gmd:dataQualityInfo/*/gmd:report/*[
gmd:nameOfMeasure/*/text() = 'Comparability - over time']/gmd:measureDescription"/>

<action type="add"
btnLabel="eea-add-statistical-measures"
or="report"
in="/gmd:MD_Metadata/gmd:dataQualityInfo/*">
<template>
<snippet label="eea-measure-accuracy">
<snippet label="eea-measure-timeliness">
<gmd:report>
<gmd:DQ_QuantitativeAttributeAccuracy>
<gmd:DQ_AccuracyOfATimeMeasurement>
<gmd:nameOfMeasure>
<gco:CharacterString>Accuracy - overall</gco:CharacterString>
<gco:CharacterString>Timeliness</gco:CharacterString>
</gmd:nameOfMeasure>
<gmd:measureDescription>
<gco:CharacterString>Assessment of accuracy, linked to a certain Data Set or domain, which is summarising the various components into one single measure.</gco:CharacterString>
<gco:CharacterString></gco:CharacterString>
</gmd:measureDescription>
<gmd:result>
<gmd:DQ_QuantitativeResult>
<gmd:valueUnit>
<gml:BaseUnit gml:id="d22718e609a1052934">
<gml:BaseUnit gml:id="d22718e609a1051924">
<gml:identifier codeSpace=""/>
<gml:unitsSystem/>
</gml:BaseUnit>
Expand All @@ -1665,22 +1701,22 @@
</gmd:value>
</gmd:DQ_QuantitativeResult>
</gmd:result>
</gmd:DQ_QuantitativeAttributeAccuracy>
</gmd:DQ_AccuracyOfATimeMeasurement>
</gmd:report>
</snippet>
<snippet label="eea-measure-timeliness">
<snippet label="eea-measure-reference-area">
<gmd:report>
<gmd:DQ_AccuracyOfATimeMeasurement>
<gmd:DQ_QuantitativeAttributeAccuracy>
<gmd:nameOfMeasure>
<gco:CharacterString>Timeliness</gco:CharacterString>
<gco:CharacterString>Reference area</gco:CharacterString>
</gmd:nameOfMeasure>
<gmd:measureDescription>
<gco:CharacterString>Length of time between data availability and the event or phenomenon they describe.</gco:CharacterString>
<gco:CharacterString></gco:CharacterString>
</gmd:measureDescription>
<gmd:result>
<gmd:DQ_QuantitativeResult>
<gmd:valueUnit>
<gml:BaseUnit gml:id="d22718e609a1051924">
<gml:BaseUnit gml:id="d22718e609a1052934">
<gml:identifier codeSpace=""/>
<gml:unitsSystem/>
</gml:BaseUnit>
Expand All @@ -1690,7 +1726,7 @@
</gmd:value>
</gmd:DQ_QuantitativeResult>
</gmd:result>
</gmd:DQ_AccuracyOfATimeMeasurement>
</gmd:DQ_QuantitativeAttributeAccuracy>
</gmd:report>
</snippet>
<snippet label="eea-measure-comparability-geo">
Expand All @@ -1700,7 +1736,7 @@
<gco:CharacterString>Comparability - geographical</gco:CharacterString>
</gmd:nameOfMeasure>
<gmd:measureDescription>
<gco:CharacterString>Extent to which statistics are comparable between geographical areas.</gco:CharacterString>
<gco:CharacterString></gco:CharacterString>
</gmd:measureDescription>
<gmd:result>
<gmd:DQ_QuantitativeResult>
Expand All @@ -1718,14 +1754,39 @@
</gmd:DQ_DomainConsistency>
</gmd:report>
</snippet>
<snippet label="eea-measure-time-coverage">
<gmd:report>
<gmd:DQ_DomainConsistency>
<gmd:nameOfMeasure>
<gco:CharacterString>Time coverage</gco:CharacterString>
</gmd:nameOfMeasure>
<gmd:measureDescription>
<gco:CharacterString></gco:CharacterString>
</gmd:measureDescription>
<gmd:result>
<gmd:DQ_QuantitativeResult>
<gmd:valueUnit>
<gml:BaseUnit gml:id="d9765e687a1051934">
<gml:identifier codeSpace=""/>
<gml:unitsSystem/>
</gml:BaseUnit>
</gmd:valueUnit>
<gmd:value>
<gco:Record></gco:Record>
</gmd:value>
</gmd:DQ_QuantitativeResult>
</gmd:result>
</gmd:DQ_DomainConsistency>
</gmd:report>
</snippet>
<snippet label="eea-measure-comparability-overtime">
<gmd:report>
<gmd:DQ_DomainConsistency>
<gmd:nameOfMeasure>
<gco:CharacterString>Comparability - over time</gco:CharacterString>
</gmd:nameOfMeasure>
<gmd:measureDescription>
<gco:CharacterString>Extent to which statistics are comparable or reconcilable over time.</gco:CharacterString>
<gco:CharacterString></gco:CharacterString>
</gmd:measureDescription>
<gmd:result>
<gmd:DQ_QuantitativeResult>
Expand Down
2 changes: 2 additions & 0 deletions schemas/iso19139/src/main/plugin/iso19139/loc/eng/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@
<eea-mmu>Minimum Mapping Unit (ha)</eea-mmu>
<eea-mmw>Minimum Mapping width (m)</eea-mmw>
<eea-measure-accuracy>Accuracy - overall</eea-measure-accuracy>
<eea-measure-reference-area>Reference area</eea-measure-reference-area>
<eea-measure-timeliness>Timeliness</eea-measure-timeliness>
<eea-measure-time-coverage>Time coverage</eea-measure-time-coverage>
<eea-measure-comparability-geo>Comparability - geographical</eea-measure-comparability-geo>
<eea-measure-comparability-overtime>Comparability - over time</eea-measure-comparability-overtime>
<eea-mmuw-help>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,5 +26,9 @@
<skos:prefLabel xml:lang='en'>tabular data</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/categories/3'>
<skos:prefLabel xml:lang='en'>statistical data</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
</rdf:RDF>

Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<skos:ConceptScheme rdf:about="https://www.eea.europa.eu/stat-comparability-geographical-grade">
<dc:title>Comparability - geographical - Grade</dc:title>
<dc:description>Rating based on comparability according to the most recent data points.
Extent to which indicator data are comparable between EU Member States (EFTA countries, candidate countries and others are not considered for rating but can be included in the comments).</dc:description>
<dc:creator>
<foaf:Organization>
<foaf:name>EEA</foaf:name>
</foaf:Organization>
</dc:creator>
<dcterms:issued>2024-03-11</dcterms:issued>
<dcterms:modified>2024-03-11</dcterms:modified>
</skos:ConceptScheme>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-geographical-grade/1'>
<skos:prefLabel xml:lang='en'>All EU MS</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-geographical-grade/2'>
<skos:prefLabel xml:lang='en'>&gt; 75% EU MS</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-geographical-grade/3'>
<skos:prefLabel xml:lang='en'>&lt; 75% EU MS</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-geographical-grade/notapplicable'>
<skos:prefLabel xml:lang='en'>not applicable</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-geographical-grade/notavailable'>
<skos:prefLabel xml:lang='en'>not available</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
</rdf:RDF>

Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<skos:ConceptScheme rdf:about="https://www.eea.europa.eu/stat-comparability-overtime-grade">
<dc:title>Comparability - over time - Grade</dc:title>
<dc:description>Rating based on number of data points from last methodological break.
Applies only to indicators with at least 2 data points. Extent to which indicator data are comparable or reconcilable over time; length of comparable time series is the number of data points from last methodological break.</dc:description>
<dc:creator>
<foaf:Organization>
<foaf:name>EEA</foaf:name>
</foaf:Organization>
</dc:creator>
<dcterms:issued>2024-03-11</dcterms:issued>
<dcterms:modified>2024-03-11</dcterms:modified>
</skos:ConceptScheme>

<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-overtime-grade/1'>
<skos:prefLabel xml:lang='en'>&gt; 4 data points</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-overtime-grade/2'>
<skos:prefLabel xml:lang='en'>3 to 4 data points</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-overtime-grade/3'>
<skos:prefLabel xml:lang='en'>&lt; 3 data points</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-overtime-grade/notapplicable'>
<skos:prefLabel xml:lang='en'>not applicable</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-comparability-overtime-grade/notavailable'>
<skos:prefLabel xml:lang='en'>not available</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
</rdf:RDF>

Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<skos:ConceptScheme rdf:about="https://www.eea.europa.eu/stat-reference-area-grade">
<dc:title>Reference area - Grade</dc:title>
<dc:description>Geographical area covered by the indicator (e.g. EU Members States, EFTA and candidate countries, USA, Japan, etc. as well as aggregates such as EU-28, EEA).</dc:description>
<dc:creator>
<foaf:Organization>
<foaf:name>EEA</foaf:name>
</foaf:Organization>
</dc:creator>
<dcterms:issued>2024-03-11</dcterms:issued>
<dcterms:modified>2024-03-11</dcterms:modified>
</skos:ConceptScheme>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-reference-area-grade/1'>
<skos:prefLabel xml:lang='en'>All EU MS</skos:prefLabel>
<skos:definition xml:lang='en'>Data are presented for all EU Member States plus [EFTA, CC, others in full wording]</skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-reference-area-grade/2'>
<skos:prefLabel xml:lang='en'>&gt; 75% EU MS and EU aggregate</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-reference-area-grade/3'>
<skos:prefLabel xml:lang='en'>&lt; 75% EU MS or no EU aggregate</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-reference-area-grade/notapplicable'>
<skos:prefLabel xml:lang='en'>not applicable</skos:prefLabel>
<skos:definition xml:lang='en'>Indicators which do not refer to individual countries (e.g. Ocean acidity).</skos:definition>
</skos:Concept>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-reference-area-grade/notavailable'>
<skos:prefLabel xml:lang='en'>not available</skos:prefLabel>
<skos:definition xml:lang='en'>No data for EU aggregates available.</skos:definition>
</skos:Concept>
</rdf:RDF>

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:foaf="http://xmlns.com/foaf/0.1/"
xmlns:dcterms="http://purl.org/dc/terms/"
xmlns:skos="http://www.w3.org/2004/02/skos/core#"
xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">
<skos:ConceptScheme rdf:about="https://www.eea.europa.eu/stat-reference-period">
<dc:title>Reference period</dc:title>
<dc:description></dc:description>
<dc:creator>
<foaf:Organization>
<foaf:name>EEA</foaf:name>
</foaf:Organization>
</dc:creator>
<dcterms:issued>2024-03-11</dcterms:issued>
<dcterms:modified>2024-03-11</dcterms:modified>
</skos:ConceptScheme>
<skos:Concept rdf:about='https://www.eea.europa.eu/stat-reference-period/1'>
<skos:prefLabel xml:lang='en'>Calendar year</skos:prefLabel>
<skos:definition xml:lang='en'></skos:definition>
</skos:Concept>
</rdf:RDF>

Loading

0 comments on commit f65c25a

Please sign in to comment.