Wikidata lookup is a fine idea, unfortunately the point of my project is to
migrate New Zealand LCCNs into wikidata. That is I'm ignoring every LCCN
that's already in wikidata, I'm interested in the ones that aren't already
there.
cheers
stuart
--
...let us be heard from red core to black sky
On Tue, 5 May 2026 at 06:17, Kevin Hawkins <
[log in to unmask]> wrote:
> Hello Stuart,
>
> Do you mean that you want to convert LCNAF personal names from this sort
> of order:
>
> Mudge, Lewis Seymour, 1868-1945
>
> to something like this:
>
> Lewis Seymour Mudge, 1868-1945
>
> ? But then also deal with authorized forms containing no commas, forms
> with more than two commas, and occasional use of parentheses. So, as
> you know, it gets complicated.
>
> I wonder if a different approach might make more sense here:
>
> 1. Query the inverted LCNAF form at https://id.loc.gov/
>
> 2. Retrieve the URI, extracting the identifier (beginning with "n")
>
> 3. Query Wikidata using this identifier.
>
> 4. Retrieve Wikidata's form of the name, which is not inverted.
>
> --Kevin
>
> On 5/3/26 1:25 PM, Stuart A. Yeates wrote:
> > Does anyone know of somewhere that describes LCCN authorised personal
> names
> > as regexps? I want to be able to rewrite them at scale to 'normal' order.
> >
> > AI appears to be actively undermining the functionality of search
> engines.
> >
> > cheers
> > stuart
> > --
> > ...let us be heard from red core to black sky
>
|