ufal / clarin-dspace

clarin-dspace digital repository based on DSpace and LINDAT/CLARIN DSpace
http://lindat.cz
BSD 3-Clause "New" or "Revised" License
27 stars 17 forks source link

Item is replaced by multiple items #1069

Open milanmajchrak opened 11 months ago

milanmajchrak commented 11 months ago

I'd like to ask if replacing the item with multiple items is considered a valid status. I'm struggling with these Items:

kosarko commented 11 months ago

Generally, it is a valid status for both replaces and replaced by. Item can replace multiple items if it has all their data and some extra annotation on top of that. So the relations is more than pure haspart. That'd be the case for PDT-C and the treebanks it consolidates.

Item can be replaced by multiple items if it splits into multiple projects (like dspace now having fe and be separately).

Though, with those concrete examples, you've posted, I'd need to check my records. CzeDLex surprises me a bit.

kosarko commented 11 months ago

It's kind of mentioned in https://github.com/ufal/clarin-dspace/blob/8a6ba5c98547942d7115b74cf4978e0b29ca50e4/dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java#L1076-L1086

stranak commented 10 months ago

Yes, that can happen and here it really did happen. For instance there were two succesors of PDT 3.0, because one kept the data and added some more annotation (analysis), and the other project merged the parent treebank with more data.

So it can happen both ways: father with more children, and also a child with more parents (merging datasets into one).