hbz / lobid-resources

Transformation, web frontend, and API for the hbz catalog as LOD
http://lobid.org/resources
Eclipse Public License 2.0
7 stars 7 forks source link

Subfields c sometimes not transformed to RDF #1051

Closed acka47 closed 4 years ago

acka47 commented 4 years ago

Reported via email today by I.N.:

On 30.01.20 13:00, I.N. wrote:

... Uns ist aufgefallen, dass bei einigen Schlagwörtern die Unterfelder nicht angezeigt werden. Hier einige Beispiele:

From the first example (http://lobid.org/resources/HT020297152.json):

"subject": [
        {
        "type": [
            "ComplexSubject"
        ],
        "componentList": [
            {
                "id": "https://d-nb.info/gnd/1200563662",
                "type": [
                    "ConferenceOrEvent"
                ],
                "source": {
                    "id": "https://d-nb.info/gnd/7749153-1",
                    "label": "Gemeinsame Normdatei (GND)"
                },
                "label": "Karussell der Jugend",
                "gndIdentifier": "1200563662"
            },
            {
                "type": [
                    "SubjectHeading"
                ],
                "label": "Geschichte 1959-1971"
            }
        ],
        "label": "Karussell der Jugend, Soest | Geschichte 1959-1971"
    },
    {
        "type": [
            "ComplexSubject"
        ],
        "componentList": [
            {
                "id": "https://d-nb.info/gnd/7677592-6",
                "type": [
                    "ConferenceOrEvent"
                ],
                "source": {
                    "id": "https://d-nb.info/gnd/7749153-1",
                    "label": "Gemeinsame Normdatei (GND)"
                },
                "label": "Allerheiligenkirmes",
                "gndIdentifier": "7677592-6"
            },
            ...
        ],
        "label": "Allerheiligenkirmes, Soest | Jugend | Tanzveranstaltung | Geschichte 1959-1971"
    }
]

For both subjects, there is the "Soest" missing in subject.ComponentList.label although it is there in subject.label. From the source:

<datafield tag="902" ind1="-" ind2="1">
    <subfield code="e">Karussell der Jugend</subfield>
    <subfield code="c">Soest</subfield>
    <subfield code="9">(DE-588)1200563662</subfield>
</datafield>
<datafield tag="907" ind1="-" ind2="1">
    <subfield code="e">Allerheiligenkirmes</subfield>
    <subfield code="c">Soest</subfield>
    <subfield code="9">(DE-588)7677592-6</subfield>
</datafield>
dr0i commented 4 years ago

Deployed to production, closed.