-
Notifications
You must be signed in to change notification settings - Fork 10
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
additionalType #69
Comments
I can give some input on how we currently use additionalType in the Kadi export. We allow users to (optionally) specify an arbitrary type value within the basic record metadata, such as "experiment", "device", "document", etc., which we just put into additionalType as is. In some sense, this can be seen as an additional keyword with some inherent semantics. That being said, these types don't follow a standardised vocabulary. Therefore, if we settle on something here, we would probably need to either move this type somewhere else or remove it from the export altogether. I don't have strong feelings about it either way though. For us it mostly depends on what the import/export requirements of other systems are. In any case, I think that full interoperability of such types will be tough to achieve across all systems. |
Oh so you let users add anything in there? Or is there an enum/list they can choose from?
Why? We both independently came to the conclusion that
Well, that's why we're discussing it now! ;) Also, I'm thinking of the import interface allowing to force the resulting "type". At the end of the day, asking the user what they want is an acceptable shortcut. |
Yeah, the former.
Sorry, I worded this unclearly. I just meant in case we ultimately settle on a fixed vocabulary. Of course if we (in Kadi) can keep it as is that would be ideal :) Regarding the import, I just checked and seems like we don't use it at all yet. However, I guess since we don't have any restrictions, there shouldn't be anything to deal with regarding the import.
Of course! And the option of letting users customize the import (or even export) could indeed be a solution (or at least a good workaround), not just for the types. |
Do you see any overlap with |
@FlorianRhiem I forgot about it! So I'll use
|
Just my 2ct: I understood it at the last meeting as @FlorianRhiem: genre for the subtype. |
You are right, sorry. I just checked my old meeting notes and Edit: I actually confused our ELN export with another one. We are currently not using |
Following @SteffenBrinckmann comment on #103, {
"@context": [
"https://w3id.org/ro/crate/1.1/context",
{
"genre": "@type"
},
"type": "schema:Dataset",
"genre": "ex:CustomType"
]
} In this case it would be helpful to allow {
"@context": [
"https://w3id.org/ro/crate/1.1/context",
{
"eln": "https://w3id.org/TheELNConsortium/",
"elabftw": "...",
"osw": "https://opensemantic.world/id/"
}
],
"genre": [
"eln:Experiment",
"osw:Category-3AOSW0e7fab2262fb4427ad0fa454bc868a0d"
]
} Otherwise |
I suggest moving this into a new issue rather than resurrecting this old (closed) one :P |
created #105 from message above. |
Hello all!
I'm in the process of allowing making a .eln that contains both experiments and resources (the two main entity type in elabftw). Previously, it was only one or the other.
In order to convey that information, I chose to use the
additionalType
property of the@type: Dataset
.So during import, I look at the
additionalType
property , to figure out if this node describes an experiment or a resource (which in elab can be anything like an antibody or a microscope).The value could simply be: "experiments" or "resources". But if I create this issue it is to discuss with you what could be the best approach regarding the value.
I'm thinking of using http://semanticscience.org/resource/SIO_000994. And the code basically is: if it's that URI, it's an experiment, otherwise it's a resource. There are many others to choose from: https://lov.linkeddata.es/dataset/lov/terms?q=Experiment
So if on your side you've already digged into these aspects, please let me know here so that I can use the same as you!
The text was updated successfully, but these errors were encountered: