@prefix cef:   <https://www.optimizeyourcapabilities.com/ontology/cef#> .
@prefix skos:  <http://www.w3.org/2004/02/skos/core#> .
@prefix owl:   <http://www.w3.org/2002/07/owl#> .
@prefix rdfs:  <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dct:   <http://purl.org/dc/terms/> .
@prefix xsd:   <http://www.w3.org/2001/XMLSchema#> .
@prefix foaf:  <http://xmlns.com/foaf/0.1/> .

################################################################################
### ONTOLOGY HEADER (CANONICAL)
################################################################################

cef: a owl:Ontology ;
    dct:title "Core Emotion Framework Operator Ontology" ;
    dct:description "Hybrid OWL + SKOS ontology for CEF operators, centers, polarity, and modes. Defines EXACTLY TEN OPERATORS and NOTHING ELSE." ;
    dct:creator <https://coreemotionframework.org/#organization> ;
    dct:publisher <https://coreemotionframework.org/#organization> ;
    dct:source <https://www.optimizeyourcapabilities.com/ontology/cef-kg.jsonld> ;
    dct:license <https://creativecommons.org/licenses/by/4.0/> ;
    owl:versionInfo "1.0.0" ;
    dct:modified "2026-02-27"^^xsd:date ;
    foaf:homepage <https://coreemotionframework.org/> ;
    rdfs:seeAlso <https://www.optimizeyourcapabilities.com/core-emotion-framework/> ,
                 <https://www.optimizeyourcapabilities.com/CEF-operators/> ,
                 <https://www.optimizeyourcapabilities.com/ontology/> .

################################################################################
### CORE CLASSES
################################################################################

cef:Operator a owl:Class ;
    rdfs:label "CEF Operator" .

cef:Center a owl:Class ;
    rdfs:label "CEF Center" .

cef:Polarity a owl:Class ;
    rdfs:label "CEF Polarity" .

cef:Mode a owl:Class ;
    rdfs:label "CEF Mode" .

################################################################################
### OBJECT PROPERTIES
################################################################################

cef:belongsToCenter a owl:ObjectProperty ;
    rdfs:label "belongs to center" ;
    rdfs:domain cef:Operator ;
    rdfs:range cef:Center .

cef:hasPolarity a owl:ObjectProperty ;
    rdfs:label "has polarity" ;
    rdfs:domain cef:Operator ;
    rdfs:range cef:Polarity .

cef:hasMode a owl:ObjectProperty ;
    rdfs:label "has mode" ;
    rdfs:domain cef:Operator ;
    rdfs:range cef:Mode .

################################################################################
### CENTER SCHEME + INDIVIDUALS
################################################################################

cef:CenterScheme a skos:ConceptScheme ;
    skos:prefLabel "CEF Centers" ;
    skos:definition "The three centers of the Core Emotion Framework: Head, Heart, Gut." ;
    skos:memberList ( cef:HeadCenter cef:HeartCenter cef:GutCenter ) .

cef:HeadCenter a cef:Center , skos:Concept ;
    skos:prefLabel "Head Center" ;
    skos:notation "C01" ;
    skos:inScheme cef:CenterScheme .

cef:HeartCenter a cef:Center , skos:Concept ;
    skos:prefLabel "Heart Center" ;
    skos:notation "C02" ;
    skos:inScheme cef:CenterScheme .

cef:GutCenter a cef:Center , skos:Concept ;
    skos:prefLabel "Gut Center" ;
    skos:notation "C03" ;
    skos:inScheme cef:CenterScheme .

################################################################################
### POLARITY SCHEME
################################################################################

cef:PolarityScheme a skos:ConceptScheme ;
    skos:prefLabel "CEF Polarity" ;
    skos:definition "Polarity values for CEF operators: Positive (Outgoing), Negative (Reflecting), Neutral (Balancing)." .

cef:PositivePolarity a cef:Polarity , skos:Concept ;
    skos:prefLabel "Positive Polarity" ;
    skos:notation "P01" ;
    skos:definition "Outgoing orientation." ;
    skos:inScheme cef:PolarityScheme .

cef:NegativePolarity a cef:Polarity , skos:Concept ;
    skos:prefLabel "Negative Polarity" ;
    skos:notation "P02" ;
    skos:definition "Reflecting orientation." ;
    skos:inScheme cef:PolarityScheme .

