W3C home > Mailing lists > Public > public-prov-wg@w3.org > November 2012

Re: PROV-XML in Primer

From: Stephan Zednik <zednis@rpi.edu>
Date: Mon, 5 Nov 2012 10:08:17 -0700
Cc: Provenance Working Group WG <public-prov-wg@w3.org>
Message-Id: <ED9B8CAC-E7A9-4B87-A396-163953C6FE5D@rpi.edu>
To: "Miles, Simon" <simon.miles@kcl.ac.uk>

On Nov 3, 2012, at 6:31 AM, "Miles, Simon" <simon.miles@kcl.ac.uk> wrote:

> Hello Stephan,
> 
> Thanks. I've included the XML examples to the primer [1]. Could you check I've not made an obvious mistake anywhere?
> 
> I notice there is a disrepancy in the way plans are encoded in the different formats.
> 
> The PROV-O example says:
>  ex:instructions a prov:Plan .
> The equivalent PROV-N example includes:
>  entity(ex:instructions)
> Currently the XML does not declare the plan, just refer to it. Should the XML example include the following?
>  <entity prov:id="instructions"/>
> or something else? Or is there an explanation of the discrepancy we can include in the primer?

Ah, I made a mistake since I thought prov:plan was represented in XML the same way we represent the rest of the PROV-DM attributes.

It should be (as you suggested):

  <prov:activity prov:id="ex:correct"/>

  <prov:entity prov:id="ex:instructions">
    <prov:type>prov:Plan</prov:type>
  </prov:entity>

  <prov:agent prov:id="ex:edith">
    <prov:type>prov:Person</prov:type>
  </prov:agent>

  <prov:wasAssociatedWith>
    <prov:activity prov:ref="ex:correct"/>
    <prov:agent prov:ref="ex:edith"/>
    <prov:plan prov:ref="ex:instructions"/>
  </prov:wasAssociatedWith>

  <prov:wasGeneratedBy>
    <prov:entity prov:ref="ex:dataSet2"/>
    <prov:activity prov:ref="ex:correct"/>
  </prov:wasGeneratedBy>

--Stephan

> 
> thanks,
> Simon
> 
> [1] http://dvcs.w3.org/hg/prov/raw-file/default/primer/Primer.html
> 
> Dr Simon Miles
> Senior Lecturer, Department of Informatics
> Kings College London, WC2R 2LS, UK
> +44 (0)20 7848 1166
> 
> Efficient Multi-Granularity Service Composition:
> http://eprints.dcs.kcl.ac.uk/1396/
> ________________________________________
> From: Stephan Zednik [zednis@rpi.edu]
> Sent: 01 November 2012 21:28
> To: Miles, Simon
> Cc: Hook Hua; Curt Tilmes; Reza B'Far; Luc Moreau; Paul Groth
> Subject: Re: PROV-XML in Primer
> 
> I have filled out the initial prov-xml examples in the following file.
> 
> http://dvcs.w3.org/hg/prov/raw-file/66b8e83713ec/primer/primer-prov-xml-examples.xml
> 
> It should be content complete, but does not validate right now because of the foaf and dct namespaces that I do not have a DTD reference for.
> 
> --Stephan
> 
> On Nov 1, 2012, at 10:29 AM, Stephan Zednik <zednis@rpi.edu> wrote:
> 
>> OK, I will create primer-prox-xml-examples.xml and we will start updating it.
>> 
>> --Stephan
>> 
>> On Nov 1, 2012, at 10:18 AM, "Miles, Simon" <simon.miles@kcl.ac.uk> wrote:
>> 
>>> Hi Stephan,
>>> 
>>> Please just look through the current version of the primer (link below), and wherever there is a "PROV-N Example", please provide me with a PROV-XML translation as an XML fragment. I will then copy the fragments into the document and deal with the formatting, show/hide buttons etc.
>>> 
>>> Ideally, the fragments you give me should be contained in a single XML document. I can then also provide a link to this document from the primer, so readers can see/copy from the whole document.
>>> 
>>> Let me know if that doesn't make sense!
>>> 
>>> http://dvcs.w3.org/hg/prov/raw-file/default/primer/Primer.html
>>> 
>>> thanks,
>>> Simon
>>> 
>>> Dr Simon Miles
>>> Senior Lecturer, Department of Informatics
>>> Kings College London, WC2R 2LS, UK
>>> +44 (0)20 7848 1166
>>> 
>>> Efficient Multi-Granularity Service Composition:
>>> http://eprints.dcs.kcl.ac.uk/1396/
>>> ________________________________________
>>> From: Stephan Zednik [zednis@rpi.edu]
>>> Sent: 01 November 2012 16:09
>>> To: Miles, Simon
>>> Cc: Hook Hua; Curt Tilmes; Reza B'Far; Luc Moreau; Paul Groth
>>> Subject: PROV-XML in Primer
>>> 
>>> Hi all,
>>> 
>>> This email to to start the discussion thread on generating PROV-XML examples for the primer.
>>> 
>>> Simon, what do you need us to do?
>>> 
>>> --Stephan
>> 
> 
Received on Monday, 5 November 2012 17:08:53 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 5 November 2012 17:08:53 GMT