From 4210daee0db9c2357d0f518b1abd6739ca75a830 Mon Sep 17 00:00:00 2001 From: Fabian Steeg Date: Fri, 3 Nov 2023 09:48:31 +0100 Subject: [PATCH] Use gndId-to-depiction map to set depiction if it exists (RPB-102) --- conf/output/test-output-rppd-lobid-0.json | 6 +++--- conf/output/test-output-rppd-lobid-1.json | 5 ----- conf/output/test-output-rppd-lobid-10.json | 5 ----- conf/output/test-output-rppd-lobid-11.json | 6 +++--- conf/output/test-output-rppd-lobid-12.json | 5 ----- conf/output/test-output-rppd-lobid-13.json | 5 ----- conf/output/test-output-rppd-lobid-14.json | 5 ----- conf/output/test-output-rppd-lobid-15.json | 5 ----- conf/output/test-output-rppd-lobid-16.json | 6 +++--- conf/output/test-output-rppd-lobid-17.json | 5 ----- conf/output/test-output-rppd-lobid-18.json | 5 ----- conf/output/test-output-rppd-lobid-19.json | 5 ----- conf/output/test-output-rppd-lobid-2.json | 5 ----- conf/output/test-output-rppd-lobid-20.json | 5 ----- conf/output/test-output-rppd-lobid-21.json | 5 ----- conf/output/test-output-rppd-lobid-22.json | 5 ----- conf/output/test-output-rppd-lobid-23.json | 5 ----- conf/output/test-output-rppd-lobid-24.json | 5 ----- conf/output/test-output-rppd-lobid-25.json | 5 ----- conf/output/test-output-rppd-lobid-26.json | 6 +++--- conf/output/test-output-rppd-lobid-27.json | 5 ----- conf/output/test-output-rppd-lobid-28.json | 5 ----- conf/output/test-output-rppd-lobid-29.json | 5 ----- conf/output/test-output-rppd-lobid-3.json | 5 ----- conf/output/test-output-rppd-lobid-30.json | 5 ----- conf/output/test-output-rppd-lobid-31.json | 6 +++--- conf/output/test-output-rppd-lobid-32.json | 5 ----- conf/output/test-output-rppd-lobid-33.json | 5 ----- conf/output/test-output-rppd-lobid-34.json | 5 ----- conf/output/test-output-rppd-lobid-35.json | 5 ----- conf/output/test-output-rppd-lobid-36.json | 5 ----- conf/output/test-output-rppd-lobid-37.json | 5 ----- conf/output/test-output-rppd-lobid-38.json | 5 ----- conf/output/test-output-rppd-lobid-39.json | 5 ----- conf/output/test-output-rppd-lobid-4.json | 5 ----- conf/output/test-output-rppd-lobid-40.json | 5 ----- conf/output/test-output-rppd-lobid-41.json | 5 ----- conf/output/test-output-rppd-lobid-42.json | 5 ----- conf/output/test-output-rppd-lobid-43.json | 5 ----- conf/output/test-output-rppd-lobid-44.json | 5 ----- conf/output/test-output-rppd-lobid-45.json | 5 ----- conf/output/test-output-rppd-lobid-5.json | 5 ----- conf/output/test-output-rppd-lobid-6.json | 6 +++--- conf/output/test-output-rppd-lobid-7.json | 5 ----- conf/output/test-output-rppd-lobid-8.json | 5 ----- conf/output/test-output-rppd-lobid-9.json | 6 +++--- conf/rppd-to-lobid.fix | 18 ++++++++++++------ 47 files changed, 33 insertions(+), 222 deletions(-) diff --git a/conf/output/test-output-rppd-lobid-0.json b/conf/output/test-output-rppd-lobid-0.json index 6f07c46c..94d43050 100644 --- a/conf/output/test-output-rppd-lobid-0.json +++ b/conf/output/test-output-rppd-lobid-0.json @@ -7,9 +7,9 @@ "preferredName" : "Humperdinck, Engelbert", "variantName" : [ "Humperdink, Engelbert", "Humperdinck, E.", "Humperdinck, Engelbert" ], "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/11855476X", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/11855476X", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/11855476X" + "id" : "https://commons.wikimedia.org/wiki/Special:FilePath/Engelbert%20humperdinck%201854.jpg", + "url" : "https://commons.wikimedia.org/wiki/File:Engelbert%20humperdinck%201854.jpg?uselang=de", + "thumbnail" : "https://commons.wikimedia.org/wiki/Special:FilePath/Engelbert%20humperdinck%201854.jpg?width=270" } ], "professionOrOccupation" : [ { "label" : "Komponist", diff --git a/conf/output/test-output-rppd-lobid-1.json b/conf/output/test-output-rppd-lobid-1.json index 45c34277..0de0104f 100644 --- a/conf/output/test-output-rppd-lobid-1.json +++ b/conf/output/test-output-rppd-lobid-1.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Cornelius, Otto", "variantName" : [ "Cornelius, Otto" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1011283956", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1011283956", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1011283956" - } ], "professionOrOccupation" : [ { "label" : "Maler", "id" : "https://d-nb.info/gnd/4037215-7" diff --git a/conf/output/test-output-rppd-lobid-10.json b/conf/output/test-output-rppd-lobid-10.json index eb4df9b7..1898e7bb 100644 --- a/conf/output/test-output-rppd-lobid-10.json +++ b/conf/output/test-output-rppd-lobid-10.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051147387", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Oppermann, Julius", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147387", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147387", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147387" - } ], "professionOrOccupation" : [ { "label" : "Journalist", "id" : "https://d-nb.info/gnd/4028781-6" diff --git a/conf/output/test-output-rppd-lobid-11.json b/conf/output/test-output-rppd-lobid-11.json index 4867b123..e3aecbcb 100644 --- a/conf/output/test-output-rppd-lobid-11.json +++ b/conf/output/test-output-rppd-lobid-11.json @@ -7,9 +7,9 @@ "preferredName" : "Bücker, Carl Clemens", "variantName" : [ "Bücker, Carl Clemens" ], "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/123205670", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/123205670", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/123205670" + "id" : "https://commons.wikimedia.org/wiki/Special:FilePath/Carl-Clemens%20B%C3%BCcker.jpg", + "url" : "https://commons.wikimedia.org/wiki/File:Carl-Clemens%20B%C3%BCcker.jpg?uselang=de", + "thumbnail" : "https://commons.wikimedia.org/wiki/Special:FilePath/Carl-Clemens%20B%C3%BCcker.jpg?width=270" } ], "professionOrOccupation" : [ { "label" : "Flugzeugkonstrukteur", diff --git a/conf/output/test-output-rppd-lobid-12.json b/conf/output/test-output-rppd-lobid-12.json index 9493fd91..8d9b042e 100644 --- a/conf/output/test-output-rppd-lobid-12.json +++ b/conf/output/test-output-rppd-lobid-12.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Anschuez, Carl", "variantName" : [ "Anschutz, Carl / 1818-1870", "Anschütz, Karl Friedrich Nikolaus / 1818-1870" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147395", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147395", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147395" - } ], "professionOrOccupation" : [ { "label" : "Komponist", "id" : "https://d-nb.info/gnd/4032009-1" diff --git a/conf/output/test-output-rppd-lobid-13.json b/conf/output/test-output-rppd-lobid-13.json index 39c7d44f..af11cf95 100644 --- a/conf/output/test-output-rppd-lobid-13.json +++ b/conf/output/test-output-rppd-lobid-13.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Anschuez, Joseph Andreas", "variantName" : [ "Anschütz, Josef Andreas", "Anschuez, Johann Andreas", "Anschuez, Josef Andreas", "Anschütz, Joseph Andreas", "Anschuetz, Johann Andreas", "Anschuez, J. A.", "Anschütz, J. A.", "Anschütz, Johann Andreas", "Anschuez, Joseph Andreas" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/118649558", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/118649558", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/118649558" - } ], "professionOrOccupation" : [ { "label" : "Jurist", "id" : "https://d-nb.info/gnd/4029050-5" diff --git a/conf/output/test-output-rppd-lobid-14.json b/conf/output/test-output-rppd-lobid-14.json index 87b2948a..720303d0 100644 --- a/conf/output/test-output-rppd-lobid-14.json +++ b/conf/output/test-output-rppd-lobid-14.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051147409", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Giefer, Willy", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147409", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147409", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147409" - } ], "professionOrOccupation" : [ { "label" : "Komponist", "id" : "https://d-nb.info/gnd/4032009-1" diff --git a/conf/output/test-output-rppd-lobid-15.json b/conf/output/test-output-rppd-lobid-15.json index 57a2e332..bee033d5 100644 --- a/conf/output/test-output-rppd-lobid-15.json +++ b/conf/output/test-output-rppd-lobid-15.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051147425", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Lehnen, Ewald", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147425", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147425", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147425" - } ], "professionOrOccupation" : [ { "label" : "Tiefbauingenieur", "id" : "https://rpb.lobid.org/sw/00Sn02x8761a" diff --git a/conf/output/test-output-rppd-lobid-16.json b/conf/output/test-output-rppd-lobid-16.json index 22b12e1e..88815b2b 100644 --- a/conf/output/test-output-rppd-lobid-16.json +++ b/conf/output/test-output-rppd-lobid-16.json @@ -7,9 +7,9 @@ "preferredName" : "Meister, Simon", "variantName" : [ "Meister, Simon" ], "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/119280957", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/119280957", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/119280957" + "id" : "https://commons.wikimedia.org/wiki/Special:FilePath/Simon%20Meister%20%281796%20oder%201803%20-%201844%29.jpg", + "url" : "https://commons.wikimedia.org/wiki/File:Simon%20Meister%20%281796%20oder%201803%20-%201844%29.jpg?uselang=de", + "thumbnail" : "https://commons.wikimedia.org/wiki/Special:FilePath/Simon%20Meister%20%281796%20oder%201803%20-%201844%29.jpg?width=270" } ], "professionOrOccupation" : [ { "label" : "Maler", diff --git a/conf/output/test-output-rppd-lobid-17.json b/conf/output/test-output-rppd-lobid-17.json index b2089169..2e154f87 100644 --- a/conf/output/test-output-rppd-lobid-17.json +++ b/conf/output/test-output-rppd-lobid-17.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Bodewig, Robert", "variantName" : [ "Bodewig, Robert / 1857-1923" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/120260948", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/120260948", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/120260948" - } ], "professionOrOccupation" : [ { "label" : "Klassischer Philologe", "id" : "https://d-nb.info/gnd/4199241-6" diff --git a/conf/output/test-output-rppd-lobid-18.json b/conf/output/test-output-rppd-lobid-18.json index 2246a41e..6950ef8a 100644 --- a/conf/output/test-output-rppd-lobid-18.json +++ b/conf/output/test-output-rppd-lobid-18.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Altgeld, Johann Philipp", "variantName" : [ "Altgelt, Johann Philipp" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147433", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147433", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147433" - } ], "professionOrOccupation" : [ { "label" : "Pfarrer / Katholische Kirche", "id" : "https://rpb.lobid.org/sw/929n170632" diff --git a/conf/output/test-output-rppd-lobid-19.json b/conf/output/test-output-rppd-lobid-19.json index 217b358a..3cb2a4e2 100644 --- a/conf/output/test-output-rppd-lobid-19.json +++ b/conf/output/test-output-rppd-lobid-19.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zenz, Emil", "variantName" : [ "Zenz, Emil" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/11698211X", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/11698211X", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/11698211X" - } ], "professionOrOccupation" : [ { "label" : "Lehrer", "id" : "https://d-nb.info/gnd/4035088-5" diff --git a/conf/output/test-output-rppd-lobid-2.json b/conf/output/test-output-rppd-lobid-2.json index 70185351..26f8afa7 100644 --- a/conf/output/test-output-rppd-lobid-2.json +++ b/conf/output/test-output-rppd-lobid-2.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051147352", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Daub, Richard", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147352", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147352", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147352" - } ], "professionOrOccupation" : [ { "label" : "Lehrer", "id" : "https://d-nb.info/gnd/4035088-5" diff --git a/conf/output/test-output-rppd-lobid-20.json b/conf/output/test-output-rppd-lobid-20.json index 29fc30ea..0d5c3a15 100644 --- a/conf/output/test-output-rppd-lobid-20.json +++ b/conf/output/test-output-rppd-lobid-20.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zenzen, Wilhelm", "variantName" : [ "Zenzen, Eucharius ¬[Ordensname]¬" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121548X", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121548X", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121548X" - } ], "dateOfBirth" : [ "1903-10-17" ], "placeOfBirth" : [ { "label" : "Andernach, große kreisangehörige Stadt", diff --git a/conf/output/test-output-rppd-lobid-21.json b/conf/output/test-output-rppd-lobid-21.json index 99321536..f2c7d934 100644 --- a/conf/output/test-output-rppd-lobid-21.json +++ b/conf/output/test-output-rppd-lobid-21.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051215498", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zettelmeyer, Hubert", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215498", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215498", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215498" - } ], "professionOrOccupation" : [ { "label" : "Unternehmer", "id" : "https://d-nb.info/gnd/4061949-7" diff --git a/conf/output/test-output-rppd-lobid-22.json b/conf/output/test-output-rppd-lobid-22.json index 956e2335..08f2eab2 100644 --- a/conf/output/test-output-rppd-lobid-22.json +++ b/conf/output/test-output-rppd-lobid-22.json @@ -5,11 +5,6 @@ "gndIdentifier" : "105121551X", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Ziegler, Jakob Anton", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121551X", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121551X", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/105121551X" - } ], "professionOrOccupation" : [ { "label" : "Pfarrer / Katholische Kirche", "id" : "https://rpb.lobid.org/sw/929n170632" diff --git a/conf/output/test-output-rppd-lobid-23.json b/conf/output/test-output-rppd-lobid-23.json index 214d601a..46743459 100644 --- a/conf/output/test-output-rppd-lobid-23.json +++ b/conf/output/test-output-rppd-lobid-23.json @@ -5,11 +5,6 @@ "gndIdentifier" : "126790086", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zill, Egon", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/126790086", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/126790086", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/126790086" - } ], "professionOrOccupation" : [ { "label" : "Bäcker", "id" : "https://d-nb.info/gnd/4120966-7" diff --git a/conf/output/test-output-rppd-lobid-24.json b/conf/output/test-output-rppd-lobid-24.json index ac668217..0abf2ece 100644 --- a/conf/output/test-output-rppd-lobid-24.json +++ b/conf/output/test-output-rppd-lobid-24.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051215528", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zillgen, Friedrich Josef", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215528", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215528", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215528" - } ], "professionOrOccupation" : [ { "label" : "Polizeibeamter", "id" : "https://d-nb.info/gnd/4135253-1" diff --git a/conf/output/test-output-rppd-lobid-25.json b/conf/output/test-output-rppd-lobid-25.json index 475d2de3..1b671dad 100644 --- a/conf/output/test-output-rppd-lobid-25.json +++ b/conf/output/test-output-rppd-lobid-25.json @@ -5,11 +5,6 @@ "gndIdentifier" : "137243324", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zillig, Hermann", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/137243324", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/137243324", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/137243324" - } ], "professionOrOccupation" : [ { "label" : "Oberregierungsrat", "id" : "https://d-nb.info/gnd/4398834-9" diff --git a/conf/output/test-output-rppd-lobid-26.json b/conf/output/test-output-rppd-lobid-26.json index cde35045..bd111b45 100644 --- a/conf/output/test-output-rppd-lobid-26.json +++ b/conf/output/test-output-rppd-lobid-26.json @@ -7,9 +7,9 @@ "preferredName" : "Zilliken, Kaspar Josef", "variantName" : [ "Zilliken, Kaspar Joseph", "Zilliken, Joseph" ], "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215536", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215536", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215536" + "id" : "https://commons.wikimedia.org/wiki/Special:FilePath/Josef%20Zilliken%201918%20Ausschnitt.jpg", + "url" : "https://commons.wikimedia.org/wiki/File:Josef%20Zilliken%201918%20Ausschnitt.jpg?uselang=de", + "thumbnail" : "https://commons.wikimedia.org/wiki/Special:FilePath/Josef%20Zilliken%201918%20Ausschnitt.jpg?width=270" } ], "professionOrOccupation" : [ { "label" : "Dekan / Kirche", diff --git a/conf/output/test-output-rppd-lobid-27.json b/conf/output/test-output-rppd-lobid-27.json index b49904b0..938cba28 100644 --- a/conf/output/test-output-rppd-lobid-27.json +++ b/conf/output/test-output-rppd-lobid-27.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051215544", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zimmer, Franz Nikolaus", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215544", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215544", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215544" - } ], "professionOrOccupation" : [ { "label" : "Lehrer", "id" : "https://d-nb.info/gnd/4035088-5" diff --git a/conf/output/test-output-rppd-lobid-28.json b/conf/output/test-output-rppd-lobid-28.json index a47cfc74..e417d506 100644 --- a/conf/output/test-output-rppd-lobid-28.json +++ b/conf/output/test-output-rppd-lobid-28.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zimmer, Josef", "variantName" : [ "Zimmer, Jupp" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051217350", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051217350", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051217350" - } ], "professionOrOccupation" : [ { "label" : "Maler", "id" : "https://d-nb.info/gnd/4037215-7" diff --git a/conf/output/test-output-rppd-lobid-29.json b/conf/output/test-output-rppd-lobid-29.json index bd6372c1..a5677206 100644 --- a/conf/output/test-output-rppd-lobid-29.json +++ b/conf/output/test-output-rppd-lobid-29.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051215552", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zimmer, Michael Kunibert", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215552", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215552", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215552" - } ], "professionOrOccupation" : [ { "label" : "Landwirt", "id" : "https://d-nb.info/gnd/4034399-6" diff --git a/conf/output/test-output-rppd-lobid-3.json b/conf/output/test-output-rppd-lobid-3.json index 22d6cc8f..654e5b0a 100644 --- a/conf/output/test-output-rppd-lobid-3.json +++ b/conf/output/test-output-rppd-lobid-3.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Billaudelle, Karl", "variantName" : [ "Billaudelle, Karl" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/13334066X", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/13334066X", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/13334066X" - } ], "professionOrOccupation" : [ { "label" : "Gymnasiallehrer", "id" : "https://d-nb.info/gnd/4158589-6" diff --git a/conf/output/test-output-rppd-lobid-30.json b/conf/output/test-output-rppd-lobid-30.json index 3e213d7c..63dfed48 100644 --- a/conf/output/test-output-rppd-lobid-30.json +++ b/conf/output/test-output-rppd-lobid-30.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051215579", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zimmermann, Konstantin", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215579", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215579", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215579" - } ], "professionOrOccupation" : [ { "label" : "Musikdirektor", "id" : "https://d-nb.info/gnd/7628980-1" diff --git a/conf/output/test-output-rppd-lobid-31.json b/conf/output/test-output-rppd-lobid-31.json index fcc447bc..cce5f249 100644 --- a/conf/output/test-output-rppd-lobid-31.json +++ b/conf/output/test-output-rppd-lobid-31.json @@ -6,9 +6,9 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zirbes, Peter", "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/117006084", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/117006084", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/117006084" + "id" : "https://commons.wikimedia.org/wiki/Special:FilePath/Peter%20Zirbes.jpg", + "url" : "https://commons.wikimedia.org/wiki/File:Peter%20Zirbes.jpg?uselang=de", + "thumbnail" : "https://commons.wikimedia.org/wiki/Special:FilePath/Peter%20Zirbes.jpg?width=270" } ], "professionOrOccupation" : [ { "label" : "Lyriker", diff --git a/conf/output/test-output-rppd-lobid-32.json b/conf/output/test-output-rppd-lobid-32.json index 5b631a6b..e85f6cb1 100644 --- a/conf/output/test-output-rppd-lobid-32.json +++ b/conf/output/test-output-rppd-lobid-32.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zuckermandel, Moses S.", "variantName" : [ "Zuckermandel, Moses Samuel / 1836-1917" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/117021652", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/117021652", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/117021652" - } ], "professionOrOccupation" : [ { "label" : "Rabbiner", "id" : "https://d-nb.info/gnd/4176751-2" diff --git a/conf/output/test-output-rppd-lobid-33.json b/conf/output/test-output-rppd-lobid-33.json index 7fc89576..3de8a67a 100644 --- a/conf/output/test-output-rppd-lobid-33.json +++ b/conf/output/test-output-rppd-lobid-33.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051215587", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Züscher, Peter", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215587", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215587", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215587" - } ], "professionOrOccupation" : [ { "label" : "Lehrer", "id" : "https://d-nb.info/gnd/4035088-5" diff --git a/conf/output/test-output-rppd-lobid-34.json b/conf/output/test-output-rppd-lobid-34.json index 3c8c438f..d99eb206 100644 --- a/conf/output/test-output-rppd-lobid-34.json +++ b/conf/output/test-output-rppd-lobid-34.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051215595", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zunker, Wilhelm", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215595", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215595", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215595" - } ], "professionOrOccupation" : [ { "label" : "Verwaltungsfachangestellter", "id" : "https://d-nb.info/gnd/4063330-5" diff --git a/conf/output/test-output-rppd-lobid-35.json b/conf/output/test-output-rppd-lobid-35.json index 9390e88f..6ec359ce 100644 --- a/conf/output/test-output-rppd-lobid-35.json +++ b/conf/output/test-output-rppd-lobid-35.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051215609", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Zweiffel, Karl Hermann", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215609", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215609", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215609" - } ], "professionOrOccupation" : [ { "label" : "Richter", "id" : "https://d-nb.info/gnd/4049923-6" diff --git a/conf/output/test-output-rppd-lobid-36.json b/conf/output/test-output-rppd-lobid-36.json index c484b89b..49c525b0 100644 --- a/conf/output/test-output-rppd-lobid-36.json +++ b/conf/output/test-output-rppd-lobid-36.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1028922108", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Heinen, Norbert M.", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1028922108", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1028922108", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1028922108" - } ], "professionOrOccupation" : [ { "label" : "Jurist", "id" : "https://d-nb.info/gnd/4029050-5" diff --git a/conf/output/test-output-rppd-lobid-37.json b/conf/output/test-output-rppd-lobid-37.json index 95936ffe..f98e80b3 100644 --- a/conf/output/test-output-rppd-lobid-37.json +++ b/conf/output/test-output-rppd-lobid-37.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Dönges, Klaus", "variantName" : [ "Dönges, Klaus", "Dönges, Klaus / 1935-" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1027971725", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1027971725", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1027971725" - } ], "professionOrOccupation" : [ { "label" : "Journalist", "id" : "https://d-nb.info/gnd/4028781-6" diff --git a/conf/output/test-output-rppd-lobid-38.json b/conf/output/test-output-rppd-lobid-38.json index f71d040e..5b9df81c 100644 --- a/conf/output/test-output-rppd-lobid-38.json +++ b/conf/output/test-output-rppd-lobid-38.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Weinkauff, Franz", "variantName" : [ "Weinkauff, Franciscus / 1823-1892", "Weinkauff, Franz / 1823-1892", "Weinkauff, Franz / 1824-1892" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/117269476", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/117269476", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/117269476" - } ], "professionOrOccupation" : [ { "label" : "Gymnasiallehrer", "id" : "https://d-nb.info/gnd/4158589-6" diff --git a/conf/output/test-output-rppd-lobid-39.json b/conf/output/test-output-rppd-lobid-39.json index 208a8533..9bec0c4f 100644 --- a/conf/output/test-output-rppd-lobid-39.json +++ b/conf/output/test-output-rppd-lobid-39.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Schneider, Anton", "variantName" : [ "Schneider, Anton / Bürgermeister" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/143451308", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/143451308", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/143451308" - } ], "professionOrOccupation" : [ { "label" : "Bürgermeister", "id" : "https://d-nb.info/gnd/4136676-1" diff --git a/conf/output/test-output-rppd-lobid-4.json b/conf/output/test-output-rppd-lobid-4.json index 9e43d53a..5028d3a1 100644 --- a/conf/output/test-output-rppd-lobid-4.json +++ b/conf/output/test-output-rppd-lobid-4.json @@ -6,11 +6,6 @@ "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Grün, Willi H.", "variantName" : [ "Grün, Willi-Heinz / 1932-2016", "Grün, Willi Heinz / 1932-2016", "Grün, Willi H. / 1932-2016" ], - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/120526433", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/120526433", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/120526433" - } ], "professionOrOccupation" : [ { "label" : "Finanzwirt", "id" : "https://rpb.lobid.org/sw/1148297561" diff --git a/conf/output/test-output-rppd-lobid-40.json b/conf/output/test-output-rppd-lobid-40.json index aeb5fbc3..91a970df 100644 --- a/conf/output/test-output-rppd-lobid-40.json +++ b/conf/output/test-output-rppd-lobid-40.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1120816653", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Herr-Beck, Maria", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1120816653", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1120816653", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1120816653" - } ], "professionOrOccupation" : [ { "label" : "Weibliche Abgeordnete", "id" : "https://d-nb.info/gnd/4132700-7" diff --git a/conf/output/test-output-rppd-lobid-41.json b/conf/output/test-output-rppd-lobid-41.json index 721f93ec..d6739677 100644 --- a/conf/output/test-output-rppd-lobid-41.json +++ b/conf/output/test-output-rppd-lobid-41.json @@ -5,11 +5,6 @@ "gndIdentifier" : "Keine GND-Ansetzung für pk02366", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Fuchs, Gerhard", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk02366", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk02366", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk02366" - } ], "professionOrOccupation" : [ { "label" : "Beigeordneter", "id" : "https://d-nb.info/gnd/4144367-6" diff --git a/conf/output/test-output-rppd-lobid-42.json b/conf/output/test-output-rppd-lobid-42.json index 18e2c471..8e220a50 100644 --- a/conf/output/test-output-rppd-lobid-42.json +++ b/conf/output/test-output-rppd-lobid-42.json @@ -5,11 +5,6 @@ "gndIdentifier" : "Keine GND-Ansetzung für pk03654", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Ratka, Alexander Simon", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk03654", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk03654", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk03654" - } ], "professionOrOccupation" : [ { "label" : "Bildhauer", "id" : "https://d-nb.info/gnd/4139550-5" diff --git a/conf/output/test-output-rppd-lobid-43.json b/conf/output/test-output-rppd-lobid-43.json index 989fcfeb..6268910a 100644 --- a/conf/output/test-output-rppd-lobid-43.json +++ b/conf/output/test-output-rppd-lobid-43.json @@ -5,11 +5,6 @@ "gndIdentifier" : "235711-2", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Imo", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/235711-2", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/235711-2", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/235711-2" - } ], "placeOfActivity" : [ { "label" : "Schifferstadt, Stadt", "id" : "https://rpb.lobid.org/spatial#n33800025" diff --git a/conf/output/test-output-rppd-lobid-44.json b/conf/output/test-output-rppd-lobid-44.json index e44e36db..90417b5b 100644 --- a/conf/output/test-output-rppd-lobid-44.json +++ b/conf/output/test-output-rppd-lobid-44.json @@ -5,11 +5,6 @@ "gndIdentifier" : "Keine GND-Ansetzung für pk06675", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Alexander, Philipp", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk06675", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk06675", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/Keine GND-Ansetzung für pk06675" - } ], "professionOrOccupation" : [ { "label" : "Unternehmer", "id" : "https://d-nb.info/gnd/4061949-7" diff --git a/conf/output/test-output-rppd-lobid-45.json b/conf/output/test-output-rppd-lobid-45.json index c8933cce..7519c4fb 100644 --- a/conf/output/test-output-rppd-lobid-45.json +++ b/conf/output/test-output-rppd-lobid-45.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051215234", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Weyrich, Karl", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215234", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215234", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051215234" - } ], "professionOrOccupation" : [ { "label" : "Techniker", "id" : "https://d-nb.info/gnd/4138289-4" diff --git a/conf/output/test-output-rppd-lobid-5.json b/conf/output/test-output-rppd-lobid-5.json index 1e735f1e..bba1263d 100644 --- a/conf/output/test-output-rppd-lobid-5.json +++ b/conf/output/test-output-rppd-lobid-5.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051147360", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Marquard, Udo", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147360", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147360", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147360" - } ], "professionOrOccupation" : [ { "label" : "Philosoph", "id" : "https://d-nb.info/gnd/4045790-4" diff --git a/conf/output/test-output-rppd-lobid-6.json b/conf/output/test-output-rppd-lobid-6.json index 49d052d4..f01d9f5a 100644 --- a/conf/output/test-output-rppd-lobid-6.json +++ b/conf/output/test-output-rppd-lobid-6.json @@ -7,9 +7,9 @@ "preferredName" : "Gabele, Anton", "variantName" : [ "Gabele, Anton" ], "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/116324899", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/116324899", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/116324899" + "id" : "https://commons.wikimedia.org/wiki/Special:FilePath/Anton%20Gabele.jpg", + "url" : "https://commons.wikimedia.org/wiki/File:Anton%20Gabele.jpg?uselang=de", + "thumbnail" : "https://commons.wikimedia.org/wiki/Special:FilePath/Anton%20Gabele.jpg?width=270" } ], "professionOrOccupation" : [ { "label" : "Lehrer", diff --git a/conf/output/test-output-rppd-lobid-7.json b/conf/output/test-output-rppd-lobid-7.json index 9a831feb..64cfda91 100644 --- a/conf/output/test-output-rppd-lobid-7.json +++ b/conf/output/test-output-rppd-lobid-7.json @@ -5,11 +5,6 @@ "gndIdentifier" : "1051147379", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Henninger, Wilhelm Albert", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147379", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147379", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/1051147379" - } ], "professionOrOccupation" : [ { "label" : "Heimatschriftsteller", "id" : "https://d-nb.info/gnd/4772761-5" diff --git a/conf/output/test-output-rppd-lobid-8.json b/conf/output/test-output-rppd-lobid-8.json index b1d25344..72e57e89 100644 --- a/conf/output/test-output-rppd-lobid-8.json +++ b/conf/output/test-output-rppd-lobid-8.json @@ -5,11 +5,6 @@ "gndIdentifier" : "115839909", "type" : [ "AuthorityResource", "Person", "DifferentiatedPerson" ], "preferredName" : "Anhäuser, Uwe", - "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/115839909", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/115839909", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/115839909" - } ], "professionOrOccupation" : [ { "label" : "Schriftsteller", "id" : "https://d-nb.info/gnd/4053309-8" diff --git a/conf/output/test-output-rppd-lobid-9.json b/conf/output/test-output-rppd-lobid-9.json index 0e952e39..0c0aa802 100644 --- a/conf/output/test-output-rppd-lobid-9.json +++ b/conf/output/test-output-rppd-lobid-9.json @@ -7,9 +7,9 @@ "preferredName" : "Reinirkens, Leonhard", "variantName" : [ "Reinirkens, Leonhard" ], "depiction" : [ { - "id" : "https://pictureservice.explore.gnd.network/api/v1/picture/122507487", - "url" : "https://pictureservice.explore.gnd.network/api/v1/picture/122507487", - "thumbnail" : "https://pictureservice.explore.gnd.network/api/v1/picture/122507487" + "id" : "https://commons.wikimedia.org/wiki/Special:FilePath/LeonhardReinirkens.jpg", + "url" : "https://commons.wikimedia.org/wiki/File:LeonhardReinirkens.jpg?uselang=de", + "thumbnail" : "https://commons.wikimedia.org/wiki/Special:FilePath/LeonhardReinirkens.jpg?width=270" } ], "professionOrOccupation" : [ { "label" : "Schriftsteller", diff --git a/conf/rppd-to-lobid.fix b/conf/rppd-to-lobid.fix index 9b568f34..59529df2 100644 --- a/conf/rppd-to-lobid.fix +++ b/conf/rppd-to-lobid.fix @@ -6,6 +6,11 @@ do once("map") # maps für lookup relatedPerson put_filemap("conf/maps/gndId-to-rppdId.tsv", "map_rel_gndId",key_column:"0",value_column:"1", sep_char: "\t", expected_columns:"-1") put_filemap("conf/maps/gndId-to-rppdId.tsv", "map_rel_preferredName",key_column:"0",value_column:"2", sep_char: "\t", expected_columns:"-1") + + # maps für depiction + put_filemap("conf/maps/gndId-to-depiction.tsv", "gnd_to_thumbnail", key_column:"0", value_column:"1", sep_char: "\t", expected_columns:"4") + put_filemap("conf/maps/gndId-to-depiction.tsv", "gnd_to_id", key_column:"0", value_column:"2", sep_char: "\t", expected_columns:"4") + put_filemap("conf/maps/gndId-to-depiction.tsv", "gnd_to_url", key_column:"0", value_column:"3", sep_char: "\t", expected_columns:"4") end # @context @@ -56,13 +61,14 @@ uniq("variantName[]") # Komentar Doku: vollständiger Dateiname ohne Pfadangaben, aber inkl. Endung; hinter dem Zeichen "@" kann man eine Quellenangabe einfügen; die zugehörige Datei wird an Herrn Dirx geschickt.; Beispiel: #1ne120251973_1.jpg@Mittelrhein-Museum Koblenz # Da wir keine Bilder bisher haben, nutze ich hier die Bilder vom GND Explorer. -copy_field("gndIdentifier","@depiction") -prepend("@depiction","https://pictureservice.explore.gnd.network/api/v1/picture/") - set_array("depiction[]") -copy_field("@depiction","depiction[].$append.id") -copy_field("@depiction","depiction[].$last.url") -copy_field("@depiction","depiction[].$last.thumbnail") +copy_field("gndIdentifier","depiction[].$append.id") +copy_field("gndIdentifier","depiction[].1.url") +copy_field("gndIdentifier","depiction[].1.thumbnail") + +lookup("depiction[].1.id", "gnd_to_id", delete: "true") +lookup("depiction[].1.url", "gnd_to_url", delete: "true") +lookup("depiction[].1.thumbnail", "gnd_to_thumbnail", delete: "true") # ------- # #1nn (Berufe/Stellungen (m, R)) -> professionOrOccupation