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

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

Received on Wednesday, 12 September 2012 13:19:03 UTC