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

added morphology classification related schemas #199

Open
wants to merge 1 commit into
base: v0
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"@context": [
"{{base}}/contexts/neurosciencegraph/core/schema/v0.1.0",
{
"this": "{{base}}/schemas/neurosciencegraph/morphology/morphologyclassification/v0.1.2/shapes/"
}
],
"@type": "nxv:Schema",
"imports": [
"{{base}}/schemas/neurosciencegraph/commons/activity/v0.1.4"
],
"shapes": [
{
"@id": "this:MorphologyClassificationShape",
"@type": "sh:NodeShape",
"label": "Morphology classification activity description.",
"nodeKind": "sh:BlankNodeOrIRI",
"targetClass": "nsg:MorphologyClassification",
"and": [
{
"node": "{{base}}/schemas/neurosciencegraph/commons/activity/v0.1.4/shapes/ActivityShape"
},
{
"property": [
{
"path": "prov:used",
"class": "nsg:ReconstructedCell",
"maxCount": 1,
"minCount": 1
},
{
"path": "prov:generated",
"or": [
{
"class": "nsg:MorphologyValidClassification"
},
{
"class": "nsg:MorphologyClassificationResult"
}
],
"maxCount": 1,
"minCount": 1
},
{
"path": "nsg:agent",
"node": "{{base}}/schemas/neurosciencegraph/core/agent/v0.1.0/shapes/AgentShape",
"maxCount": 1,
"minCount": 1
},
{
"path": "nsg:date",
"name": "Classification date",
"description": "Date when the classification was performed",
"datatype": "xsd:dateTime",
"maxCount": 1,
"minCount": 1
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
{
"@context": [
"{{base}}/contexts/neurosciencegraph/core/schema/v0.1.0",
{
"this": "{{base}}/schemas/neurosciencegraph/morphology/morphologyclassificationresult/v0.1.2/shapes/"
}
],
"@type": "nxv:Schema",
"imports": [
"{{base}}/schemas/neurosciencegraph/commons/entity/v1.0.0",
"{{base}}/schemas/neurosciencegraph/commons/typedlabeledontologyterm/v0.1.2"
],
"shapes": [
{
"@id": "this:MorphologyClassificationResultShape",
"@type": "sh:NodeShape",
"label": "Morphology Classification Result",
"targetClass": "nsg:MorphologyClassificationResult",
"nodeKind": "sh:BlankNodeOrIRI",
"and": [
{
"node": "{{base}}/schemas/neurosciencegraph/commons/entity/v1.0.0/shapes/EntityShape"
},
{
"property": [
{
"path": "nsg:body",
"name": "Morphology type",
"class": "nsg:MorphologyAnnotation",
"description": "The morphology type of the reconstructed cell.",
"editorialNote": "Need the cell type for class restriction.",
"node": "this:MorphologyAnnotationShape",
"maxCount": 1,
"minCount": 1
},
{
"path": "nsg:target",
"class": "nsg:ReconstructedCell",
"maxCount": 1,
"minCount": 1
},
{
"path": "rdfs:comment",
"name": "Classification Justification",
"description": "Justification of the decision of cell classification",
"datatype": "xsd:string",
"maxCount": 1
}
]
}
]
},
{"@id": "this:MorphologyAnnotationShape",
"@type": "sh:NodeShape",
"and": [
{
"property": [
{
"path": "nsg:mTypeAnnotation",
"name": "",
"description": "",
"node": "{{base}}/schemas/neurosciencegraph/commons/typedlabeledontologyterm/v0.1.2/shapes/MorphologicalCellTypeOntologyTermShape",
"maxCount": 1,
"minCount": 1
},
{
"path": "nsg:brainLocation",
"description": "Brain Location (brain region, position In Layer, longitudinalAxis) of the reconstructed cell soma.",
"name": "Soma brain location",
"node": "{{base}}/schemas/neurosciencegraph/commons/brainlocation/v0.1.1/shapes/BrainLocationShape",
"maxCount": 1
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"@context": [
"{{base}}/contexts/neurosciencegraph/core/schema/v0.1.0",
{
"this": "{{base}}/schemas/neurosciencegraph/morphology/morphologyspatialanalysisresult/v0.1.2/shapes/"
}
],
"@type": "nxv:Schema",
"imports": [
"{{base}}/schemas/neurosciencegraph/morphology/reconstructedcell/v0.1.2"
],
"shapes": [
{
"@id": "this:MorphologySpatialAnalysisResultShape",
"@type": "sh:NodeShape",
"label": "Morphology Spatial Analysis Result",
"nodeKind": "sh:BlankNodeOrIRI",
"targetClass": "nsg:MorphologySpatialAnalysisResult",
"and": [
{
"node": "{{base}}/schemas/neurosciencegraph/commons/entity/v0.1.0/shapes/EntityShape"
},
{
"property": [
{
"path": "nsg:axonTerminal",
"description": "Axon terminal of the reconstructed cell.",
"name": "Axon terminal",
"node": "this:AxonTerminalShape"
},
{
"path": "nsg:somaLocation",
"name": "Soma brain location",
"description": "Brain Location (brain region, position In Layer, longitudinalAxis) of the reconstructed cell soma.",
"node": "this:brainLocationShape",
"maxCount": 1,
"minCount": 1
}
]
}
]
},
{
"@id": "this:BrainLocationShape",
"@type": "sh:NodeShape",
"and": [
{
"node": "{{base}}/schemas/neurosciencegraph/commons/brainLocation/v0.1.2/shapes/BrainLocationShape"
},
{
"property": [
{
"path": "nsg:hemisphere",
"description": "The hemisphere of the soma",
"name": "Soma hemisphere",
"sh:in": [
"Left",
"Right"
],
"maxCount": 1,
"minCount": 1
}
]
}
]
},
{
"@id": "this:AxonTerminalShape",
"@type": "sh:NodeShape",
"and": [
{
"node": "this:brainLocationShape"
},
{
"property": [
{
"path": "nsg:axonTerminalPercentage",
"name": "Axon terminal percentage",
"description": "The percentage of the axon terminal number in this brain region",
"datatype": "xsd:float",
"maxCount": 1,
"minCount": 1
}
]
}
]
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"@context": [
"{{base}}/contexts/neurosciencegraph/core/schema/v0.1.0",
{
"this": "{{base}}/schemas/neurosciencegraph/morphology/morphologyvalidclassification/v0.1.2/shapes/"
}
],
"@type": "nxv:Schema",
"imports": [
"{{base}}/schemas/neurosciencegraph/morphology/morphologyclassificationresult/v0.1.2"
],
"shapes": [
{
"@id": "this:MorphologyValidClassificationResultShape",
"@type": "sh:NodeShape",
"label": "Morphology Classification Result",
"nodeKind": "sh:BlankNodeOrIRI",
"targetClass": "nsg:MorphologyValidClassification",
"and": [
{
"node": "{{base}}/schemas/neurosciencegraph/morphology/morphologyclassificationresult/v0.1.2/shapes/MorphologyClassificationResultShape"
}
]
}
]
}