Last active
February 6, 2023 22:52
-
-
Save aamedina/aa6d546f8e504d4c573810959ac076af to your computer and use it in GitHub Desktop.
Generating EDN from EDN
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/EcosystemSimulation, | |
| :mop/class-precedence-list [:simulation/EcosystemSimulation | |
| :simulation/EmblematicSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A specific kind of Emblematic simulation in which the simulacrum is an emblem of an ecosystem.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Ecosystem Simulation@en", | |
| :rdfs/subClassOf :simulation/EmblematicSimulation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/NarrativeSimulation, | |
| :mop/class-precedence-list [:simulation/NarrativeSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A specific kind of simulation in which the simulation is used to tell a story or describe an event or process.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Narrative Simulation@en", | |
| :rdfs/subClassOf :simulation/Simulation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/CreationSimulation, | |
| :mop/class-precedence-list [:simulation/CreationSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :owl/hasKey [:simulation/hasSimulacrum :simulation/createdRealityCounterpart], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A specific kind of simulation in which the simulacrum is a symbolic creation of the reality counterpart. The reality counterpart in this kind of simulation is in fact usually something positive like a creation or a blessing.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Creation Simulation@en", | |
| :rdfs/subClassOf [{:owl/onClass :simulation/RealityCounterpart, | |
| :owl/onProperty :simulation/createdRealityCounterpart, | |
| :owl/qualifiedCardinality 1, | |
| :rdf/type :owl/Restriction} :simulation/Simulation]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/TransformationSimulation, | |
| :mop/class-precedence-list [:simulation/TransformationSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :owl/hasKey [:simulation/hasSimulacrum | |
| :simulation/transformedRealityCounterpart], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A specific kind of simulation in which the simulacrum is a symbolic transformation of the reality counterpart.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Transformation Simulation@en", | |
| :rdfs/subClassOf [{:owl/onClass :simulation/RealityCounterpart, | |
| :owl/onProperty :simulation/transformedRealityCounterpart, | |
| :owl/qualifiedCardinality 1, | |
| :rdf/type :owl/Restriction} :simulation/Simulation]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/PhysicalSimulation, | |
| :mop/class-precedence-list [:simulation/PhysicalSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A specific kind of simulation in which the simulation is related to the reality counterpart by means of physical laws.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Physical Simulation@en", | |
| :rdfs/subClassOf :simulation/Simulation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/AgentBasedSimulation, | |
| :mop/class-precedence-list [:simulation/AgentBasedSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "An abstraction of the agents that live in that simulated environment.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Agent based Simulation@en", | |
| :rdfs/subClassOf :simulation/Simulation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/EmblematicSimulationRestriction, | |
| :mop/class-precedence-list [:simulation/EmblematicSimulationRestriction | |
| :simulation/Simulation :owl/Restriction :rdfs/Class | |
| :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A simulation is emblematic iff there is an emblematic representation of the reality counterpart. Emblems are usually used as a graphical representation of something.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Emblematic Simulation Restriction@en", | |
| :rdfs/subClassOf [:simulation/Simulation :owl/Restriction]} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/RepresentationalSimulation, | |
| :mop/class-precedence-list [:simulation/RepresentationalSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A specific kind of simulation in which the simulacrum is a representation of the reality counterpart. Representations are usually used to depict the reality counterpart.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Representational Simulation@en", | |
| :rdfs/subClassOf :simulation/Simulation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/CognitiveSimulation, | |
| :mop/class-precedence-list [:simulation/CognitiveSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment "A simulation of some cognitive system.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Cognitive Simulation@en", | |
| :rdfs/subClassOf :simulation/Simulation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/AnalogueSimulation, | |
| :mop/class-precedence-list [:simulation/AnalogueSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A specific kind of simulation in which the simulacrum is, in general, a scaled down version of the reality counterpart.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Analogue Simulation@en", | |
| :rdfs/subClassOf :simulation/Simulation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/NumericSimulation, | |
| :mop/class-precedence-list [:simulation/NumericSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A specific kind of simulation in which the simulacrum is characterized by a set of numbers.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Numeric simulation@en", | |
| :rdfs/subClassOf :simulation/Simulation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| {:db/ident :simulation/StaticEmblematicSimulation, | |
| :mop/class-precedence-list [:simulation/StaticEmblematicSimulation | |
| :simulation/EmblematicSimulation | |
| :simulation/Simulation :owl/Class :rdfs/Class], | |
| :rdf/type :owl/Class, | |
| :rdfs/comment | |
| "A specific kind of emblematic simulation that is not characterized by the execution of a step-by-step process.@en", | |
| :rdfs/isDefinedBy :simulation/SimulationOntology, | |
| :rdfs/label "Static Emblematic Simulation@en", | |
| :rdfs/subClassOf :simulation/EmblematicSimulation} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (def openai | |
| (com.stuartsierra.component/start | |
| (net.wikipunk.openai/map->OpenAI {:base-uri "https://api.openai.com/v1" | |
| :api-key "YOUR_OPENAPI_KEY" | |
| :model "text-davinci-003"}))) | |
| (net.wikipunk.openai/edn openai | |
| "Write related example instances or subclasses as Clojure data (EDN)" | |
| :simulation/EmblematicSimulation | |
| :top_p 1.0 | |
| :frequency_penalty 0.1 | |
| :stop "###") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment