Skip to content
RML conformance test suite
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
docs
test-cases
.gitignore
LICENSE
README.md
metadata.csv
metadata.hdt
metadata.nt
rules.ttl
rules.yml

README.md

RML Test Cases

The RML test cases are used to determine the conformance to the RML specification of tools that execute RML rules.

In the folder test-cases you can find the different test cases. Each test case is contained in a single folder, containing three types of files:

  • Zero or more files containing the data sources, in the case of JSON, XML, CSV, or containing the SQL statements to create the necessary tables, in the case of MySQL, PostgreSQL, and SQL Server.
  • One file with the RML rules, called mapping.ttl, in the Turtle format.
  • Zero or one file with the expected RDF. No file is provided if an error is expected that must halt the generation of the RDF.

The details about the test cases cases are also available as a knowledge graph in metadata.nt. The knowledge graph is generated by executing the RML rules in rules.ttl, available as YARRRML in rules.yml. The data source used by the rules is metadata.csv.

Documentation

A website describing the test cases is available in docs. The website is generated by doing the following:

  1. Install node.js dependencies: npm i
  2. Run Eleventy: npx eleventy
  3. Find the website in the folder _site

Snapshots of the website can be found in snapshots.

License

This code is copyrighted by Ghent University – imec and released under the Creative Commons Attribution 4.0 International License.

You can’t perform that action at this time.