PREFIX cxso: <https://w3id.org/cxso/>
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#>
PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#>
PREFIX sh: <http://www.w3.org/ns/shacl#>
PREFIX xsd: <http://www.w3.org/2001/XMLSchema#>

cxso:CXSO_0000124 a sh:NodeShape ;
  rdfs:comment "An ecological systems layer from Bronfenbrenner's developmental ecology. Used to classify external state entities by their proximity and influence type." ;
  sh:closed false ;
  sh:property [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 0
  ] ;
  sh:targetClass cxso:CXSO_0000124 .

<https://cathexis.health/ontology/cso/v1.1/BodyZone> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/BodyZone> .

cxso:CXSO_0000092 a sh:NodeShape ;
  rdfs:comment "An anatomical structure of the brain named by the neural layer of the HES. Each region is linked to its term in UBERON, the standard anatomy ontology, with skos:exactMatch, or skos:closeMatch where the match is not exact. The CSO does not define brain anatomy. UBERON does." ;
  sh:closed false ;
  sh:property [
    sh:name "anatomical name" ;
    sh:description "The neuroanatomical name of a brain region." ;
    sh:path cxso:CXSO_0000165 ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "primary territories" ;
    sh:description "Territories for which a brain region carries the strongest clinical signal." ;
    sh:path cxso:CXSO_0000156 ;
    sh:class cxso:CXSO_0000061 ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] , [
    sh:name "Panksepp affects" ;
    sh:description "Primary affect systems associated with a brain region." ;
    sh:path cxso:CXSO_0000157 ;
    sh:class cxso:CXSO_0000084 ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "is rich club hub" ;
    sh:description "Whether this brain region is a Pessoa rich club hub with dense cross-network connectivity." ;
    sh:path cxso:CXSO_0000164 ;
    sh:datatype xsd:boolean ;
    sh:nodeKind sh:Literal ;
    sh:order 3
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 4
  ] ;
  sh:targetClass cxso:CXSO_0000092 .

cxso:CXSO_0000078 a sh:NodeShape ;
  rdfs:comment "A characteristic pattern of Markov blanket organization shared by related territories." ;
  sh:closed false ;
  sh:property [
    sh:name "therapeutic direction" ;
    sh:description "The direction of therapeutic work for a blanket configuration." ;
    sh:path cxso:CXSO_0000171 ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 1
  ] ;
  sh:targetClass cxso:CXSO_0000078 .

<https://cathexis.health/ontology/cso/v1.1/BrainRegion> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/BrainRegion> .

<https://cathexis.health/ontology/cso/v1.1/SensationQuality> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/SensationQuality> .

<https://cathexis.health/ontology/cso/v1.1/ChangeMechanism> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/ChangeMechanism> .

<https://cathexis.health/ontology/cso/v1.1/SomaticEntity> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/SomaticEntity> .

<https://cathexis.health/ontology/cso/v1.1/BlanketConfiguration> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/BlanketConfiguration> .

cxso:CXSO_0000010 a sh:NodeShape ;
  rdfs:comment "An area of the body where a person reports a sensation. A zone is the area a person reports, not a precise anatomical boundary; it is linked to UBERON where a corresponding structure exists." ;
  sh:closed false ;
  sh:property [
    sh:name "zone number" ;
    sh:description "The number of a zone, from 1 to 29, as used in clinical practice (\"Zone 10\")." ;
    sh:path cxso:CXSO_0000166 ;
    sh:datatype xsd:integer ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 1
  ] ;
  sh:targetClass cxso:CXSO_0000010 .

<https://cathexis.health/ontology/cso/v1.1/SomaticSnapshot> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/SomaticSnapshot> .

cxso:CXSO_0000004 a sh:NodeShape ;
  rdfs:comment "A body state over time: an ordered series of snapshots for one person. Aggregates computed from the series are an implementation concern, not part of the ontology." ;
  sh:closed false ;
  sh:property [
    sh:name "has snapshot" ;
    sh:description "A snapshot that is part of a trajectory. A trajectory's snapshots are ordered by their timestamps." ;
    sh:path cxso:CXSO_0000217 ;
    sh:class cxso:CXSO_0000003 ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 1
  ] ;
  sh:targetClass cxso:CXSO_0000004 .

