Templates as a method for implementing data provenance in decision support systems