AI & XML / LLM test suite / Results / Test cases / DublinCore_Metadata-DOI_URL
Test case description
This test checks whether a model recognizes DOI and URL identifiers and correctly outputs them as dc:identifier in Dublin Core XML. Both identifiers must be recorded separately.
Source file | DublinCore_Metadata_DOI_URL.txt |
|---|---|
Series | 3 |
Categories | xml, dublin-core, metadata, semantics |
Evaluation | LLM judge |
Prompt SHA-256 | a2092e2bc114da31b37443bf9a1fa3fb6372c86a074cdd2c35ca337b5e21b3c4 |
LLM judge: The answer is evaluated with LLM support. A judge model compares the model’s answer with the domain expectation and decides whether its content meets it.
Expected result
Digitale Wissensökologien[1]Michael Hahn[2]Open Research Press[3]2022[3]https://doi.org/10.1234/fiktiv.2022.001[4]https://www.openresearchpress.example/book/001[5]en[1]
Expectation in the catalog | Yes |
|---|---|
Correct result in the catalog | Yes |
Judge instruction
Check Dublin Core structure and compare each field with sections [1] to [5]. DOI and URL must be two separate dc:identifier elements; exclude example and noise data.
Must be satisfied
The output consists solely of well-formed XML; Markdown code fences may be removed, but extra prose is not allowed.
The root element is metadata, and Dublin Core fields use http://purl.org/dc/elements/1.1/.
dc:title contains Digitale Wissensökologien with source reference [1], dc:creator contains Michael Hahn with [2], dc:publisher contains Open Research Press with [3] and dc:date contains 2022 with [3].
dc:language contains en with source reference [1].
There are exactly two separate dc:identifier elements and no other identifiers.
The DOI identifier denotes exactly 10.1234/fiktiv.2022.001 with source reference [4]. Permitted lexical forms are 10.1234/fiktiv.2022.001, doi:10.1234/fiktiv.2022.001 or https://doi.org/10.1234/fiktiv.2022.001.
The URL identifier contains exactly https://www.openresearchpress.example/book/001 with source reference [5].
Example DOI 10.1000/xyz123 and nonmetadata section [6] are not output.
Error criteria
The XML cannot be parsed, contains prose or does not bind Dublin Core elements to the official namespace.
DOI and URL are missing, swapped, in the same identifier element, or extra identifiers are output.
The DOI denotes a different DOI, the URL is altered or source reference [4] or [5] is misassigned.
Title, creator, publisher, year or language is missing or incorrect.
Example data such as 10.1000/xyz123 or other content from [6] is included.
Judge note: Evaluate expanded XML names and semantic identity. Prefix name, indentation, element order and XML declaration are irrelevant. The three common DOI forms are equivalent; the publication URL must instead match the entire character string.
Prompt
Du erhältst einen Text mit bibliografischen Angaben inklusive DOI und URL.
Aufgabe
Erfasse ausschließlich bibliografische Metadaten.
Zeichne sie als Dublin Core XML aus.
DOI und URL müssen jeweils als eigenes dc:identifier Element ausgegeben werden.
Jede Angabe muss eine Fundstelle in eckigen Klammern enthalten.
Beispiel
Text
[1] Titel
Open Science Handbook
[2] DOI
10.1000/xyz123
Ausgabe
<dc:identifier>10.1000/xyz123<xref>[2]</xref></dc:identifier>
Text
[1] Digitale Wissensökologien
[2] Michael Hahn
[3] Open Research Press 2022
[4] DOI
10.1234/fiktiv.2022.001
[5] URL
https://www.openresearchpress.example/book/001
[6] Weitere Textbestandteile ohne Metadaten.781 Runs 770 evaluated 9.8 % Score 0.0 % exactly correct
Help on evaluation, score and exact correctness
Score is a graded quality measure: correct = 100 %, mostly_correct = 80 %, partial = 50 %, wrong/not_answered = 0 %.
Exactly correct is stricter: only correct-labeled runs count. Mostly correct increases score but does not count as exactly correct.
Evaluated counts all runs with a substantive judgment. LLM-judge errors also count as evaluated, with score 0 %.
Model Category Access route