W3C home > Mailing lists > Public > public-prov-wg@w3.org > March 2013

Re: PROV-ISSUE-650: dictionary insertion, with or without id/attrs? [PROV-DICTIONARY]

From: Luc Moreau <l.moreau@ecs.soton.ac.uk>
Date: Thu, 14 Mar 2013 15:59:40 +0000
Message-ID: <EMEW3|f09c2b2d88e9493d0cadcff11c1a7138p2DFxm08l.moreau|ecs.soton.ac.uk|5141F3EC.10808@ecs.soton.ac.uk>
To: public-prov-wg@w3.org

+1

On 14/03/2013 15:44, Stephan Zednik wrote:
> Do the derivation by insertion and removal support the same set of PROV-defined attributes?
>
> Assuming that they support prov:label and prov:type and not the other PROV-defined attributes, I would suggest we update the Insertion and Removal complexTypes in the following way.
>
> The current insertion:
>
> 	<!-- Insertion -->
> 	<xs:complexType name="Insertion">
> 	<xs:sequence>
> 		<xs:element name="newDictionary" type="prov:IDRef"/>
> 		<xs:element name="oldDictionary" type="prov:IDRef"/>
> 		<xs:element name="keyValuePair" type="prov:KeyValuePair" maxOccurs="unbounded"/>
> 	</xs:sequence>
> 	</xs:complexType>
>
> be changed to:
>
> 	<!-- Insertion -->
> 	<xs:complexType name="Insertion">
> 	<xs:sequence>
> 		<xs:element name="newDictionary" type="prov:IDRef"/>
> 		<xs:element name="oldDictionary" type="prov:IDRef"/>
> 		<xs:element name="keyValuePair" type="prov:KeyValuePair" maxOccurs="unbounded"/>
>                  <!-- prov attributes -->
>                  <xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/>
>                  <xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/>
>                  <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
> 	</xs:sequence>
>            <xs:attribute ref="prov:id"/>
> 	</xs:complexType>
>
> The current removal:
>
> 	<!-- Removal -->
> 	<xs:complexType name="Removal">
> 	<xs:sequence>
> 		<xs:element name="newDictionary" type="prov:IDRef"/>
> 		<xs:element name="oldDictionary" type="prov:IDRef"/>
> 		<xs:element name="key" type="xs:anySimpleType" maxOccurs="unbounded" />
> 	</xs:sequence>
> 	</xs:complexType>
>
> be changed to:
>
> 	<!-- Removal -->
> 	<xs:complexType name="Removal">
> 	<xs:sequence>
> 		<xs:element name="newDictionary" type="prov:IDRef"/>
> 		<xs:element name="oldDictionary" type="prov:IDRef"/>
> 		<xs:element name="key" type="xs:anySimpleType" maxOccurs="unbounded" />
>                  <!-- prov attributes -->
>                  <xs:element ref="prov:label" minOccurs="0" maxOccurs="unbounded"/>
>                  <xs:element ref="prov:type" minOccurs="0" maxOccurs="unbounded"/>
>                  <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
> 	</xs:sequence>
>            <xs:attribute ref="prov:id"/>
> 	</xs:complexType>
>
> --Stephan
>
> On Mar 13, 2013, at 9:18 AM, "Provenance Working Group Issue Tracker"<sysbot+tracker@w3.org>  wrote:
>
>    
>> PROV-ISSUE-650: dictionary insertion, with or without id/attrs?  [PROV-DICTIONARY]
>>
>> http://www.w3.org/2011/prov/track/issues/650
>>
>> Raised by: Luc Moreau
>> On product: PROV-DICTIONARY
>>
>> Hi,
>>
>> It seems that the prov-n notation for dictionary insertion allows for id and attributes, but the xml schema does not. Ontology contains a qualified Insertion.
>>
>> So is this  a mistake of the schema?
>>
>> Thanks,
>> Luc
>>
>>
>>
>>
>>      
>
>    

-- 
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 Thursday, 14 March 2013 16:00:17 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 16:51:32 UTC