- From: Stephan Zednik <zednis@rpi.edu>
- Date: Mon, 19 Nov 2012 18:10:55 -0700
- To: Luc Moreau <L.Moreau@ecs.soton.ac.uk>
- Cc: Provenance Working Group <public-prov-wg@w3.org>
On Nov 19, 2012, at 5:39 PM, Luc Moreau <L.Moreau@ecs.soton.ac.uk> wrote: > And a further question: is the previous use of prov:type disallowed? The use of prov:type currently remains unchanged. --Stephan > If yes, how? > If nit, don't we have to support two encodings of these subtypes? > > Professor Luc Moreau > Electronics and Computer Science > University of Southampton > Southampton SO17 1BJ > United Kingdom > > On 20 Nov 2012, at 00:02, "Stephan Zednik" <zednis@rpi.edu> wrote: > >> I have made notes in the PROV-XML Note document that examples of sub-typing are under discussion and may change in the future. >> >> https://dvcs.w3.org/hg/prov/rev/78a059d12dd2 >> >> I have also created a copy of the existing schema with new complexTypes and elements for Person, Organization, SoftwareAgent, Collection, EmptyCollection, Plan, Revision, Quotation, and PrimarySource. >> >> https://dvcs.w3.org/hg/prov/raw-file/49d63187fb7f/xml/schema/prov.alt.xsd >> >> This is to address feedback raised on reliance on prov:type to express the above entity and derivation sub-typing. >> >> The new complex types use xs:extension to extend existing complexTypes. >> >> Two examples: >> >> <xs:complexType name="Person"> >> <xs:complexContent> >> <xs:extension base="prov:Agent"> >> </xs:extension> >> </xs:complexContent> >> </xs:complexType> >> >> ... >> >> <xs:complexType name="Revision"> >> <xs:complexContent> >> <xs:extension base="prov:Derivation"> >> <!-- add any additional properties here --> >> </xs:extension> >> </xs:complexContent> >> </xs:complexType> >> >> These changes lead to the following simplifications on our XML serialization: >> >> <prov:agent prov:id="ex:Paolo"> >> <prov:type xsi:type="xsd:QName">prov:Person</prov:type> >> </prov:agent> >> >> could now be modeled as >> >> <prov:person prov:id="ex:Paolo" /> >> >> and >> >> <prov:wasDerivedFrom> >> <prov:generatedEntity prov:ref="tr:WD-prov-dm-20111215"/> >> <prov:usedEntity prov:ref="tr:WD-prov-dm-20111018"/> >> <prov:type xsi:type="xsd:QName">prov:Revision</prov:type> >> </prov:wasDerivedFrom> >> >> could now be modeled as >> >> <prov:wasRevisionOf> >> <prov:generatedEntity prov:ref="tr:WD-prov-dm-20111215"/> >> <prov:usedEntity prov:ref="tr:WD-prov-dm-20111018"/> >> </prov:wasRevisionOf> >> >> What does the group think of this approach? >> >> --Stephan >> >> On Nov 9, 2012, at 11:53 AM, Provenance Working Group Issue Tracker <sysbot+tracker@w3.org> wrote: >> >>> ISSUE-595: Prov-xml subtyping needs to be marked in the document >>> >>> http://www.w3.org/2011/prov/track/issues/595 >>> >>> Raised by: >>> On product: >>> >>> >>> >>> >>> >>> >> >> > >
Received on Tuesday, 20 November 2012 01:11:19 UTC