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 = [
'gnd' => 'P227', 'aat' => 'P1014',
'lcsh' => 'P244', "bne" => "P950", // Espana National Library
'aat' => 'P1014', "bnf" => "P268",
'col' => 'P10585',
'cona' => 'P1669',
'iconclass' => 'P1256', 'iconclass' => 'P1256',
'osm' => 'P402', 'gnd' => 'P227',
'loc' => 'P244', 'lcsh' => 'P244',
'nomisma' => 'P2950', 'loc' => 'P244',
'cona' => 'P1669', "ndl" => "P349", // National Diet Library (Japan)
'nomisma' => 'P2950',
"rkd" => "P650", "orcid" => "P496",
"ulan" => "P245", 'osm' => 'P402',
"viaf" => "P214", "pim" => "P3973",
"bnf" => "P268", "rkd" => "P650",
"pim" => "P3973", "npg" => "P1816", // "National" portrait gallery
"ndl" => "P349", // National Diet Library (Japan) "ulan" => "P245",
"npg" => "P1816", // "National" portrait gallery "viaf" => "P214",
"bne" => "P950", // Espana National Library
"orcid" => "P496",
]; ];
public const RETRIEVAL_MODES_ACCEPTED = [ public const RETRIEVAL_MODES_ACCEPTED = [