code: def end_prov_graph(self):
          
          endTime = Literal(datetime.now())
          self.prov_g.add((self.entity_d, self.prov.generatedAtTime, endTime))
          self.prov_g.add((self.activity, self.prov.endedAtTime, endTime))
docs: Finalize prov recording with end time