Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostrzyciel authored May 9, 2023
0 parents commit d8804f8
Show file tree
Hide file tree
Showing 5 changed files with 111 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: "Release"
on:
push:
branches:
- main
tags:
- "v*"
workflow_dispatch: {}

jobs:
validate:
uses: RiverBench/ci-workflows/.github/workflows/dataset-validate.yaml@main
secrets: inherit

release:
uses: RiverBench/ci-workflows/.github/workflows/dataset-release.yaml@main
needs: validate
permissions: write-all
secrets: inherit
11 changes: 11 additions & 0 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: "Validate"
on:
pull_request:
branches:
- main
workflow_dispatch: {}

jobs:
validate:
uses: RiverBench/ci-workflows/.github/workflows/dataset-validate.yaml@main
secrets: inherit
5 changes: 5 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
PLACE HERE YOUR LICENSING INFORMATION

LICENSE TEMPLATES: https://github.com/licenses/license-templates/tree/master/templates

MORE TEMPLATES: https://github.com/spdx/license-list-data/tree/main/text
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# dataset-template

Template for new datasets. See the [guide on creating new datasets](https://w3id.org/riverbench/documentation/creating-new-dataset) for information on how to use it.

Do not edit this README. It will be overwritten automatically when you complete setting up the dataset's metadata.
71 changes: 71 additions & 0 deletions metadata.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
@prefix : <https://w3id.org/riverbench/temp#> .
@prefix dcat: <http://www.w3.org/ns/dcat#> .
@prefix dcterms: <http://purl.org/dc/terms/> .
@prefix foaf: <http://xmlns.com/foaf/0.1/> .
@prefix rb: <https://w3id.org/riverbench/schema/metadata#> .
@prefix rbdoc: <https://w3id.org/riverbench/schema/documentation#> .
@prefix rbt: <https://w3id.org/riverbench/schema/theme#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix spdx: <http://spdx.org/rdf/terms#> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

# This file contains the manually written metadata for the dataset.
# The URI of the dataset here is temporary. Real URIs are assigned
# automatically in CI.

:dataset
a rb:Dataset, dcat:Dataset ;
dcterms:conformsTo <https://w3id.org/riverbench/schema/metadata> ;
dcterms:identifier "[YOUR DATASET ID (only a-z, 0-9, -)]" ;

dcterms:title "[HUMAN-READABLE NAME OF YOUR DATASET]"@en ;
dcterms:description "[ELABORATED DESCRIPTION OF THE DATASET]"@en ;
dcterms:issued "[DATE OF INITIAL SUBMISSION, YYYY-MM-DD]"^^xsd:date ;

# License and attribution
# SPDX license list: https://spdx.org/licenses/
# Do not include ".html" at the end of the SPDX license URL
# Example of a valid URL: https://spdx.org/licenses/CC-BY-4.0
dcterms:license <SPDX-LICENSE-URL> ;
dcterms:rights "[ADDITIONAL LICENSING NOTES, IF NEEDED]"@en ;
# Feel free to add more creators or use any FOAF properties here
dcterms:creator [
foaf:name "[YOUR NAME]" ;
foaf:nick "[YOUR NICK]" ;
foaf:homepage <LINK-TO-YOUR-PAGE> ;
# Optional: use this property to order creators in the generated docs
rbdoc:hasDocWeight 1 ;
] ;
# If applicable, add a link to the original source of the dataset
dcterms:source <LINK-TO-SOURCE> ;

# Themes
# Full list of themes: https://w3id.org/riverbench/schema/theme
dcat:theme <ADD-AT-LEAST-ONE-THEME> ;

# Technical metadata
# URIs of the ontologies used in the dataset
rb:usesOntology <ADD-ONTOLOGY-URIS> ;
# Set to number of stream elements in the dataset
rb:hasStreamElementCount -1 ;
# One of: rb:triples, rb:quads, rb:graphs
rb:hasStreamElementType <STREAM-ELEMENT-TYPE> ;
rb:hasStreamElementSplit [
# At least one of: rb:StatementCountStreamElementSplit,
# rb:TimeStreamElementSplit, rb:TopicStreamElementSplit
a <SPLIT-TYPE> ;
# If your dataset is split by time, specify the temporal property:
# rb:hasTemporalProperty <PROPERTY-IRI> ;
rdfs:comment "[FURTHER EXPLANATION ON THE SPLIT]"@en
] ;
rb:conformsToRdf11 "" ; # true or false
rb:conformsToRdfStarDraft_20211217 "" ; # true or false
rb:usesGeneralizedRdfDatasets "" ; # true or false
rb:usesGeneralizedTriples "" ; # true or false
rb:usesRdfStar "" ; # true or false

# Add any additional metadata here
# Examples of useful properties:
# dcat:temporalResolution, dcat:spatialResolutionInMeters,
# dcterms:language
.

0 comments on commit d8804f8

Please sign in to comment.