Skip to content

adiro_provenance 2.1.0

Choose a tag to compare

@adiro-bot adiro-bot released this 27 Oct 18:14
aa39308

MINOR release · 2.0.0 → 2.1.0 · Compare

Added

  • Where a file was obtained from (#229). sourceLocation records the address a DrawingFile's bytes were obtained from, such as a public archive's download address or, when it is the only origin known, an address in an organisation's own storage. storageLocation still records where copies are kept. The origin no longer gets lost when a public file is copied into internal storage before processing. sourcePage records the catalogue or landing page that describes the file at its origin, which is often a more lasting address. Both take an xsd:anyURI and are related to DCAT and Dublin Core terms by skos:closeMatch (dcat:downloadURL and dcterms:source; dcat:landingPage).
  • A file made from another file points back to it: the PROV-O typing stub prov:wasDerivedFrom is declared, and is used between two DrawingFiles (a format conversion, a page split out of a PDF). Only the original records a sourceLocation.
  • Data checks in data-validation/: a warning for a file with no recorded origin, itself or through the files it was derived from; and, for a public release only (validate_data.py --public-hosts FILE), a violation for any sourceLocation, sourcePage, storageLocation or acceptedUnder that is not on the release's allowlist of public hosts (the release must drop it before publishing).

Changed

  • supersedes takes effect when the superseding assertion is accepted (#221). Its definition now says so: until then the earlier assertion stays in force, and an accepted assertion replaces every assertion it supersedes, directly or through others. A pending or rejected re-extraction no longer withdraws an accepted value. No term, domain or range changes; tooling that reads supersedes as an immediate withdrawal should follow the new rule.

Pull requests in this release

  • #234 Release cut: adiro_provenance 2.1.0
  • #227 feat(provenance): supersession takes effect when the superseding assertion is accepted (#221)
  • #230 Record where a drawing file was obtained from (sourceLocation) (#229)