Skip to content
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

Create dedicated properties and shapes for specific data identifiers (doi, pmid) #49

Open
MFSY opened this issue Mar 7, 2018 · 1 comment

Comments

@MFSY
Copy link
Contributor

MFSY commented Mar 7, 2018

Since multiple identifiers are needed (doi, pubmed id,...) it may be useful to create dedicated properties for them just like schema.org does. For example an "isbn" property is provided as an identifier sub-property.

The goal is to be able to assert that an entity (an article) can have a doi and/or pubmedID as identifiers in the following way:

 {
     "path": "nsg:doi",
     "name": "DOI",
     "description": "A doi identifier",
     "node": "{{base}}/schemas/neurosciencegraph/commons/identifier/v0.1.0/shapes/DOIShape",
     "maxCount": 1
}, {
     "path": "nsg:pmid",
     "name": "PMID",
     "description": "A PubMed identifier",
     "node": "{{base}}/schemas/neurosciencegraph/commons/identifier/v0.1.0/shapes/PMIDShape",
     "maxCount": 1
}

The shapes {{base}}/schemas/neurosciencegraph/commons/identifier/v0.1.0/shapes/DOIShape and {{base}}/schemas/neurosciencegraph/commons/identifier/v0.1.0/shapes/PMIDShape can extends the IdentifierShape.

@pafonta
Copy link
Collaborator

pafonta commented Mar 23, 2018

Small comment from #43 (comment):
The URL could be the only way to identify some literature resources which need to be annotated. It might therefore also be considered as an 'identifier'.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants