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:
- https://w3id.org/riverbench/
- https://w3id.org/riverbench/v/dev
- https://w3id.org/riverbench/profiles/stream-triples
- https://w3id.org/riverbench/profiles/stream-triples/dev
- https://w3id.org/riverbench/datasets/nanopubs
- https://w3id.org/riverbench/datasets/nanopubs/dev
- https://w3id.org/riverbench/schema/metadata
- https://w3id.org/riverbench/schema/metadata/dev
To request a metadata file in a given format explicitly, you can also append .nt
, .ttl
, or .rdf
to these URLs.
You can find the rules that make this work here.
Editing metadata
A large portion of the metadata is automatically generated. However, the rest is written manually in Turtle files in various repositories:
- RiverBench main repo / metadata.ttl – metadata about the suite itself
- RiverBench main repo / profiles – metadata about the profiles
- {Dataset repo} / metatada.ttl – metadata about the dataset
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: