XQuery for Complex Migration
✓ Published0🌍 Public
CCliffordAnderson
Last edited Apr 24, 2019
Created on Apr 16, 2019
This example demonstrates XQuery scripts for cleaning and restructuring VRA Core XML metadata from the DIMLI collection, focusing on consolidating duplicate work records and image records by refid. The code identifies duplicate work entries, merges their associated images while removing redundant id attributes, and normalizes image records. It also runs diagnostic queries to count built works, locations without refids, and image records (targeting 40,420 image records), while filtering location names that reference museums, libraries, or geographic terms. The visualization highlights data-quality issues in cultural-heritage metadata and the programmatic transformations needed to reconcile legacy cataloging inconsistencies.
AI-generated description