Skip to content

Commit

Permalink
Add workflow to fetch data for comparison from rpb
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Dec 3, 2024
1 parent c3d159e commit 6127f70
Show file tree
Hide file tree
Showing 17 changed files with 1,247 additions and 0 deletions.
14 changes: 14 additions & 0 deletions conf/fetchRpbForCompareTransformedHebisRecord.flux
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
default IDS = FLUX_DIR + "rpbEntriesOfHebisRecords.txt";

IDS
| open-file
| as-lines
| match(pattern="^(.*)$", replacement="https://rpb.lbz-rlp.de/$1?format=json")
| open-http(accept="application/xml")
| as-records
| decode-json(recordPath="member")
| batch-reset(batchsize="1")
| encode-json(prettyPrinting="true")
| write(FLUX_DIR + "lobid-transformation/comparisonRpbRecords/rpb-hebis-records-${i}.json")
;

Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"extent" : "62 Seiten : Illustrationen",
"contribution" : [ {
"agent" : {
"id" : "http://rpb.lobid.org/sw/00Gn24m0017186a",
"label" : "Caltapanides, Anke",
"type" : [ "Person" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/edt",
"label" : "Herausgeber/in"
},
"type" : [ "Contribution" ]
}, {
"agent" : {
"id" : "https://d-nb.info/gnd/123750354X",
"label" : "Ingelheim am Rhein / Stadtverwaltung",
"type" : [ "CorporateBody" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/isb",
"label" : "Herausgebendes Organ"
},
"type" : [ "Contribution" ]
} ],
"rpbId" : "036t240017",
"subject" : [ {
"id" : "http://purl.org/lobid/rpb#n520100",
"label" : "Sozialwesen allgemein",
"source" : {
"id" : "http://purl.org/lobid/rpb",
"label" : "Systematik der Rheinland-Pfälzischen Bibliographie"
},
"type" : [ "Concept" ]
}, {
"id" : "http://purl.org/lobid/rpb#n843020",
"label" : "Öffentliches Gebäude",
"source" : {
"id" : "http://purl.org/lobid/rpb",
"label" : "Systematik der Rheinland-Pfälzischen Bibliographie"
},
"type" : [ "Concept" ]
}, {
"componentList" : [ {
"id" : "https://d-nb.info/gnd/4026954-1",
"label" : "Ingelheim am Rhein",
"source" : {
"id" : "https://d-nb.info/gnd/7749153-1",
"label" : "Gemeinsame Normdatei (GND)"
}
}, {
"id" : "https://d-nb.info/gnd/7607842-5",
"label" : "Mehrgenerationenhaus",
"source" : {
"id" : "https://d-nb.info/gnd/7749153-1",
"label" : "Gemeinsame Normdatei (GND)"
}
}, {
"id" : "http://rpb.lobid.org/sw/00Gn18k3167156a",
"label" : "Geschichte 2009-2019",
"source" : {
"id" : "http://rpb.lobid.org/sw",
"label" : "RPB-Sachsystematik"
}
} ],
"label" : "Ingelheim am Rhein | Mehrgenerationenhaus | Geschichte 2009-2019",
"type" : [ "ComplexSubject" ]
} ],
"publication" : [ {
"publishedBy" : [ "Stadtverwaltung Ingelheim am Rhein" ],
"location" : [ "Ingelheim am Rhein" ],
"type" : [ "PublicationEvent" ]
} ],
"responsibilityStatement" : [ "Redaktionsteam: Anke Caltapanides [und 3 weitere] ; Herausgeber: Stadtverwaltung Ingelheim am Rhein" ],
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT013494180#!",
"label" : "Rheinland-Pfälzische Bibliographie",
"type" : [ "Collection" ]
} ],
"id" : "https://lobid.org/resources/036t240017",
"type" : [ "BibliographicResource", "Book" ],
"title" : "Wie wir wurden was wir sind - 10-jähriges Jubiläum des Mehrgenerationenhauses Ingelheim",
"spatial" : [ {
"id" : "https://rpb.lobid.org/spatial#n33900030",
"label" : "Ingelheim am Rhein, große kreisangeh. Stadt",
"source" : {
"id" : "https://rpb.lobid.org/spatial",
"label" : "RPB-Raumsystematik"
},
"type" : [ "Concept" ]
} ],
"@context" : "http://lobid.org/resources/context.jsonld"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"extent" : "1 gefaltetes Blatt (16 Seiten) : Illustrationen",
"note" : [ "Parallele Sprachausgabe: The ancient cathedral St. John" ],
"rpbId" : "036t240110",
"subject" : [ {
"id" : "http://purl.org/lobid/rpb#n844030",
"label" : "Sakralbau",
"source" : {
"id" : "http://purl.org/lobid/rpb",
"label" : "Systematik der Rheinland-Pfälzischen Bibliographie"
},
"type" : [ "Concept" ]
}, {
"componentList" : [ {
"id" : "https://d-nb.info/gnd/4369072-5",
"label" : "Sankt Johannis / Mainz",
"source" : {
"id" : "https://d-nb.info/gnd/7749153-1",
"label" : "Gemeinsame Normdatei (GND)"
}
} ],
"label" : "Sankt Johannis / Mainz",
"type" : [ "ComplexSubject" ]
} ],
"responsibilityStatement" : [ "Evangelisches Dekanat Mainz" ],
"alternativeTitle" : [ "The ancient cathedral St. John" ],
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT013494180#!",
"label" : "Rheinland-Pfälzische Bibliographie",
"type" : [ "Collection" ]
} ],
"type" : [ "BibliographicResource", "Book" ],
"title" : "Alter Dom St. Johannis : 1500 Jahre Geschichte im Herzen von Mainz",
"@context" : "http://lobid.org/resources/context.jsonld",
"contribution" : [ {
"agent" : {
"id" : "https://d-nb.info/gnd/2009806-6",
"label" : "Evangelische Kirche in Hessen und Nassau",
"type" : [ "CorporateBody" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/isb",
"label" : "Herausgebendes Organ"
},
"type" : [ "Contribution" ]
} ],
"publication" : [ {
"publishedBy" : [ "Evangelisches Dekanat Mainz" ],
"location" : [ "Mainz" ],
"type" : [ "PublicationEvent" ]
} ],
"id" : "https://lobid.org/resources/036t240110",
"spatial" : [ {
"id" : "https://rpb.lobid.org/spatial#n31500000",
"label" : "Mainz, Kreisfreie Stadt",
"source" : {
"id" : "https://rpb.lobid.org/spatial",
"label" : "RPB-Raumsystematik"
},
"type" : [ "Concept" ]
} ]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"extent" : "127 S. : zahlr. Ill., Kt.",
"rpbId" : "036t000008",
"subject" : [ {
"id" : "http://purl.org/lobid/rpb#n102050",
"label" : "Ortsbeschreibung",
"source" : {
"id" : "http://purl.org/lobid/rpb",
"label" : "Systematik der Rheinland-Pfälzischen Bibliographie"
},
"type" : [ "Concept" ]
}, {
"componentList" : [ {
"id" : "http://rpb.lobid.org/sw/z64",
"label" : "Geschichte 1945-",
"source" : {
"id" : "http://rpb.lobid.org/sw",
"label" : "RPB-Sachsystematik"
}
}, {
"id" : "https://d-nb.info/gnd/4155569-7",
"label" : "Führer",
"source" : {
"id" : "https://d-nb.info/gnd/7749153-1",
"label" : "Gemeinsame Normdatei (GND)"
}
} ],
"label" : "Geschichte 1945- | Führer",
"type" : [ "ComplexSubject" ]
} ],
"isbn" : [ "3-87439-488-3" ],
"responsibilityStatement" : [ "[Konzept und Texte: Frank Herda ; Georg Schuler ; Ellen Vest]" ],
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT013494180#!",
"label" : "Rheinland-Pfälzische Bibliographie",
"type" : [ "Collection" ]
} ],
"type" : [ "BibliographicResource", "Book" ],
"title" : "Mainz transparent : 2000 Jahre einer Stadt ; [Stadtbegleiter]",
"@context" : "http://lobid.org/resources/context.jsonld",
"contribution" : [ {
"agent" : {
"id" : "http://rpb.lobid.org/sw/00Pn00m0019c",
"label" : "Herda, Frank",
"type" : [ "Person" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/aut",
"label" : "Verfasser/in"
},
"type" : [ "Contribution" ]
}, {
"agent" : {
"id" : "http://rpb.lobid.org/sw/00Pn00m0019a",
"label" : "Schuler, Georg",
"type" : [ "Person" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/aut",
"label" : "Verfasser/in"
},
"type" : [ "Contribution" ]
}, {
"agent" : {
"id" : "http://rpb.lobid.org/sw/00Pn00m0019b",
"label" : "Vest, Ellen",
"type" : [ "Person" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/aut",
"label" : "Verfasser/in"
},
"type" : [ "Contribution" ]
} ],
"publication" : [ {
"publishedBy" : [ "Schmidt" ],
"location" : [ "Mainz" ],
"type" : [ "PublicationEvent" ],
"startDate" : "2000"
} ],
"id" : "https://lobid.org/resources/036t000008",
"spatial" : [ {
"id" : "https://rpb.lobid.org/spatial#n31500000",
"label" : "Mainz, Kreisfreie Stadt",
"source" : {
"id" : "https://rpb.lobid.org/spatial",
"label" : "RPB-Raumsystematik"
},
"type" : [ "Concept" ]
} ]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"extent" : "127 S. : zahlr. Ill., graph. Darst., Kt.",
"rpbId" : "036t000019",
"subject" : [ {
"id" : "http://purl.org/lobid/rpb#n102050",
"label" : "Ortsbeschreibung",
"source" : {
"id" : "http://purl.org/lobid/rpb",
"label" : "Systematik der Rheinland-Pfälzischen Bibliographie"
},
"type" : [ "Concept" ]
}, {
"componentList" : [ {
"id" : "http://rpb.lobid.org/sw/z64",
"label" : "Geschichte 1945-",
"source" : {
"id" : "http://rpb.lobid.org/sw",
"label" : "RPB-Sachsystematik"
}
}, {
"id" : "https://d-nb.info/gnd/4155569-7",
"label" : "Führer",
"source" : {
"id" : "https://d-nb.info/gnd/7749153-1",
"label" : "Gemeinsame Normdatei (GND)"
}
} ],
"label" : "Geschichte 1945- | Führer",
"type" : [ "ComplexSubject" ]
} ],
"isbn" : [ "3-87439-534-0" ],
"responsibilityStatement" : [ "by Georg Schuler, Ellen Vest and Frank Herda" ],
"inCollection" : [ {
"id" : "http://lobid.org/resources/HT013494180#!",
"label" : "Rheinland-Pfälzische Bibliographie",
"type" : [ "Collection" ]
} ],
"type" : [ "BibliographicResource", "Book" ],
"title" : "Mainz transparent : 2000 years of a city ; [city guide]",
"@context" : "http://lobid.org/resources/context.jsonld",
"contribution" : [ {
"agent" : {
"id" : "http://rpb.lobid.org/sw/00Pn00m0019a",
"label" : "Schuler, Georg",
"type" : [ "Person" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/aut",
"label" : "Verfasser/in"
},
"type" : [ "Contribution" ]
}, {
"agent" : {
"id" : "http://rpb.lobid.org/sw/00Pn00m0019b",
"label" : "Vest, Ellen",
"type" : [ "Person" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/aut",
"label" : "Verfasser/in"
},
"type" : [ "Contribution" ]
}, {
"agent" : {
"id" : "http://rpb.lobid.org/sw/00Pn00m0019c",
"label" : "Herda, Frank",
"type" : [ "Person" ]
},
"role" : {
"id" : "http://id.loc.gov/vocabulary/relators/aut",
"label" : "Verfasser/in"
},
"type" : [ "Contribution" ]
} ],
"publication" : [ {
"publishedBy" : [ "Schmidt" ],
"location" : [ "Mainz" ],
"type" : [ "PublicationEvent" ],
"startDate" : "2000"
} ],
"id" : "https://lobid.org/resources/036t000019",
"spatial" : [ {
"id" : "https://rpb.lobid.org/spatial#n31500000",
"label" : "Mainz, Kreisfreie Stadt",
"source" : {
"id" : "https://rpb.lobid.org/spatial",
"label" : "RPB-Raumsystematik"
},
"type" : [ "Concept" ]
} ]
}
Loading

0 comments on commit 6127f70

Please sign in to comment.