-
-
Notifications
You must be signed in to change notification settings - Fork 492
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Thesaurus / Improve support of EU publication office SKOS format (#7673)
* Thesaurus / Improve support of EU publication office SKOS format When loading thesaurus downloadable from the EU publication office, title and namespace of the thesaurus are not extracted properly. The SKOS format provided contains specificity eg. https://op.europa.eu/en/web/eu-vocabularies/dataset/-/resource?uri=http://publications.europa.eu/resource/dataset/data-theme Thesaurus title is stored in various properties ie. `at:prefLabel`, `rdfs:label`, `skos:prefLabel` but none of them were used so far for title extraction. ```xml <skos:ConceptScheme rdf:about="http://publications.europa.eu/resource/authority/data-theme" at:table.id="data-theme" at:table.version.number="20220715-0"> <at:prefLabel xml:lang="en">Data theme</at:prefLabel> <rdfs:label xml:lang="en">Data theme</rdfs:label> <owl:versionInfo>20220715-0</owl:versionInfo> <skos:prefLabel xml:lang="en">Data theme</skos:prefLabel> </skos:ConceptScheme> ``` This change add them to the XPath. Also fix some sonar lint items. Funded by Wallonia region (SPW) * Update core/src/main/java/org/fao/geonet/kernel/Thesaurus.java
- Loading branch information
1 parent
3a37a70
commit eb4f083
Showing
3 changed files
with
38 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters