semantic-kraus / lk-data

Legal-Kraus XML/TEI data to RDF
https://semantic-kraus.github.io/lk-data/
MIT License
0 stars 0 forks source link

lk data (persons): too many identifiers for persons; also: eliminate Schnitzler-Briefe-identifiers #84

Closed BOberreither closed 1 year ago

BOberreither commented 1 year ago

Too many identifiers

Identifiers for persons are currently built from every idno element in a person. Should only be built from idno elements from the first hierarchical level below person. Currently: Peter Altenberg has an identifier https://sk.acdh.oeaw.ac.at/pmb2147/identifier/idno/44 with rdf:value "https://www.wikidata.org/wiki/Q1024740" pointing at a site not for Altenberg, but Cabaret Fledermaus. The idno this stems from is in person/affiliation. Only take those from person. The problem can probably be solved by deleting a "/" in the xPath.

Eliminate Schnitzler-Briefe-identifiers

They don't resolve any more. So don't build identifiers from idno[@type="URL" and @subtype="schnitzler-briefe"]