Use of a Structured Knowledge Base Enhances Metadata Curation by Large Language Models