Skip to content

Conformance

CARML runs the test cases that the RML modules publish, as part of its build. Each suite runs twice: once with the reactive evaluator and once with the DuckDB evaluator.

Module Cases Skipped (reactive / DuckDB) Notes
RML-Core 76 0 / 0 JSON sources
RML-LV 41 0 / 0
RML-IO 73 12 / 20
RML-IO registry 102 38 / 38 Against MySQL and PostgreSQL in containers
RML-FNML 20 1 / 1
RML-CC 35 0 / 0
RML-star Not supported

What is not run

  • Sources CARML does not support. SQL Server (17 cases), SPARQL endpoints, and Web of Things descriptions.
  • XML with the DuckDB evaluator. DuckDB does not read XML. Outside the test suite, the reactive evaluator takes those views.
  • Compressed sources. The suite also leaves out the RML-IO cases for gzip, tar.gz and tar.xz sources. They are not counted in the table. Unit tests cover decompression.
  • Cases where CARML and the expected output disagree. These include the canonical form of xsd:double values, the datatypes of some natural-datatype cases, the case of CSV headers and PostgreSQL identifiers, and one FNML case that expects a function error to be swallowed.
  • Cases with broken fixtures, such as the Kafka and MQTT cases, whose mappings are not valid Turtle.

The skip lists, with a reason for each case, are in the test classes under carml-test-cases.

What the suites do not show

  • The RML-IO target cases check which triples are produced. They do not check the files that logical targets write. Unit tests cover those.
  • The suites run with RDF4J's ValidatingValueFactory, which rejects a literal that does not fit its datatype. CARML's default value factory does not. See Configuration.