<prov:document
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns:xsd="http://www.w3.org/2001/XMLSchema"
    xmlns:prov="http://www.w3.org/ns/prov#"
    xmlns:ex="http://example.com/ns/ex#">

  <prov:activity prov:id="ex:a">
    <prov:type xsi:type="xsd:string">workflow execution</prov:type>
  </prov:activity>

  <prov:agent prov:id="ex:ag1">
    <prov:type xsi:type="xsd:QName">operator</prov:type>
  </prov:agent>

  <prov:agent prov:id="ex:ag2">
    <prov:type xsi:type="xsd:QName">designator</prov:type>
  </prov:agent>

  <prov:wasAssociatedWith>
    <prov:activity prov:ref="ex:a"/>
    <prov:agent prov:ref="ex:ag1"/>
    <prov:role xsi:type="xsd:QName">loggedInUser</prov:role>
    <ex:how>webapp</ex:how>
  </prov:wasAssociatedWith>

  <prov:wasAssociatedWith>
    <prov:activity prov:ref="ex:a"/>
    <prov:agent prov:ref="ex:ag2"/>
    <prov:plan prov:ref="ex:wf"/>
    <prov:role xsi:type="xsd:QName">designer</prov:role>
    <ex:content>project1</ex:content>
  </prov:wasAssociatedWith>

  <prov:plan prov:id="ex:wf">
    <prov:location xsi:type="xsd:anyURI">http://example.org/workflow1.bpel</prov:location>
    <ex:label>Workflow 1</ex:label>
  </prov:plan>

</prov:document>