cxso:CXSO_0000061 a sh:NodeShape ;
  rdfs:comment "A distinct pattern of neurobiological organization. Not a diagnosis; describes how a person's nervous system is currently organized and what that organization feels like from the inside. In Pessoa's terms, a characteristic pattern of dynamic functional coalition formation." ;
  sh:closed false ;
  sh:property [
    sh:name "has blanket configuration" ;
    sh:description "The characteristic blanket organization pattern for a territory." ;
    sh:path cxso:CXSO_0000155 ;
    sh:class cxso:CXSO_0000078 ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has change mechanism" ;
    sh:description "The primary therapeutic change mechanism for a territory." ;
    sh:path cxso:CXSO_0000160 ;
    sh:class cxso:CXSO_0000130 ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 1
  ] , [
    sh:name "territory number" ;
    sh:description "The number of a territory, from 1 to 16, as used in clinical practice (\"T1\")." ;
    sh:path cxso:CXSO_0000167 ;
    sh:datatype xsd:integer ;
    sh:nodeKind sh:Literal ;
    sh:order 2
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 3
  ] , [
    sh:name "affect configuration" ;
    sh:description "The characteristic Panksepp affect system configuration for a territory." ;
    sh:path cxso:CXSO_0000168 ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 4
  ] ;
  sh:targetClass cxso:CXSO_0000061 .

cxso:CXSO_0000134 a sh:NodeShape ;
  rdfs:comment "One of six capacities a person builds. They tend to develop in this order, and each earlier capacity supports the ones after it, but people move between levels and may work on several at once." ;
  sh:closed false ;
  sh:property [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 0
  ] ;
  sh:targetClass cxso:CXSO_0000134 .

cxso:CXSO_0000187 a sh:NodeShape ;
  rdfs:comment "The difference between a prediction and a later check." ;
  sh:closed false ;
  sh:property [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 0
  ] ;
  sh:targetClass cxso:CXSO_0000187 .

<https://cathexis.health/ontology/cso/v1.1/Territory> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/Territory> .

cxso:CXSO_0000084 a sh:NodeShape ;
  rdfs:comment "One of Panksepp's seven genetically encoded primary affect systems with distinct neural circuitry." ;
  sh:closed false ;
  sh:property [
    sh:name "neural substrate" ;
    sh:description "The brain structures in which an affect system's circuitry lies." ;
    sh:path cxso:CXSO_0000169 ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 1
  ] ;
  sh:targetClass cxso:CXSO_0000084 .

cxso:CXSO_0000146 a sh:NodeShape ;
  rdfs:comment "A type of therapeutic intervention mechanism with defined neurobiological action." ;
  sh:closed false ;
  sh:property [
    sh:name "serves territory" ;
    sh:description "A mechanism type that serves a specific territory." ;
    sh:path cxso:CXSO_0000161 ;
    sh:class cxso:CXSO_0000061 ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 1
  ] ;
  sh:targetClass cxso:CXSO_0000146 .

<https://cathexis.health/ontology/cso/v1.1/BronfenbrennerLayer> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/BronfenbrennerLayer> .

cxso:CXSO_0000185 a sh:NodeShape ;
  rdfs:comment "An expectation recorded before a period of experience." ;
  sh:closed false ;
  sh:property [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 0
  ] ;
  sh:targetClass cxso:CXSO_0000185 .

cxso:CXSO_0000112 a sh:NodeShape ;
  rdfs:comment "A functional system of interacting brain regions, as described in the research the HES draws on. Networks are concepts of the theory, not anatomical structures, so the CSO defines them itself." ;
  sh:closed false ;
  sh:property [
    sh:name "has region" ;
    sh:description "A brain network that includes a specific brain region." ;
    sh:path cxso:CXSO_0000162 ;
    sh:class cxso:CXSO_0000092 ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 0
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 1
  ] ;
  sh:targetClass cxso:CXSO_0000112 .

cxso:CXSO_0000001 a sh:NodeShape ;
  rdfs:comment "The root class for every entity in the Cathexis Somatic Ontology." ;
  sh:closed false ;
  sh:property [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 0
  ] ;
  sh:targetClass cxso:CXSO_0000001 .

<https://cathexis.health/ontology/cso/v1.1/MechanismType> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/MechanismType> .

<https://cathexis.health/ontology/cso/v1.1/AffectSystem> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/AffectSystem> .

cxso:CXSO_0000141 a sh:NodeShape ;
  rdfs:comment "A level of pattern detection over somatic data, from reflecting back what the person reported to predicting what comes next." ;
  sh:closed false ;
  sh:property [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 0
  ] ;
  sh:targetClass cxso:CXSO_0000141 .

