Which list properties should be treated by rocrate-converter?
The current implementation of the rocrate-converter contains a special treatment for two properties (during child generation):
# Parts of this entity are added as child entities:
for sublist in ("hasPart", "variableMeasured"):
if sublist in eprops:
for p in eprops[sublist]:
children.append(
ROCrateEntity(element.folder, element.entity.crate.dereference(
p["@id"])))
These are used by the eln file format. It would maybe make sense to implement a general treatment for the pattern:
property = [{"@id": "<value>"}, {"@id": "<value>"}, ..., {"@id": "<value>"}]
So lists of objects that contain only one "@id" element should be processed differently.