Support importing Wikidata links to the Catalogue of Life

This commit is contained in:
2025-09-23 14:17:33 +02:00
parent b9d5377f42
commit 773ae0659c

View File

@@ -23,24 +23,24 @@ final class NodaWikidataFetcher {
public const LANGUAGES_TO_CAPITALIZE = ["cs", "da", "de", "en", "es", "fr", "fi", "id", "it", "nl", "pl", "pt", "ru", "sv", 'sk', "tl", "tr"]; public const LANGUAGES_TO_CAPITALIZE = ["cs", "da", "de", "en", "es", "fr", "fi", "id", "it", "nl", "pl", "pt", "ru", "sv", 'sk', "tl", "tr"];
public const P_IDS_NODA_TAGS = [ public const P_IDS_NODA_TAGS = [
'aat' => 'P1014',
"bne" => "P950", // Espana National Library
"bnf" => "P268",
'col' => 'P10585',
'cona' => 'P1669',
'iconclass' => 'P1256',
'gnd' => 'P227', 'gnd' => 'P227',
'lcsh' => 'P244', 'lcsh' => 'P244',
'aat' => 'P1014',
'iconclass' => 'P1256',
'osm' => 'P402',
'loc' => 'P244', 'loc' => 'P244',
"ndl" => "P349", // National Diet Library (Japan)
'nomisma' => 'P2950', 'nomisma' => 'P2950',
'cona' => 'P1669', "orcid" => "P496",
'osm' => 'P402',
"pim" => "P3973",
"rkd" => "P650", "rkd" => "P650",
"npg" => "P1816", // "National" portrait gallery
"ulan" => "P245", "ulan" => "P245",
"viaf" => "P214", "viaf" => "P214",
"bnf" => "P268",
"pim" => "P3973",
"ndl" => "P349", // National Diet Library (Japan)
"npg" => "P1816", // "National" portrait gallery
"bne" => "P950", // Espana National Library
"orcid" => "P496",
]; ];
public const RETRIEVAL_MODES_ACCEPTED = [ public const RETRIEVAL_MODES_ACCEPTED = [