ISSUE-139: Collections don't provide a way to specify empty lists

collection-emptylist

Collections don't provide a way to specify empty lists

State:
CLOSED
Product:
prov-dm
Raised by:
Stian Soiland-Reyes
Opened on:
2011-10-30
Description:
http://www.w3.org/TR/prov-dm/#expression-Collection specifies how to build collections.

Given issue collection-isolation and collection-collision are solved, one can then assume what all the asserted keys and values of the final collection are.

However, without also including a way to assert that a collection is empty, it is not possible to have a complete picture of the content of the collection - as the "initial" collection is not terminated - a new wasAddedTo_Coll might appear showing that more elements were contained.

I propose to add an assertion:

emptyCollection(c0)

to state that c0 is a collection, but did not contain any keys or values.

Any collections built from c0 will then be completely defined.


I would also propose a collection(c0) as a specialisation saying entity(type="collection") - then emptyCollection(c0) is a specialisation of collection also saying entity(type="emptyCollection").



(Note: We should allow different empty lists entities and not a single :emptyCollection entity, as several PEs might generate empty collections, but those are different entities with different provenance and interpretations. For instance, in Taverna, even empty lists have 'depth' showing how deep list nesting they would have contained if they had had any items)
Related Actions Items:
No related actions
Related emails:
  1. Re: ISSUE-135 ... ISSUE-139 (from soiland-reyes@cs.manchester.ac.uk on 2012-02-22)
  2. Re: PROV-ISSUE-139 (collection-emptylist): Collections don't provide a way to specify empty lists [Data Model] (from soiland-reyes@cs.manchester.ac.uk on 2012-02-22)
  3. ISSUE-135 ... ISSUE-139 (from L.Moreau@ecs.soton.ac.uk on 2012-02-15)
  4. PROV-ISSUE-139 (collection-emptylist): Collections don't provide a way to specify empty lists [Data Model] (from sysbot+tracker@w3.org on 2011-10-30)

Related notes:

DM added subtype prov:emptyCollection (sic)

Stian Soiland-Reyes, 22 Feb 2012, 15:09:00

Display change log ATOM feed


Chair, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 139.html,v 1.1 2013-06-20 07:37:23 vivien Exp $