From 40b33338996bf5de636d24e91b6fd7ea3abfab9e Mon Sep 17 00:00:00 2001 From: Jorge Ortiz Date: Fri, 26 Jul 2024 20:01:05 +0200 Subject: [PATCH] MET-6037 update rdf file used for unit tests --- .../indexing/IndexerPreprocessorTest.java | 2 +- .../europeana_record_tier_calculation_rdf.xml | 157 ++++++++++++ .../europeana_record_to_sample_index_rdf.xml | 232 ++++++++++++------ 3 files changed, 312 insertions(+), 79 deletions(-) create mode 100644 metis-indexing/src/test/resources/europeana_record_tier_calculation_rdf.xml diff --git a/metis-indexing/src/test/java/eu/europeana/indexing/IndexerPreprocessorTest.java b/metis-indexing/src/test/java/eu/europeana/indexing/IndexerPreprocessorTest.java index d65388115..70b36ad3a 100644 --- a/metis-indexing/src/test/java/eu/europeana/indexing/IndexerPreprocessorTest.java +++ b/metis-indexing/src/test/java/eu/europeana/indexing/IndexerPreprocessorTest.java @@ -35,7 +35,7 @@ void preprocessRecord() throws SerializationException, IndexingException { // given final RdfConversionUtils conversionUtils = new RdfConversionUtils(); final RDF inputRdf = conversionUtils.convertStringToRdf( - IndexingTestUtils.getResourceFileContent("europeana_record_to_sample_index_rdf.xml")); + IndexingTestUtils.getResourceFileContent("europeana_record_tier_calculation_rdf.xml")); final IndexingProperties indexingProperties = new IndexingProperties(Date.from(Instant.now()), true, List.of(), true, true); diff --git a/metis-indexing/src/test/resources/europeana_record_tier_calculation_rdf.xml b/metis-indexing/src/test/resources/europeana_record_tier_calculation_rdf.xml new file mode 100644 index 000000000..948f71738 --- /dev/null +++ b/metis-indexing/src/test/resources/europeana_record_tier_calculation_rdf.xml @@ -0,0 +1,157 @@ + + + + + + image/jpeg + 112031 + 562 + 761 + sRGB + #C0C0C0 + #A9A9A9 + #BDB76B + #BC8F8F + #D2B48C + #808080 + portrait + + + text/html + 1477 + + + 1923 + + 1923-01-01 + 1923-12-31 + 1923 + + + 20. Jahrhundert + 1900-luku + XX век + Século XX + 20 век + XX amžius + 20. stoljeće + 20. gadsimts + XXe siècle + 20. század + 20. storočie + 20. stoletje + 20ú haois + Segle XX + 1900-talet + 20ός αιώνας + 20th century + XX secolo + Siglo XX + 20. sajand + 20. století + XX. mendea + XX wiek + 20. århundrede + Secolul al XX-lea + 20e eeuw + 20:e århundradet + 20:e seklet + 1900-tal + 1900-talet (århundrade) + 1900-talet (sekel) + 20 век + Século 20 + Século vinte + Periodo 1901-2000 + Ciclo (1901-2000) + 20th-century + 20th-century + Twentieth century + The past century + History, 20th Century + XX Century + Novecento + 20° secolo + '900 + Novecento + 20e siècle + Siglo 20 + El siglo pasado + Siglo veinte + Siglo XX después de Cristo + Siglo XX d. C. + 1901-01-01 + 2000-12-31 + + + + + + + + + + + + + + + + + + + + + + Beaupre, Antoni.(Red.) + 1923 + Wojewódzka Biblioteka Publiczna w Krakowie + image/vnd.djvu + pol + Spółka Wydawnicza "Czas" + Biblioteka Książąt Czartoryskich + 20 w. + gazety polskie + Czas. 1923, nr 251 (10 XI) + czasopismo + Dziennik polityczny i literacko-społeczny; organ konserwatystów. - Opis fiz.: 4 s. ; 61 cm. + false + + + TEXT + + + + #nnhSX08 + pol + true + 1923 + + + + + + + Europeana Foundation + Europeana Foundation + 305_local_26072024_1620 + Netherlands + + nl + 6 + + + Digital Libraries Federation + Federacja Bibliotek Cyfrowych + + + Malopolska Digital Library + Małopolska Biblioteka Cyfrowa + + diff --git a/metis-indexing/src/test/resources/europeana_record_to_sample_index_rdf.xml b/metis-indexing/src/test/resources/europeana_record_to_sample_index_rdf.xml index 948f71738..945c43188 100644 --- a/metis-indexing/src/test/resources/europeana_record_to_sample_index_rdf.xml +++ b/metis-indexing/src/test/resources/europeana_record_to_sample_index_rdf.xml @@ -1,37 +1,97 @@ - - - - - image/jpeg - 112031 - 562 - 761 - sRGB - #C0C0C0 - #A9A9A9 - #BDB76B - #BC8F8F - #D2B48C - #808080 - portrait + + + + c1739a4bddc51ed13cbb57f9d911dae9 - 62-7 + + application/pdf + 13924049 + 300 - + text/html - 1477 + 0 - - 1923 + + Titus Brandsma + Тит Брандсма + Titus Brandsma + Titus Brandsma + Titus Brandsma + Titus Brandsma + Tito Brandsma + Titus Brandsma + Titus Brandsma + Titus Brandsma + Tytus Brandsma + Titus Brandsma + Titus Brandsma + Titus Brandsma + Anno Sjoerd Brandsma + F. Titus Brandsma O.Carm. + Брандсма, Титус + Титус Брандсма + Брандсма, Тит + Tito Brandsma + Beato tito brandsma + Anno Sjoerd Titus Brandsma + Titus Brandsma, O.Carm. + Anno Sjoerd Brandsma + F. Titus Brandsma O.Carm. + Titus Brandsma + Anno Sjoerd Brandsma + Bł. Tytus + Błogosławiony Tytus + Anno Sjoerd Brandsma + F. Titus Brandsma O.Carm. + Anno Sjoerd Brandsma + T. Brandsma + Tito Brandsma + Titus Brandsma, O.Carm. + F. Titus Brandsma O.Carm. + P. Titus Brandsma O.Carm. + Fra Titus Brandsma O.Carm. + Anno Sjoerd Brandsma + Niederländischer Theologe im Widerstand gegen den Nationalsozialismus + Nederländsk karmelitermunk, präst, och professor i filosofi + Dutch Carmelite friar, Catholic priest, professor of philosophy and saint + Sacerdote olandese + Prêtre carme néerlandais, canonisé le 15 mai 2022 + Călugăr carmelit, profesor de filozofie, victimă a regimului nazist + Nederlands priester, martelaar en heilige + Frare carmelita holandès, sacerdot catòlic, professor de filosofia i esperantista + 1881-02-23 + 1942-07-26 + + + + + + + + + + + + + + + + + + 1942/1942 - 1923-01-01 - 1923-12-31 - 1923 + 1942-01-01 + 1942-12-31 + 1942/1942 + + + 1942~ + approximate + + 1942-01-01 + 1942-12-31 + 1942~ 20. Jahrhundert @@ -81,11 +141,6 @@ '900 Novecento 20e siècle - Siglo 20 - El siglo pasado - Siglo veinte - Siglo XX después de Cristo - Siglo XX d. C. 1901-01-01 2000-12-31 @@ -97,61 +152,82 @@ - - - - - - - - + + Brandsma, Anno Sjoerd, 1881-1942 + Brandsma, Titus, father, 1881-1942 + Brandsma, Titus, Saint, 1881-1942 + + + + + + + Brandsma, Titus, 1881-1942 + + + archival material + + The physical materials that make up the mass of an archive. Distinguished from AAT "archives (groupings)." + De fysieke materialen die samen een archief vormen. In de AAT te onderscheiden van 'archieven (groepen)'. + archival materials + archiefmateriaal + + + + + + + + + - - Beaupre, Antoni.(Red.) - 1923 - Wojewódzka Biblioteka Publiczna w Krakowie - image/vnd.djvu - pol - Spółka Wydawnicza "Czas" - Biblioteka Książąt Czartoryskich - 20 w. - gazety polskie - Czas. 1923, nr 251 (10 XI) - czasopismo - Dziennik polityczny i literacko-społeczny; organ konserwatystów. - Opis fiz.: 4 s. ; 61 cm. + + + + #providedCHO_NL-BwdADRKF-2_62-7 + nld + + true + + + + + + Brandsma, Titus, O.Carm., 1881-1942 + + [ca. 1942] + 62-7 + dut + Teksten (fotokopieën, vijf bladzijden), door + Titus geschreven voor zijn boek over de H. Theresia. (originelen aanwezig in + het N.C.I. te Boxmeer). + + 1942/1942 + 1 omslag + + false - - + + TEXT - - - #nnhSX08 - pol - true - 1923 - - - - - - + + Europeana Foundation Europeana Foundation - 305_local_26072024_1620 + 50_test_13032023_1018 Netherlands - + nl - 6 + 8 - - Digital Libraries Federation - Federacja Bibliotek Cyfrowych + + Archive and Documentation Center for RK Friesland + Archief- en Documentatiecentrum voor R.K. Friesland - - Malopolska Digital Library - Małopolska Biblioteka Cyfrowa + + Archives Portal Europe