Added shapes for expressing literature references, based on schema.org#43
Added shapes for expressing literature references, based on schema.org#43
Conversation
|
The reason I put these shapes in a "literature" module is that I planned to add some related, but non-schema.org-based shapes, such as "LiteratureReview" (a prov:Activity), but I'm happy either way. |
There was a problem hiding this comment.
In that case you can put schema.org related shapes in nexus-schemas module and reuse/extend them in the new module (in neurosciencegraph organization) you want to create.
Also note that there are two domains for schema.org related shapes:
- schemaorg: this domain reuses the shapes defined below and links them with a target declaration (e.g. targetClass: "schema:Book")
- schemaorgsh: this domain only contains shape definition without target declaration because of many reasons. The most important one is (in short) to avoid validation chaos.
The same reason leads us to have a neurosciencegraph/commons domain where only shapes (without target declarations) are defined.
I'm working on a documentation of this pattern we came up with.
Note that there is a SHACL version of the schema.org markups made by Topquadrant and available here. Worth checking the license and reuse them in BlueBrain/nexus-schemaorg project if possible.
|
great! I was wondering what the reasons for that were. |
| "maxCount": 1 | ||
| }, | ||
| { | ||
| "path": "http://doi.org/", |
There was a problem hiding this comment.
The doi identifying an article can be provided using schema.org/identifier property which should conform to the nexus/schemaorgsh/identifier/shapes/v0.1.0/identifiershape .
The doi can be provided like:
String
"schema:identifier":"http://doi.org/10.1093/acprof:oso/9780195159561.003.0008"Or:
IRI
"schema:identifier":{"@id":"http://doi.org/10.1093/acprof:oso/9780195159561.003.0008"}Or:
Property value
"schema:identifier":{
"property":"http://doi.org",
"value":"10.1093/acprof:oso/9780195159561.003.0008"
}| "maxCount": 1 | ||
| }, | ||
| { | ||
| "path": "https://www.ncbi.nlm.nih.gov/pmc/articles", |
There was a problem hiding this comment.
The pubmed ID can be provided in the same way as the doi above using the nexus/schemaorgsh/identifier/shapes/v0.1.0/identifiershape.
Since multiple identifiers are needed (doi, pubmed id) it may be useful to create dedicated properties for them just like schema.org did. For example an "isbn" property is provided as an identifier sub-property. I've opened an issue for this.
|
I am a colleague of @MFSY at @BlueBrain. I am working on frameworks to extract facts and parameters from literature. Consequently, I have been made aware of this PR and the fact that I am welcome to comment it. My comments:
|
|
Thanks! I agree with your points, and I'll take them into account when I find time to revise this PR. Thanks to the pointers to the neurocurator discussion. |
Needed for expressing the provenance of parameters and data taken from the published literature