MFSY on master
Updating copyright year (#48) … (compare)
MFSY on master
Update README.md (compare)
samuel-kerrien on sbt-nexus-workbench-authors-format
samuel-kerrien on master
Update AUTHORS.md (#28) (compare)
samuel-kerrien on sbt-nexus-workbench-authors-format
Update AUTHORS.md (compare)
MFSY on master
Update README.md (compare)
MFSY on master
Added Funding acknowledgements … (compare)
bogdanromanx on master
Added authors file (compare)
MFSY on master
Update README.md (compare)
MFSY on master
Create AUTHORS.md (compare)
MFSY on master
Create LICENSE.txt (compare)
MFSY on master
Update README.md (compare)
{
"@id": “this:SexShape",
"@type": "sh:NodeShape",
"or": [
{
"label": "The expected sex value is an ontology/vocabulary term: identified by an IRI.",
"node": "{{base}}/schemas/neurosciencegraph/commons/labeledontologyentity/v0.1.0/shapes/LabeledOntologyEntityShape"
},{
"label": "The expected sex value is from a specific sex term from an ontology: identified by an IRI.",
"node": "{{base}}/schemas/neurosciencegraph/commons/typedlabeledontologyterm/v0.1.0/shapes/SexOntologyTermShape"
},{
"label": "The expected sex value is a free plain text taken from a controlled list of values.",
"datatype": "xsd:string”,
“in”:[“male”,”female”]
}
]
}
Thanks, I had seen that issue, but forgotten about it.
For context, I'm thinking about automatically populating a drop-down list in a GUI.
I was thinking that the IRI of the ontology could be specified as part of the constraint, and then the GUI could go fetch the list of valid ontology terms.
Populating a drop down list from a root ontology term referenced in a schema is definitely a main (and nice) use case for this.
The question is which IRI to use for sex for example. The challenge is to find defaults IRIs that are commonly accepted in the community (From NIFSTD). I’m open to suggestion.
{
"@id": “this:SexShape",
"@type": "sh:NodeShape",
"or": [
{
"label": "The expected sex value is an ontology/vocabulary term: identified by an IRI.",
"node": "{{base}}/schemas/neurosciencegraph/commons/labeledontologyentity/v0.1.0/shapes/LabeledOntologyEntityShape"
},{
"label": "The expected sex value is from a specific sex term from an ontology: identified by an IRI.",
"node": "{{base}}/schemas/neurosciencegraph/commons/typedlabeledontologyterm/v0.1.0/shapes/SexOntologyTermShape"
},{
"label": "The expected sex value is taken from a controlled list of values.",
“nodeKind": “sh:IRI”,
“in”:[“nsg:Male”,”nsg:Female”]
}
]
}
What version of neurosciencegraph/core/protocol are you using ?
But a "No data was selected for validation” issue is usually caused by a type difference between the submitted instance ( the protocol in your case) and the targetedClass in the schema.