-
Notifications
You must be signed in to change notification settings - Fork 29
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
Allow StimulusExperiment to use any type of intracellular electrode #100
base: v0
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
{ | ||
"@context": [ | ||
"{{base}}/contexts/neurosciencegraph/core/schema/v0.1.0", | ||
{ | ||
"this": "{{base}}/schemas/neurosciencegraph/electrophysiology/stimulusexperiment/v0.1.1/shapes/" | ||
} | ||
], | ||
"@type": "nxv:Schema", | ||
"imports": [ | ||
"{{base}}/schemas/neurosciencegraph/commons/activity/v0.1.3", | ||
"{{base}}/schemas/neurosciencegraph/commons/typedlabeledontologyterm/v0.1.1" | ||
], | ||
"shapes": [ | ||
{ | ||
"@id": "this:StimulusExperimentShape", | ||
"@type": "sh:NodeShape", | ||
"label": "Stimulus experiment shape definition", | ||
"targetClass": "nsg:StimulusExperiment", | ||
"nodeKind": "sh:BlankNodeOrIRI", | ||
"and": [ | ||
{ | ||
"node": "{{base}}/schemas/neurosciencegraph/commons/activity/v0.1.3/shapes/ActivityShape" | ||
}, | ||
{ | ||
"property": [ | ||
{ | ||
"path": "nsg:stimulus", | ||
"name": "Stimulus", | ||
"description": "The shape of the stimulus", | ||
"node": "this:StimulusShape", | ||
"minCount": 1, | ||
"maxCount": 1 | ||
}, | ||
{ | ||
"path": "prov:used", | ||
"description": "The cell recorded from", | ||
"class": { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I suggest to use nsg:Cell as a type of the used entity. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure that is specific enough. It is important that the object used in the experiment be a cell-that-has-been-recorded-from. I had in mind to define "nsg:RecordedCell" as a parent of "nsg:PatchedCell" and "nsg:IntraCellularSharpElectrodeRecordedCell", but I didn't do that yet because I wanted to keep the changes minimal so as to get them deployed as soon as possible. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thank you for the clarification. I'm all for using nsg:RecordedCell then. I think it makes sense. |
||
"or": ["nsg:PatchedCell", "nsg:IntraCellularSharpElectrodeRecordedCell"] | ||
}, | ||
"minCount": 1, | ||
"maxCount": 1 | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
{ | ||
"@id": "this:StimulusShape", | ||
"@type": "sh:NodeShape", | ||
"label": "Stimulus shape definition", | ||
"property": [ | ||
{ | ||
"path": "nsg:stimulusType", | ||
"name": "Stimulus type", | ||
"node": "{{base}}/schemas/neurosciencegraph/commons/typedlabeledontologyterm/v0.1.1/shapes/StimulusTypeOntologyTermShape", | ||
"minCount": 1, | ||
"maxCount": 1 | ||
}, | ||
{ | ||
"path": "nsg:eCode", | ||
"name": "eCode", | ||
"node": "{{base}}/schemas/neurosciencegraph/commons/typedlabeledontologyterm/v0.1.1/shapes/EcodeOntologyTermShape", | ||
"maxCount": 1 | ||
}, | ||
{ | ||
"path": "schema:description", | ||
"datatype": "xsd:string", | ||
"maxCount": 1 | ||
} | ||
] | ||
} | ||
] | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
{ | ||
"@context": [ | ||
"{{base}}/contexts/neurosciencegraph/core/data/v0.1.0" | ||
], | ||
"@type": [ | ||
"prov:Activity", | ||
"nsg:StimulusExperiment" | ||
], | ||
"stimulus": { | ||
"stimulusType": { | ||
"@id": "http://www.FIXME.org/ephys_stimuli/0000001", | ||
"rdfs:label": "ADHPdepol" | ||
} | ||
}, | ||
"used": [ | ||
{ | ||
"@id": "{{base}}/dev/v0/data/neurosciencegraph/experiment/intrasharprecordedcell/v0.1.0/f4880a5e-3096-4527-bbf8-05d797b8c424", | ||
"@type": [ | ||
"nsg:IntraCellularSharpElectrodeRecordedCell", | ||
"prov:Entity" | ||
] | ||
} | ||
] | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update to neurosciencegraph/commons/activity/v0.1.4