AI & XML / LLM test suite / Results / Test cases / DublinCoreRdfXml

Test case description

This test checks whether a model can generate a valid RDF/XML document with correctly incorporated Dublin Core elements. It requires the official DC namespace, a valid rdf:about attribute and a complete, clean RDF structure.

Source file

DublinCoreRdfXml.txt

Series

1

Categories

xml, rdf, dublincore

Evaluation

LLM judge

Prompt SHA-256

c1eeaa0db837b662f4b58c5bf9f4deb182e9cb144a00ca31c4e09fefba298019

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

Valid RDF/XML describing one resource and the required Dublin Core properties.

Expectation in the catalog

No

Correct result in the catalog

Yes

Judge instruction

Check both XML well-formedness and valid RDF graph serialization using official RDF and Dublin Core namespaces.

Must be satisfied

  • The output is well-formed RDF/XML with no explanatory prose outside the XML.

  • rdf:RDF uses the namespace http://www.w3.org/1999/02/22-rdf-syntax-ns#.

  • Dublin Core elements use http://purl.org/dc/elements/1.1/.

  • An rdf:Description has a nonempty rdf:about containing a valid URI or IRI.

  • dc:title, dc:creator, dc:subject, dc:date, dc:description, dc:identifier and dc:language are present and nonempty.

  • The output can be parsed as RDF/XML and produces the expected triples.

Error criteria

  • The RDF or Dublin Core namespace is incorrect.

  • rdf:about is missing or empty.

  • A required property is missing.

  • It is merely XML with Dublin Core-like tags, not valid RDF/XML.

Prompt

Erzeuge unter content ein vollständiges RDF/XML Dokument,
das ein digitales Objekt mit Dublin Core Metadaten beschreibt.

Erforderliche Dublin Core Elemente
  title
  creator
  subject
  date
  description
  identifier
  language

Verwende die offiziellen Namensräume
  RDF:   http://www.w3.org/1999/02/22-rdf-syntax-ns#
  DC:    http://purl.org/dc/elements/1.1/

Achte auf ein korrektes rdf:about Attribut
und eine valide RDF/XML Struktur.

Gib ausschließlich das RDF/XML Dokument zurück.

# content

778 Runs 768 evaluated 25.2 % Score 20.8 % 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

x

back to top