cxso:CXSO_0000002 a sh:NodeShape ;
  rdfs:comment "A single sensation report: where in the body (zone), what kind (quality), and optionally how intense (a whole number from 0 to 10). The atomic unit of somatic data." ;
  sh:closed false ;
  sh:property [
    sh:name "quality" ;
    sh:description "The phenomenological sensation quality reported." ;
    sh:path cxso:CXSO_0000159 ;
    sh:in ( cxso:CXSO_0000041 cxso:CXSO_0000042 cxso:CXSO_0000043 cxso:CXSO_0000044 cxso:CXSO_0000045 cxso:CXSO_0000046 cxso:CXSO_0000047 cxso:CXSO_0000048 cxso:CXSO_0000049 cxso:CXSO_0000050 cxso:CXSO_0000051 cxso:CXSO_0000052 cxso:CXSO_0000053 cxso:CXSO_0000054 cxso:CXSO_0000055 cxso:CXSO_0000056 cxso:CXSO_0000057 cxso:CXSO_0000058 cxso:CXSO_0000059 cxso:CXSO_0000060 ) ;
    sh:order 0
  ] , [
    sh:name "has evidence kind" ;
    sh:description "The kind of evidence by which a data point was obtained." ;
    sh:path cxso:CXSO_0000175 ;
    sh:in ( cxso:CXSO_0000176 cxso:CXSO_0000177 cxso:CXSO_0000178 cxso:CXSO_0000179 cxso:CXSO_0000180 ) ;
    sh:order 1
  ] , [
    sh:name "has HES layer" ;
    sh:description "The Human Experience System layer in which a data point occurred." ;
    sh:path cxso:CXSO_0000189 ;
    sh:in ( cxso:CXSO_0000200 cxso:CXSO_0000201 cxso:CXSO_0000202 cxso:CXSO_0000203 cxso:CXSO_0000204 cxso:CXSO_0000205 cxso:CXSO_0000206 cxso:CXSO_0000207 cxso:CXSO_0000208 cxso:CXSO_0000209 ) ;
    sh:order 2
  ] , [
    sh:name "zone" ;
    sh:description "The anatomical zone where a sensation was reported." ;
    sh:path cxso:CXSO_0000158 ;
    sh:class cxso:CXSO_0000010 ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 3
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 4
  ] ;
  sh:targetClass cxso:CXSO_0000002 .

cxso:CXSO_0000130 a sh:NodeShape ;
  rdfs:comment "A therapeutic change mechanism, each engaging a distinct memory system." ;
  sh:closed false ;
  sh:property [
    sh:name "memory system" ;
    sh:description "The memory system a change mechanism engages." ;
    sh:path cxso:CXSO_0000170 ;
    sh:datatype xsd:string ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 1
  ] ;
  sh:targetClass cxso:CXSO_0000130 .

<https://cathexis.health/ontology/cso/v1.1/IntelligenceLayer> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/IntelligenceLayer> .

cxso:CXSO_0000186 a sh:NodeShape ;
  rdfs:comment "A record of what happened, made after the period a prediction described." ;
  sh:closed false ;
  sh:property [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 0
  ] ;
  sh:targetClass cxso:CXSO_0000186 .

<https://cathexis.health/ontology/cso/v1.1/BrainNetwork> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/BrainNetwork> .

<https://w3id.org/linkml/Any> a sh:NodeShape ;
  rdfs:comment "An unconstrained type or object" ;
  sh:closed false ;
  sh:targetClass <https://w3id.org/linkml/Any> .

<https://cathexis.health/ontology/cso/v1.1/SomaticDataPoint> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/SomaticDataPoint> .

<https://cathexis.health/ontology/cso/v1.1/BlanketComponent> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/BlanketComponent> .

<https://cathexis.health/ontology/cso/v1.1/LearningLevel> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/LearningLevel> .

cxso:CXSO_0000003 a sh:NodeShape ;
  rdfs:comment "A complete body state at a single moment. It holds zero or more data points; with none, nothing stands out may record that the person attended to their sensations and found nothing standing out." ;
  sh:closed false ;
  sh:property [
    sh:name "nothing stands out" ;
    sh:description "The person attended to their sensations and found nothing standing out. This is a report, distinct from the Numbness quality (a felt absence of sensation) and from a snapshot never taken." ;
    sh:path cxso:CXSO_0000173 ;
    sh:datatype xsd:boolean ;
    sh:nodeKind sh:Literal ;
    sh:order 0
  ] , [
    sh:name "timestamp" ;
    sh:description "The time of a somatic snapshot." ;
    sh:path cxso:CXSO_0000174 ;
    sh:datatype xsd:dateTime ;
    sh:nodeKind sh:Literal ;
    sh:order 1
  ] , [
    sh:name "has data point" ;
    sh:description "A data point that is part of a snapshot. A snapshot with nothing stands out set to true has none." ;
    sh:path cxso:CXSO_0000216 ;
    sh:class cxso:CXSO_0000002 ;
    sh:nodeKind sh:BlankNodeOrIRI ;
    sh:order 2
  ] , [
    sh:name "has blanket component" ;
    sh:description "The primary Markov blanket component this entity belongs to." ;
    sh:path cxso:CXSO_0000154 ;
    sh:in ( cxso:CXSO_0000006 cxso:CXSO_0000007 cxso:CXSO_0000008 cxso:CXSO_0000009 ) ;
    sh:order 3
  ] ;
  sh:targetClass cxso:CXSO_0000003 .

<https://cathexis.health/ontology/cso/v1.1/SomaticTrajectory> a sh:NodeShape ;
  sh:closed false ;
  sh:targetClass <https://cathexis.health/ontology/cso/v1.1/SomaticTrajectory> .
