Skip to content

Commit

Permalink
Add langNote mapping #1671
Browse files Browse the repository at this point in the history
  • Loading branch information
TobiasNx committed Jun 20, 2023
1 parent 0935ec4 commit ea973f7
Show file tree
Hide file tree
Showing 17 changed files with 40 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/main/resources/alma/alma.fix
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ retain(
"ismn[]",
"isPartOf[]",
"language[]",
"langNote[]",
"license[]",
"medium[]",
"natureOfContent[]",
Expand Down
6 changes: 6 additions & 0 deletions src/main/resources/alma/fix/otherFields.fix
Original file line number Diff line number Diff line change
Expand Up @@ -159,3 +159,9 @@ do list(path: "542??", "var": "$i")
copy_field("$i.u", "license[].$last.label")
replace_all("license[].$last.label", "^(http://|https://)(.*)$","$2")
end

set_array("langNote[]")
do list(path: "546??", "var": "$i")
copy_field("$i.a", "langNote[].$append")
copy_field("$i.b", "langNote[].$last")
end
6 changes: 6 additions & 0 deletions src/main/resources/labels/context-labels.json
Original file line number Diff line number Diff line change
Expand Up @@ -747,5 +747,11 @@
"multilangLabel": {},
"name": "bibliographicLevel",
"uri": "http://purl.org/lobid/lv#bibliographicLevel"
},
{
"label": "Hinweis zur Sprache",
"multilangLabel": {},
"name": "langNote",
"uri": "http://purl.org/lobid/lv#langNote"
}
]
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990001412590206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
"label" : "Deutsch"
} ],
"extent" : "XXIV, 541, 28 S.",
"langNote" : [ "In Fraktur" ],
"natureOfContent" : [ {
"label" : "Wörterbuch",
"id" : "https://d-nb.info/gnd/4066724-8"
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990033263300206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"label" : "Deutsch"
} ],
"extent" : "762 beschr. S., [87] leere, [6] beschr. Bl., gebunden ; 43 cm",
"langNote" : [ "Handgeschrieben, chines. Schr. und dt. Schreibschr., z.T. ausgeblichen" ],
"hasItem" : [ {
"label" : "lobid Bestandsressource",
"type" : [ "Item", "PhysicalObject" ],
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990054215550206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@
"id" : "http://id.loc.gov/vocabulary/iso639-2/rus",
"label" : "Russisch"
} ],
"langNote" : [ "Text engl., franz. u. russ." ],
"natureOfContent" : [ {
"label" : "Zeitschrift",
"id" : "https://d-nb.info/gnd/4067488-5"
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990183092590206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@
} ],
"note" : [ "Für eine Singstimme und Klavier" ],
"bibliographicCitation" : "Mélodies / Claude Debussy; [S.l.], 1980",
"langNote" : [ "Gesangstext in franz. Sprache" ],
"medium" : [ {
"label" : "Audio-Dokument",
"id" : "http://purl.org/ontology/bibo/AudioDocument"
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990213906490206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"label" : "Deutsch"
} ],
"extent" : "Bände ; 30 cm",
"langNote" : [ "Kurzschrift, Brailleschrift" ],
"natureOfContent" : [ {
"label" : "Zeitschrift",
"id" : "https://d-nb.info/gnd/4067488-5"
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990226465800206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@
} ],
"extent" : "1 Online-Ressource (41 Seiten)",
"note" : [ "\"EVUPLAN des Bundesministerium für Wirtschaft und Energie; Forschungskennzahl 37EV 16 124 0\"", "Aus dem Impressum: \"Abschlussdatum: Juli 2018\"" ],
"langNote" : [ "Enthält Abstract in englischer Sprache" ],
"subject" : [ {
"type" : [ "Concept" ],
"source" : {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990366394400206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@
} ],
"extent" : "116 Bl. ; 22 x 33 cm",
"note" : [ "Einband: Pergamenteinband unter Verwendung einer niederdt. Handschrift aus dem 16. Jahrhundert", "Sammlung von medizinischen Rezepten von mehreren Schreiberhänden mit späteren Nachträgen" ],
"langNote" : [ "Handschriftlich" ],
"hasItem" : [ {
"label" : "lobid Bestandsressource",
"type" : [ "Item", "PhysicalObject" ],
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/990368743120206441.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
} ],
"extent" : "5 Tafeln ; 47 x 37,5 cm",
"note" : [ "Einband: Kartonage mit Buntpapier überzogen", "Enth.: Taf. 1, Elevation de la Principale Entrèe du Batiment. Taf. 2, Section du Batiment par sa Largeur. Taf. 2, Section du Batiment par toute sa Longeur. Taf. 4, Plan du Manege. Taf. 5, Exposition des Profils du Chapiteau Dorique" ],
"langNote" : [ "Handschriftlich" ],
"hasItem" : [ {
"label" : "lobid Bestandsressource",
"type" : [ "Item", "PhysicalObject" ],
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/99370746459806441.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@
"extent" : "1 online resource (159 p.)",
"note" : [ "Description based upon print version of record." ],
"abstract" : [ "Provability, Computability and Reflection" ],
"langNote" : [ "English" ],
"subject" : [ {
"type" : [ "Concept" ],
"source" : {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/99370763882706441.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
} ],
"extent" : "1 online resource (272 p.)",
"note" : [ "Bibliographic Level Mode of Issuance: Monograph" ],
"langNote" : [ "English" ],
"subject" : [ {
"type" : [ "Concept" ],
"source" : {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/99371123630706441.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
} ],
"extent" : "1 online resource (194 pages) : digital file(s).",
"abstract" : [ "2012 wurde das Netzwerk-Projekt Landeskunde Nord ins Leben gerufen, dessen Ziel es ist, Forschung und Lehre zur Landeskunde des Deutschen als Fremdsprache, insbesondere in den nordischen Ländern, voranzutreiben. Das vorliegende Buch, Perspektive Nord, knüpft an den 2013 erschienenen Band Landeskunde Nord an und bietet Reflexionen wissenschaftstheoretischer, fachdidaktischer und inhaltlicher Aspekte, die für die Gestaltung der Landeskundelehre bzw. des Landeskundeunterrichts relevant sind. In ihrer Vielfalt sind die hier vorgelegten Konzepte und Ideen vor allem modernen kulturwissenschaftlichen Ansätzen verpflichtet, knüpfen an international geführte Diskussionen an und haben auch deshalb über die nordischen Länder hinaus Bedeutung. Dabei setzen die Autorinnen und Autoren auf autonomes und lebenslanges Lernen." ],
"langNote" : [ "German" ],
"subject" : [ {
"type" : [ "Concept" ],
"source" : {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/99371791018506441.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"type" : [ "Collection" ]
} ],
"extent" : "1 electronic resource (484 pages)",
"langNote" : [ "English" ],
"subject" : [ {
"type" : [ "Concept" ],
"source" : {
Expand Down
1 change: 1 addition & 0 deletions src/test/resources/alma-fix/99372423490706441.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@
"label" : "Deutsch"
} ],
"extent" : "256 S. : Ill.",
"langNote" : [ "Aus dem Amerikan. übers." ],
"natureOfContent" : [ {
"label" : "Biografie",
"id" : "https://d-nb.info/gnd/4006804-3"
Expand Down
18 changes: 14 additions & 4 deletions web/conf/context.jsonld
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,10 @@
"@id" : "http://rdaregistry.info/Elements/u/P60493",
"@container" : "@set"
},
"secondaryForm" : {
"@id" : "http://purl.org/dc/terms/hasFormat",
"@container" : "@set"
},
"urn" : {
"@id" : "http://purl.org/lobid/lv#urn",
"@container" : "@set"
Expand Down Expand Up @@ -319,9 +323,6 @@
"Legislation" : {
"@id" : "http://purl.org/lobid/lv#Legislation"
},
"MusicalRecording" : {
"@id" : "https://schema.org/MusicRecording"
},
"IsPartOfRelation" : {
"@id" : "http://purl.org/lobid/lv#IsPartOfRelation"
},
Expand Down Expand Up @@ -351,6 +352,9 @@
"BibliographicResource" : {
"@id" : "http://purl.org/dc/terms/BibliographicResource"
},
"bibliographicLevel" : {
"@id" : "http://purl.org/lobid/lv#bibliographicLevel"
},
"musicalKey" : {
"@id" : "http://rdaregistry.info/Elements/w/P10221"
},
Expand Down Expand Up @@ -453,6 +457,9 @@
"Report" : {
"@id" : "http://purl.org/ontology/bibo/Report"
},
"dnbId" : {
"@id" : "http://purl.org/lobid/lv#dnbID"
},
"webPageArchived" : {
"@id" : "http://purl.org/lobid/lv#webPageArchived",
"@container" : "@set"
Expand Down Expand Up @@ -492,6 +499,9 @@
"location" : {
"@id" : "http://schema.org/location"
},
"isil" : {
"@id" : "http://purl.org/lobid/lv#isil"
},
"Contribution" : {
"@id" : "http://id.loc.gov/ontologies/bibframe/Contribution"
},
Expand All @@ -500,4 +510,4 @@
"@container" : "@set"
}
}
}
}

0 comments on commit ea973f7

Please sign in to comment.