hbz / lobid-resources

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

Resolver URL for DNB URN is leads to 404 due to duplication of base URL #2081

Open aquast opened 1 month ago

aquast commented 1 month ago

Example-Resource: https://lobid.org/resources/990368444930206441

<a href="https://nbn-resolving.org/http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624">http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624</a>

There are two base URLs "nbn-resolving.org", one with https one with http. Leading to Status 404 at DNB resolver.

2024-10-14 16 29 41 lobid org cadab146d52d

TobiasNx commented 1 month ago

Example-Resource: lobid.org/resources/990368444930206441

<a href="https://nbn-resolving.org/http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624">http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624</a>

There are two base URLs "nbn-resolving.org", one with https one with http. Leading to Status 404 at DNB resolver.

2024-10-14 16 29 41 lobid org cadab146d52d

"urn": [
   [ "http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624"](http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624)
  ],
  ...
"sameAs": [
    {
      "id": ["https://hub.culturegraph.org/resource/(DE-605)990368444930206441"](https://hub.culturegraph.org/resource/(DE-605)990368444930206441),
      "label": "Culturegraph Ressource"
    },
    {
      "id": ["https://nbn-resolving.org/http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624"](https://nbn-resolving.org/http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624),
      "label": "urn:nbn:de:101:1-2020112012434733354624"
    }
  ],
....
"fulltextOnline": [
    {
      "id": ["https://nbn-resolving.org/http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624"](https://nbn-resolving.org/http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624),
      "label": "URN-Link"
    }
  ]

Seems to be a transformation not an Webapp issue.

Had a look at the source data:

<datafield tag="024" ind1="7" ind2=" ">
  <subfield code="a">
    http://nbn-resolving.de/urn:nbn:de:101:1-2020112012434733354624
  </subfield>
  <subfield code="2">urn</subfield>
</datafield>

Also this seems to be an issue of the source data. `024 $$a should contain the identifier not the resolver link.

Compare: https://lobid.org/marcxml/99370694196806441

<datafield tag="024" ind1="7" ind2=" ">
  <subfield code="2">urn</subfield>
  <subfield code="a">urn:nbn:de:hbz:5:2-53272</subfield>
</datafield>

@aquast is this coming from you/edoweb?

TobiasNx commented 1 month ago

This error is related to around 200 resources

Reported the error to the Verbundgruppe: https://dienst-wiki.hbz-nrw.de/display/SEM/Fehlermeldung+zur+Bereinigung

aquast commented 1 month ago

Hi Tobias, no it isn't from edoweb. I'm recently looking to resources derived from alephino systems. The example given is from Hochschule Ludwigshafen

TobiasNx commented 1 month ago

This error is related to around 200 resources

Reported the error to the Verbundgruppe: dienst-wiki.hbz-nrw.de/display/SEM/Fehlermeldung+zur+Bereinigung

Same error exists for 56 doi statements

acka47 commented 1 month ago

Reported the error to the Verbundgruppe

Isn't this something we could catch and fix in the transformation?

TobiasNx commented 1 month ago

Sure we can do this. But this is also a cataloguing error :)