Skip to content

Metadata

RiverBench includes rich RDF metadata for each dataset, profile, schema, and the suite itself. This metadata is used to generate the website, and can also be used by other tools. The metadata is permissively licensed.

Accessing metadata

On each dataset, profile, and schema page in this website you will find a box with links to the RDF metadata. You can also use the HTTP content negotation mechanism to request the machine-readable metadata instead of the HTML page. This functionality is supported only when using the permanent URLs (starting with https://w3id.org/riverbench/).

Examples of URLs that will return the metadata with content negotiation:

To request a metadata file in a given format explicitly, you can also append .nt, .ttl, .rdf, or .jelly to these URLs.

The following metadata formats are supported:

  • N-Triples (.nt, content type application/n-triples)
  • Turtle (.ttl, content type text/turtle)
  • RDF/XML (.rdf, content type application/rdf+xml)
  • Jelly (.jelly, content type application/x-jelly-rdf)

You can find the rules that make this work here.

Metadata dumps

Starting from RiverBench version 2.0.0, the entire metadata of RiverBench is published in easily accessible dumps. The dumps can be downladed from the main page of RiverBench and from the pages of the suite releases. The links to download the dump are in the "Info" box near the top of the page.

The dumps can also be downloaded directly from:

https://w3id.org/riverbench/dumps/{version}.{extension}.gz

where {version} is the version tag of the suite release (e.g., dev or 2.0.0), and {extension} is one of nt, ttl, rdf, or jelly.

Editing metadata

A large portion of the metadata is automatically generated. However, the rest is written manually in Turtle files in various repositories:

Feel free to submit pull requests to these files to fix errors or add new information. After the pull request is accepted, the changes will be reflected automatically in the website and the READMEs.

The metadata uses mainly these ontologies: