-
Notifications
You must be signed in to change notification settings - Fork 52
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
Markup should state its conformance #297
Comments
I tried expanding on this for RO-Crate, but ended up in situations where For instance we have in https://www.researchobject.org/ro-crate/1.1/workflows.html#complying-with-bioschemas-computational-workflow-profile { "@id": "workflow/alignment.knime",
"@type": ["File", "SoftwareSourceCode", "ComputationalWorkflow"],
"conformsTo":
{"@id": "https://bioschemas.org/profiles/ComputationalWorkflow/0.5-DRAFT-2020_07_21/"},
"..": ""
},
{
"@id": "#36aadbd4-4a2d-4e33-83b4-0cbf6a6a8c5b",
"@type": "FormalParameter",
"conformsTo":
{"@id": "https://bioschemas.org/profiles/FormalParameter/0.1-DRAFT-2020_07_21/"},
"..": ""
} But when writing up how profiles should be indicated globally for RO-Crate and for other types of files in ResearchObject/ro-crate#154 it occurred to me that my usage here of This is perhaps less of an issue of abstract things like the formal parameter
That's why I tried with introducing I now think it makes more sense to just list all the profiles conformed to in the top level If a page describes multiple things then it should be a |
Agree is would be more convenient to have a schema property for this such as |
I'm not sure I follow the argument for having all the declarations at the top level. I would think that any validation tool would need to know which profile a specific node in the graph is meant to conform with. |
Agree on that.. My thought there is that it is at least simple to add multiple to the top-level object, but then that object can itself only be a
It could also be that one Bioschemas object have only a partial description of another (e.g. So overall the cleanest is a new If schemaorg/schemaorg#1516 were to add both, then as Bioschemas update to reflect, we could recommend |
schemaorg/schemaorg#2887 instead suggests a new In that case one would not have any conflicts, for instance this Knime file is both an XML file conforming to an XSD but also has structured data (this JSON-LD) that conforms to a Bioschemas profile. { "@id": "workflow/alignment.knime",
"@type": ["MediaObjet", "SoftwareSourceCode", "ComputationalWorkflow"],
"encodingFormat": "application/xml",
"conformsTo": "http://www.knime.org/XMLConfig_2008_09.xsd",
"structuredData": {
"conformsTo": "https://bioschemas.org/profiles/ComputationalWorkflow/1.0-RELEASE/"
},
"…": ""
},
{
"@id": "#36aadbd4-4a2d-4e33-83b4-0cbf6a6a8c5b",
"@type": "FormalParameter",
"structuredData": {
"conformsTo": "https://bioschemas.org/profiles/FormalParameter/1.0-RELEASE/",
},
"…": ""
} The |
Related to #294 |
Rereading this, I don't agree with you @stain. I think regardless of whether we have |
See also ResearchObject/ro-crate#187 where we suggest going back to having
|
If an |
It would be good if our markup included a statement about what profile and version it conforms with. This would make it easier to maintain and validate versions.
There is no schema.org property for this. A property that could be used is
dcterms:conformsTo
.This would apply to every profile and should be included in much the same way that
@id
and@type
are used.The text was updated successfully, but these errors were encountered: