netwerk-digitaal-erfgoed / ld-workbench

A CLI tool for transforming large RDF datasets using pure SPARQL.
5 stars 1 forks source link

Feature: Automatically add provenance assertions #38

Open wouterbeek opened 9 months ago

wouterbeek commented 9 months ago

Observation

Users can already choose to add provenance assertions with LD Workbench:

CONSTRUCT{
  ?dataset dct:created ?created.
} WHERE {
  BIND(id:my-dataset as ?dataset)
  BIND(NOW() as ?created)
}

But LD Workbench could also (optionally) automatically add such provenance assertions.

Expected

LD Workbench should automatically add provenance assertions by rewriting the SPARQL Generator query string before executing.

Additional remarks

LD Workbench may be able to use environment variables that are common in CI pipelines, such as current user, current commit.

Maybe look into provenance models with Prof. Jacco van Ossenbruggen and/or Clariah.