@prefix : <https://sites.google.com/view/epemcgateway/home/tools-links/mims-ontology#> .

@prefix owl: <http://www.w3.org/2002/07/owl#> .

@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .

@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .

@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .


####################

### CLASS DEFINITIONS

####################


:AFWSignature rdf:type owl:Class ;

    rdfs:label "Aether Flexion Wave Signature" ;

    rdfs:comment "Represents a defined AFW (Aether Flexion Wave) vector pattern that propagates through layered MIMS space." .


:MIMSLayer rdf:type owl:Class ;

    rdfs:label "MIMS Layer" ;

    rdfs:comment "A specific resonance-sensitive layer in the MIMS envelope, often associated with information density and Realionic thresholds." .


:CollapseWindow rdf:type owl:Class ;

    rdfs:label "Collapse Window" ;

    rdfs:comment "A temporal-spatial state of energetic instability during which an AFW may trigger collapse or transition of a MIMS structure." .


:SupertreeNode rdf:type owl:Class ;

    rdfs:label "Supertree Node" ;

    rdfs:comment "An evolutionary-realionic node within the Supertree lineage, functioning as a stabilizer or disruptor of MIMS flow vectors." .


:MIMSFlow rdf:type owl:Class ;

    rdfs:label "MIMS Flow" ;

    rdfs:comment "An active energetic and ontological current across MIMS layers, representing resonance-causality vectors." .


:PPPCEvent rdf:type owl:Class ;

    rdfs:label "Primary Persistent Phase Collapse Event" ;

    rdfs:comment "A Realionic ontological event, realized through the convergence of collapse conditions in AFW signatures and resonance thresholds." .


####################

### CLASS HIERARCHIES / SUBCLASSES

####################


:MIMSElement rdf:type owl:Class ;

    rdfs:label "MIMS Element" .


:AFWSignature rdfs:subClassOf :MIMSElement .

:MIMSLayer rdfs:subClassOf :MIMSElement .

:CollapseWindow rdfs:subClassOf :MIMSElement .

:MIMSFlow rdfs:subClassOf :MIMSElement .

:SupertreeNode rdfs:subClassOf :MIMSElement .


####################

### OBJECT PROPERTIES

####################


:passesThrough rdf:type owl:ObjectProperty ;

    rdfs:domain :AFWSignature ;

    rdfs:range :MIMSLayer ;

    rdfs:label "passes through" ;

    rdfs:comment "AFW signature transits a particular MIMS resonance layer." .


:initiatesCollapse rdf:type owl:ObjectProperty ;

    rdfs:domain :AFWSignature ;

    rdfs:range :CollapseWindow ;

    rdfs:label "initiates collapse" ;

    rdfs:comment "Triggers a collapse event in spacetime-realionic structure if preconditions are met." .


:stabilizes rdf:type owl:ObjectProperty ;

    rdfs:domain :SupertreeNode ;

    rdfs:range :MIMSFlow ;

    rdfs:label "stabilizes flow" ;

    rdfs:comment "Provides coherence to MIMS vector flow, preventing chaotic breakdown." .


:fragments rdf:type owl:ObjectProperty ;

    rdfs:domain :SupertreeNode ;

    rdfs:range :MIMSFlow ;

    rdfs:label "fragments flow" ;

    rdfs:comment "Disrupts or causes bifurcation in a MIMS flow vector, leading to entropy spikes." .


:realizes rdf:type owl:ObjectProperty ;

    rdfs:domain :CollapseWindow ;

    rdfs:range :PPPCEvent ;

    rdfs:label "realizes PPPC event" ;

    rdfs:comment "When thresholds are passed, a collapse window culminates in a Realionic PPPC event." .


####################

### DATA PROPERTIES

####################


:hasMuScore rdf:type owl:DatatypeProperty ;

    rdfs:domain :AFWSignature ;

    rdfs:range xsd:decimal ;

    rdfs:label "mu-score" ;

    rdfs:comment "Reflects internal energetic density factor for a given AFW signature." .


:hasDeltaEntropy rdf:type owl:DatatypeProperty ;

    rdfs:domain :CollapseWindow ;

    rdfs:range xsd:decimal ;

    rdfs:label "entropy delta" ;

    rdfs:comment "Change in entropy across the window; threshold crossing can initiate events." .


:thresholdEntropy rdf:type owl:DatatypeProperty ;

    rdfs:domain :CollapseWindow ;

    rdfs:range xsd:decimal ;

    rdfs:label "entropy threshold" ;

    rdfs:comment "Baseline entropy value that must be surpassed to permit collapse realization." .


####################

### INDIVIDUALS (PLACEHOLDER EXAMPLES)

####################


:AFW_Alpha rdf:type :AFWSignature ;

    :hasMuScore "0.72"^^xsd:decimal .


:ResonanceLayer1 rdf:type :MIMSLayer .


:CollapseNodeX rdf:type :CollapseWindow ;

    :hasDeltaEntropy "0.45"^^xsd:decimal ;

    :thresholdEntropy "0.40"^^xsd:decimal .


:TreeNodeZ rdf:type :SupertreeNode ;

    :stabilizes :MIMSFlow_A .


:MIMSFlow_A rdf:type :MIMSFlow .


####################

### LOGICAL SWRL-LIKE RULES (in pseudocode form)

####################


# RULE:

# If:

#   ?sig a AFWSignature ;

#       :hasMuScore ?mu .

#   ?cw a CollapseWindow ;

#       :hasDeltaEntropy ?delta ;

#       :thresholdEntropy ?thresh .

#   ?node a SupertreeNode ;

#       :stabilizes ?flow .

# AND:

#   ?mu > 0.6

#   ?delta > ?thresh

# THEN:

#   ?cw :realizes :SomePPPCEvent .


####################

### ANNOTATIONS FOR EXTENSION

####################


# Note: MIMSFlow could be subclassed into categories such as:

#   - :VectorialMIMSFlow

#   - :EntropicMIMSFlow

#   - :HarmonicMIMSFlow


# Future properties to define:

#   - hasFrequency (xsd:decimal)

#   - isInResonanceWith (ObjectProperty)

#   - hasSourceVector (ObjectProperty from MIMSFlow to AFWSignature)


# Possible inclusion of a MIMS Reasoner Bot ontology hook for validating threshold conditions.