bergie/VIE — Issue #59: Create collection for attributes containing references
Author: bergie
Created: 2011-11-29 19:26:51+00:00
State: open

Given the following call:

vie.entities.add({'foaf:depiction': [''], 'dc:title': 'Second part'});

We should notice that the value of `foaf:depiction` is a reference to another entity, and make the appropriate Collection for that. So the attribute of the instance we just added should be a Collection, not an array or string.