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

Test case description

This test checks whether a model can generate a correct RDF example in Turtle syntax. It requires custom prefixes, a class, several individuals, object and data properties, and interconnected resources. The syntax must be valid and well structured.

Source file

RdfTurtleExtended.txt

Series

1

Categories

xml, rdf

Evaluation

LLM judge

Prompt SHA-256

e3c74c0bac3f8699d5510416970e9f2db881a20ec3019167565d2aec918586e8

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

Syntactically valid Turtle with a custom ontology, class, individuals, object and data properties and linked resources.

Expectation in the catalog

No

Correct result in the catalog

Yes

Judge instruction

Parse the output as Turtle, not XML. Check declarations and actual use of the class and properties.

Must be satisfied

  • The output parses as Turtle without errors and contains no explanatory prose outside the Turtle serialization.

  • There are prefix declarations for a custom namespace and required standard vocabularies such as rdf, rdfs and, where appropriate, xsd.

  • At least one class is defined.

  • At least two individuals are assigned to this or an appropriate class.

  • At least one Object Property is defined and used to link two resources.

  • At least one Datatype Property is defined and used with literal values.

  • At least two literal values are present and correctly typed or language-tagged where necessary.

  • All prefixes used are bound and all statements correctly terminated.

Error criteria

  • The output is RDF/XML, JSON-LD or pseudocode rather than Turtle.

  • The class, multiple individuals, Object Property or Datatype Property are missing.

  • Properties are declared but not used.

  • The Turtle syntax cannot be parsed or uses unbound prefixes.

Judge note: The 'xml' category in the test metadata is misleading here. Turtle is not XML syntax.

Prompt

Erstelle unter content ein umfangreicheres RDF Beispiel in Turtle Syntax.

Erforderliche Bestandteile
ein eigener Namensraum Prefix
eine Klasse
mehrere Individuen
eine Objektproperty
eine Dataproperty
zwei Ressourcen mit Beziehungen untereinander
mindestens zwei Literal Eigenschaften

Achte auf gültige Präfixe und saubere Turtle Syntax.
Gib ausschließlich die Turtle Darstellung zurück.

# content

701 Runs 690 evaluated 24.1 % Score 10.3 % 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