From d8804f8404c3ab7a2ab554f7335e59fd47f61df4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Sowi=C5=84ski?= Date: Tue, 9 May 2023 08:54:21 +0200 Subject: [PATCH] Initial commit --- .github/workflows/release.yaml | 19 +++++++++ .github/workflows/validate.yaml | 11 +++++ LICENSE | 5 +++ README.md | 5 +++ metadata.ttl | 71 +++++++++++++++++++++++++++++++++ 5 files changed, 111 insertions(+) create mode 100644 .github/workflows/release.yaml create mode 100644 .github/workflows/validate.yaml create mode 100644 LICENSE create mode 100644 README.md create mode 100644 metadata.ttl diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..fee5d7b --- /dev/null +++ b/.github/workflows/release.yaml @@ -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 diff --git a/.github/workflows/validate.yaml b/.github/workflows/validate.yaml new file mode 100644 index 0000000..a3e679f --- /dev/null +++ b/.github/workflows/validate.yaml @@ -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 diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..7576c7a --- /dev/null +++ b/LICENSE @@ -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 diff --git a/README.md b/README.md new file mode 100644 index 0000000..f19bcbc --- /dev/null +++ b/README.md @@ -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. diff --git a/metadata.ttl b/metadata.ttl new file mode 100644 index 0000000..f53cf66 --- /dev/null +++ b/metadata.ttl @@ -0,0 +1,71 @@ +@prefix : . +@prefix dcat: . +@prefix dcterms: . +@prefix foaf: . +@prefix rb: . +@prefix rbdoc: . +@prefix rbt: . +@prefix rdfs: . +@prefix spdx: . +@prefix xsd: . + +# 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 ; + 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 ; + 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 ; + # 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 ; + + # Themes + # Full list of themes: https://w3id.org/riverbench/schema/theme + dcat:theme ; + + # Technical metadata + # URIs of the ontologies used in the dataset + rb:usesOntology ; + # Set to number of stream elements in the dataset + rb:hasStreamElementCount -1 ; + # One of: rb:triples, rb:quads, rb:graphs + rb:hasStreamElementType ; + rb:hasStreamElementSplit [ + # At least one of: rb:StatementCountStreamElementSplit, + # rb:TimeStreamElementSplit, rb:TopicStreamElementSplit + a ; + # If your dataset is split by time, specify the temporal property: + # rb:hasTemporalProperty ; + 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 +.