-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Property to link parent with child experiments #116
Property to link parent with child experiments #116
Comments
As far as I understood: children and parents are linked by hasPart. @FlorianRhiem: #95 (comment)
|
okay, but if both child and parent are Datasets we have to remove
|
I guess we have to give an example of datasets in the specification: {
"@graph": [
{
"@id": "./",
"@type": "Dataset",
"hasPart": [
{ "@id": "./Dataset1/"},
{ "@id": "./Dataset2/"},
{ "@id": "./Dataset3/"},
{ "@id": "./Dataset4/"}
]
},
{
"@id": "./Dataset1/",
"@type": "Dataset",
"hasPart": [ ]
},
{
"@id": "./Dataset2/",
"@type": "Dataset",
"hasPart": [
{ "@id": "./Dataset3/"}
]
},
{
"@id": "./Dataset4/",
"@type": "Dataset",
"hasPart": [
{ "@id": "./Dataset5/"}
]
}
]
} Here, Dataset1 to Dataset 4 are meant to be imported (there are hasPart of ./) and can form an arbitrary structure, aka. be each others hasPart. Only dataset5 is not meant to be imported. |
Always good to have an example - which makes perfect sense to me 👍 The current specification (as I interpret it) would invalidate both Therefor I would suggest to replace
with
|
with #113 (seel also #98) changing the spec to
ELNFileFormat is limited to option 2 / explicitly prohibits option 1 of the RO-Crate spec for nested directory structures
If hasPart is not allowed to link parent with child experiments, ELNFileFormat should define an alternative vocabulary term to do so.
One option would be isPartOf, pointing from the child to the parent element, which would at least to change the overall semantics in reference to option 1 ( hasPart pointing from the parent to the child element).
The text was updated successfully, but these errors were encountered: