How to record freight data lineage with W3C PROV
Record the source value, the transformation that used it and the resulting value. Link the transformation to the software or person responsible. This explains how the value was derived, but does not prove that the input was correct.
Separate the record, the activity and who performed it.
The W3C PROV Data Model defines entities, activities and agents and relationships such as usage, generation and derivation. A practical freight export can associate source and output records with a mapping run, including the mapping version and applicable source references. Share only the detail the recipient is authorised to see.
Two sources explain one outbound value.
In a synthetic conversion, the mapper uses a WMS count of cases and an ERP units-per-case factor to generate the outbound count in individual units. Record both inputs and the conversion revision. If the factor is corrected later, retain the original output provenance and generate a separate, traceable revision rather than rewriting the earlier history.
Make the chain reproducible without disclosing raw records.
- Test a value with two input sources and a value requiring an explicit human correction.
- Show missing lineage as unknown. Do not invent a source when only the output survives.
- Treat provenance, factual accuracy, signature and authority acceptance as separate assertions.