cef:NeutralPolarity a cef:Polarity , skos:Concept ;
    skos:prefLabel "Neutral Polarity" ;
    skos:notation "P03" ;
    skos:definition "Balancing orientation." ;
    skos:inScheme cef:PolarityScheme .

################################################################################
### MODE SCHEME (GUT ON/OFF)
################################################################################

cef:ModeScheme a skos:ConceptScheme ;
    skos:prefLabel "CEF Modes" ;
    skos:definition "Mode values for certain CEF operators (e.g., Gut on/off states)." .

cef:OnMode a cef:Mode , skos:Concept ;
    skos:prefLabel "On Mode" ;
    skos:notation "M01" ;
    skos:definition "Activation in the 'on' sense (e.g., Boosting)." ;
    skos:inScheme cef:ModeScheme .

cef:OffMode a cef:Mode , skos:Concept ;
    skos:prefLabel "Off Mode" ;
    skos:notation "M02" ;
    skos:definition "Activation in the 'off' sense (e.g., Accepting)." ;
    skos:inScheme cef:ModeScheme .

################################################################################
### OPERATOR SCHEME + ORDERED LIST
################################################################################

cef:CEFOperatorScheme a skos:ConceptScheme ;
    skos:prefLabel "CEF Operators" ;
    skos:definition "The ten core emotional operators of the Core Emotion Framework." ;
    skos:memberList (
        cef:Sensing
        cef:Calculating
        cef:Deciding
        cef:Expanding
        cef:Constricting
        cef:Achieving
        cef:Arranging
        cef:Appreciating
        cef:Boosting
        cef:Accepting
    ) .

################################################################################
### HEAD OPERATORS
################################################################################

cef:Sensing a cef:Operator , skos:Concept ;
    skos:prefLabel "Sensing" ;
    skos:notation "OP01" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:HeadCenter ;
    cef:hasPolarity cef:PositivePolarity .

cef:Calculating a cef:Operator , skos:Concept ;
    skos:prefLabel "Calculating" ;
    skos:notation "OP02" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:HeadCenter ;
    cef:hasPolarity cef:NegativePolarity .

cef:Deciding a cef:Operator , skos:Concept ;
    skos:prefLabel "Deciding" ;
    skos:notation "OP03" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:HeadCenter ;
    cef:hasPolarity cef:NeutralPolarity .

################################################################################
### HEART OPERATORS
################################################################################

cef:Expanding a cef:Operator , skos:Concept ;
    skos:prefLabel "Expanding" ;
    skos:notation "OP04" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:HeartCenter ;
    cef:hasPolarity cef:PositivePolarity .

cef:Constricting a cef:Operator , skos:Concept ;
    skos:prefLabel "Constricting" ;
    skos:notation "OP05" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:HeartCenter ;
    cef:hasPolarity cef:NegativePolarity .

cef:Achieving a cef:Operator , skos:Concept ;
    skos:prefLabel "Achieving" ;
    skos:notation "OP06" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:HeartCenter ;
    cef:hasPolarity cef:NeutralPolarity .

################################################################################
### GUT OPERATORS
################################################################################

cef:Arranging a cef:Operator , skos:Concept ;
    skos:prefLabel "Arranging" ;
    skos:notation "OP07" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:GutCenter ;
    cef:hasPolarity cef:PositivePolarity .

cef:Appreciating a cef:Operator , skos:Concept ;
    skos:prefLabel "Appreciating" ;
    skos:notation "OP08" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:GutCenter ;
    cef:hasPolarity cef:NegativePolarity .

cef:Boosting a cef:Operator , skos:Concept ;
    skos:prefLabel "Boosting" ;
    skos:notation "OP09" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:GutCenter ;
    cef:hasPolarity cef:NeutralPolarity ;
    cef:hasMode cef:OnMode .

cef:Accepting a cef:Operator , skos:Concept ;
    skos:prefLabel "Accepting" ;
    skos:notation "OP10" ;
    skos:inScheme cef:CEFOperatorScheme ;
    cef:belongsToCenter cef:GutCenter ;
    cef:hasPolarity cef:NeutralPolarity ;
    cef:hasMode cef:OffMode .

################################################################################
### FORMATS
################################################################################

dct:hasFormat <https://www.optimizeyourcapabilities.com/cef-kg.jsonld> .