Skip to content

Feature: resolve rs/@wikiData against LOBID#34

Open
skurzinz wants to merge 2 commits intodariok:masterfrom
skurzinz:feature-wikidata
Open

Feature: resolve rs/@wikiData against LOBID#34
skurzinz wants to merge 2 commits intodariok:masterfrom
skurzinz:feature-wikidata

Conversation

@skurzinz
Copy link

@skurzinz skurzinz commented Jun 11, 2025

Currently implemented as a separate stylesheet to be run in an additional Oxygen scenario/step or saxon run.

If deemed useful it may make sense to include this in an additional parameter.

The current output of page2tei for documents that have Transkribus generated Wikidata IDs is not TEI-valid (tei:rs/@wikiData). My suggestion would be to create a standOff with all necessary listXXX and point to them as I did in https://github.com/skurzinz/page2tei/blob/e5459ce3b08b35ffc56c66b946d08611defe067e/resolve-wikiData-lobid.xsl#L120. Checking LOBID for alternative reference/authority file identifiers should then be made optional depending on a parameter.

@dariok so far I did not provide any tests. Would it help to just provide the contents of mets and page for a sample document, or should I invite you to the collection I took my sample from?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant