Re: PROV-ISSUE-551: Flatten XML Schema removing records and/or dependencies? [XML Serialization]

Hi Curt,

I think this issue and ISSUE-547 you raised a few days ago are related.

The question is whether we want:
- 1: a format in which user has full control of the order of statements, or
- 2: a more "structured" format.

prov-n (intended for user consumption) opted for case 1.

The extreme for case 2 would be to require statements in the following 
order, e..g,
entity, activity, agent, usage, generation, .... , influence, 
specialization, alternate.

Currently, the schema is a bit in the middle, without good justification.
Both cases 1 and 2 have pros and cons.
The group needs to decide which point in the spectrum to go for.

Luc


On 09/12/2012 02:18 PM, Curt Tilmes wrote:
> On 09/12/2012 09:14 AM, Provenance Working Group Issue Tracker wrote:
>> PROV-ISSUE-551: Flatten XML Schema removing records and/or 
>> dependencies? [XML Serialization]
>
> Consider translating the PROV-N in Example 23,
>   http://www.w3.org/TR/prov-dm/#anexample-start2
> to XML:
>
> PROV-N:
>   activity(ex:foot_race)
>   entity(ex:bang)
>   wasStartedBy(ex:foot_race, ex:bang, -, 2012-03-09T08:05:08-05:00)
>   agent(ex:Bob)
>   wasAttributedTo(ex:bang, ex:Bob)
>
> Old PROV-XML:  (Not real XML syntax, just showing the structure)
>
>   document  (this is actually optional -- you can just start with 
> records)
>     records
>       activity id=ex:foot_race
>       entity id=ex:band
>       agent id=ex:Bob
>       dependencies
>         wasStartedBy
>           time 2012-03-09T08:05:08-05:00
>           activity ref=ex:foot_race
>           trigger ref=ex:bang
>         wasAttributedTo
>           entity ref=ex:bang
>           agent ref=ex:Bob
>
> New, flattened PROV-XML:
>
>   document
>     activity id=ex:foot_race
>     entity id=ex:bang
>     wasStartedBy
>       time 2012-03-09T08:05:08-05:00
>       activity ref=ex:foot_race
>       trigger ref=ex:bang
>     agent id=ex:Bob
>     wasAttributedTo
>       entity ref=ex:bang
>       agent ref=ex:Bob
>

-- 
Professor Luc Moreau
Electronics and Computer Science   tel:   +44 23 8059 4487
University of Southampton          fax:   +44 23 8059 2865
Southampton SO17 1BJ               email: l.moreau@ecs.soton.ac.uk
United Kingdom                     http://www.ecs.soton.ac.uk/~lavm

Received on Wednesday, 12 September 2012 13:34:17 UTC