Prompt for marking up TEI P5
✓ Published0🌍 Public
CCliffordAnderson
Last edited Apr 9, 2026
Created on Apr 9, 2026
This example demonstrates a prompt-driven workflow for converting raw historical text into TEI P5 XML with named entity markup. It shows how the system identifies personal names, queries Wikidata for matching entities, and assigns attributes like @ref, @full, and @cert for disambiguated references. The process relies on the Wikidata API for entity resolution and uses TEI's controlled vocabulary for confidence levels. The output is a self-contained XML fragment, with unidentifiable names marked as unknown. This approach highlights the integration of external linked-data sources into scholarly text encoding, emphasizing automated authority control and metadata enrichment.
AI-generated description