Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Ostrzyciel authored Apr 30, 2023
0 parents commit f16b2f1
Show file tree
Hide file tree
Showing 5 changed files with 94 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
3 changes: 3 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
PLACE HERE YOUR LICENSING INFORMATION

LICENSE TEMPLATES: https://github.com/licenses/license-templates/tree/master/templates
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.
56 changes: 56 additions & 0 deletions metadata.ttl
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
@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 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/
dcterms:license <SPDX-LICENSE-URL> ;
# 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>
] ;

# Themes
# Full list of themes: https://w3id.org/riverbench/schema/theme.ttl
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 [
a <SPLIT-TYPE> ;
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 (e.g., temporal resolution)
.

0 comments on commit f16b2f1

Please sign in to comment.