From 773ae0659cf664e03693059bbbd8301c3d2d31a5 Mon Sep 17 00:00:00 2001 From: Joshua Ramon Enslin Date: Tue, 23 Sep 2025 14:17:33 +0200 Subject: [PATCH] Support importing Wikidata links to the Catalogue of Life --- src/NodaWikidataFetcher.php | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/src/NodaWikidataFetcher.php b/src/NodaWikidataFetcher.php index 01b300f..3b05eeb 100644 --- a/src/NodaWikidataFetcher.php +++ b/src/NodaWikidataFetcher.php @@ -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 P_IDS_NODA_TAGS = [ - 'gnd' => 'P227', - 'lcsh' => 'P244', - 'aat' => 'P1014', + 'aat' => 'P1014', + "bne" => "P950", // Espana National Library + "bnf" => "P268", + 'col' => 'P10585', + 'cona' => 'P1669', 'iconclass' => 'P1256', - 'osm' => 'P402', - 'loc' => 'P244', - 'nomisma' => 'P2950', - 'cona' => 'P1669', - - "rkd" => "P650", - "ulan" => "P245", - "viaf" => "P214", - "bnf" => "P268", - "pim" => "P3973", - "ndl" => "P349", // National Diet Library (Japan) - "npg" => "P1816", // "National" portrait gallery - "bne" => "P950", // Espana National Library - "orcid" => "P496", + 'gnd' => 'P227', + 'lcsh' => 'P244', + 'loc' => 'P244', + "ndl" => "P349", // National Diet Library (Japan) + 'nomisma' => 'P2950', + "orcid" => "P496", + 'osm' => 'P402', + "pim" => "P3973", + "rkd" => "P650", + "npg" => "P1816", // "National" portrait gallery + "ulan" => "P245", + "viaf" => "P214", ]; public const RETRIEVAL_MODES_ACCEPTED = [