1 Introduction

Provenance data can be hard for both expert and non-expert users to understand because of its technical content, and its potential scale and complexity. In order to address these obstacles, we propose allowing users to explore provenance data via an explanation service. This service requires provenance data and a single subject (either an entity, activity or agent) described in the data, as parameters. It returns a description of the subject, which includes text and a provenance graph.

Section 2 describes the sentence templates used to generate a textual narrative of a provenance subject. Following that, Sect. 3 describes the provenance graphs generated to support the textual narrative. We then provide conclusions and discuss future work in Sect. 4.

2 Sentence Templating

The explanation service uses sentence templates to explain the provenance types defined in the prov [1] W3C’s standard for provenance (see Table 1 for examples). The sentence templates are strung together to form a paragraph describing the entities, agents and activities which relate to the subject. For example, the following paragraph has been generated about the provenance subject rs:/rideRequest/1 from the provenance in Fig. 1.

The  is a  entity. It was generated by the activity . It was attributed to the agent . It was used by the activity 

Fig. 1.
figure 1

Provenance extract used for the ride share example.

Table 1. Template Sentence examples, where items in {} are variables which can be either a single item or a list.

3 Provenance Graphs

As well as providing sentences which describe a subject, we also generate provenance graphs highlighting the agents, activities, entities and relationships which are in the textual narrative. The graphs represent the provenance data described in the narrative using the standard colours used in prov and greys out data that was not used. In our example from the previous section, Fig. 2 shows which items were used in the narrative.

Fig. 2.
figure 2

A graph generated using the ride share example.

4 Conclusion

The explanation service provides users with a description of a provenance subject using text and images. For future work, we plan to expand and develop two categories of sentence templates: inspection, which are used to describe facts; and comparison, which are to rank a subject against others. We will also consider policies to support privacy and security in the templates. Finally, we will explore how to foster trust using templates by adopting different authorial tones in the narrative and granularities of explanations about policies, such as privacy and how provenance data is used.