Skip to content
Go to file
Cannot retrieve contributors at this time
42 lines (24 sloc) 3.1 KB

Dataset keyword

Purpose: Ds keyword. If the resource is a dataset or a dataset series, at least one keyword must originate from the INSPIRE theme of the GEMET Thesaurus


Test method

This test case only applies to records with a hierarchyLevel value 'dataset' or 'series'.

The test should check for each descriptiveKeywords block if it references either or any duplicate of that thesaurus, e.g. If a block is referencing that thesaurus the test should check if at least one keyword is available and it matches with a concept in the thesaurus.

If a keyword from that source is found, the test succeeds, otherwise it will fail.


Test type: Automated


The test method is not clear on how a specific code list is referenced in a gmd:thesaurusName. The ETS assumes that the gmd:thesaurusName/*/gmd:title/*/text() equals 'GEMET - INSPIRE themes, version 1.0'.

The TG MD requirement 14 does not require that each and every descriptiveKeywords block that references the INSPIRE themes code list must have at least one code from that code list. It states that "If only one keyword is used" - which is ambiguous. The requirement may need to be reworded. The ETS checks each and every descriptiveKeywords block that references the INSPIRE themes code list.

TG MD requirement 14 states that the keyword shall be expressed in one of the official INSPIRE languages or a language neutral term "such as a URI". The ETS retrieves the Atom feeds of the code list from the INSPIRE registry, for each of the following languages: 'bg','cs','da','de','et','el','en','es','fr','hr','it','lv','lt','hu','mt','nl','pl','pt','ro','sk','sl','fi','sv'. In addition, the language independent code values are parsed from the Ids of the feed entries. A keyword is compared against this set of strings. However, at the moment, no comparison against a full URI is made.

The depencency to Hierarchy has not been implemented in the ETS as it still seems reasonable to test the available dataset (series) metadata records.

Contextual XPath references

The namespace prefixes used as described in

Abbreviation XPath expression (relative to gmd:MD_Metadata)
hierarchyLevel gmd:hierarchyLevel/gmd:MD_ScopeCode/@codeListValue
keyword gmd:identificationInfo[1]/*/gmd:descriptiveKeywords/*/gmd:keyword
You can’t perform that action at this time.