lcnetdev / marc2bibframe2

Convert MARC records to BIBFRAME2 RDF
http://www.loc.gov/bibframe/
Creative Commons Zero v1.0 Universal
88 stars 35 forks source link

Agent URI in translations returns bad URI #192

Closed wafschneider closed 3 years ago

wafschneider commented 3 years ago

From @ntra00: http://mprxy-dev.loc.gov:210/LCDB?query=rec.id=5061718&recordSchema=bibframe2a-dev&maximumRecords=1

The agent uri for the translationOf does not carry any base

<bf:agent><bf:Agent rdf:about="#Agent100-1">.

I’m not sure it should be http://bibframe.example.org/5061718#Work240-15#Agent100-1”, but maybe. Is having to hash tags problematic?

There’s another issue, that it didn’t get looked up, but now I see it’s because the base is missing; the name lookup expects it:

<lookup xpath="//bf:Agent[contains(@rdf:about,'bibframe.example.org…