SHARE
TWEET

justification-structure-ontology

logicmoo Apr 4th, 2019 150 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ;;;; -*-  Mode: LISP; Syntax: Common-Lisp; Base: 10                          -*-
  2. ;;;; ---------------------------------------------------------------------------
  3. ;;;; File name: justification-structure-ontology
  4. ;;;;    System:
  5. ;;;;    Author: Scott Friedman
  6. ;;;;   Created: October 11, 2010 14:11:20
  7. ;;;;   Purpose:
  8. ;;;; ---------------------------------------------------------------------------
  9. ;;;;  $LastChangedDate: 2018-09-22 12:34:44 -0500 (Sat, 22 Sep 2018) $
  10. ;;;;  $LastChangedBy: hinrichs $
  11. ;;;; ---------------------------------------------------------------------------
  12.  
  13. (in-microtheory JustificationStructureOntologyMt :exclude-globals t)
  14.  
  15. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  16. ;; Collections.
  17.  
  18. (isa Node Collection)
  19. (comment Node "A #$Node is an entity in an abstract network or graph, connected to other #$Node instances via edges or links.")
  20.  
  21. (isa Contradiction Collection)
  22. (comment Contradiction "A #$Contradiction is a logical inconsistency.")
  23.  
  24.  
  25. ;;
  26. ;; Belief nodes and subordinates.
  27.  
  28. (isa BeliefNode Collection)
  29. (comment BeliefNode "A #$BeliefNode is a node within justification structure.  It has a fact as its value, and it can be used in justifications.  The #$CycL fact itself is the term/instance identifier.")
  30. (genls BeliefNode Node)
  31. (genls BeliefNode CycLTerm)
  32.  
  33. (isa ConceptNode Collection)
  34. (comment ConceptNode "A #$ConceptNode is a #$BeliefNode that refers to some conceptual structure, such as a #$ModelFragmentType, a Horn clause, a SAGE generalization, and so forth.")
  35. (genls ConceptNode BeliefNode)
  36.  
  37.  
  38. ;;
  39. ;; Justification nodes and subordinates.
  40.  
  41. (isa JustificationNode Collection)
  42. (comment JustificationNode "A #$JustificationNode justifies at least one #$BeliefNode via (#$consequencesOf JUST NODE), and has #$BeliefNode instances as its antecedents, via (#$antecedentsOf JUST NODE).")
  43. (genls JustificationNode Node)
  44.  
  45. (isa ModelFragmentInstantiation Collection)
  46. (comment ModelFragmentInstantiation "A #$ModelFragmentInstantiation is a #$JustificationNode whose antecedents are the constraints and participant bindings, and whose consequences are the role bindings.")
  47. (genls ModelFragmentInstantiation JustificationNode)
  48.  
  49. (isa ModelFragmentActivation Collection)
  50. (comment ModelFragmentActivation "A #$ModelFragmentActivation is a #$JustificationNode whose antecedents are the roles and conditions of a model fragment instance, and whose consequences are the consequences of the model fragment instance.")
  51. (genls ModelFragmentActivation JustificationNode)
  52.  
  53. (isa UpstreamStateQuantifier Collection)
  54. (comment UpstreamStateQuantifier "A #$UpstreamStateQuantifier within the justification structure asserts that the belief(s) immediately downstream (resulting) from the USQ depends on the upstream (antecedent) belief(s) being contextualized according to the accompanying #$upstreamQuantifier assertion.")
  55. (genls UpstreamStateQuantifier JustificationNode)
  56.  
  57. (isa MechanismIsolation Collection)
  58. (comment MechanismIsolation "A #$MechanismIsolation within the justification structure asserts that the belief(s) immediately downstream (resulting) from the MI is true, provided the antecedent belief(s) are influence statements and they're the only mechanisms directly or indirectly acting on the affected quantity.")
  59. (genls MechanismIsolation JustificationNode)
  60.  
  61. ;;
  62. ;; Explanation nodes and subordinates.
  63.  
  64. (isa XPNode Collection)
  65. (genls XPNode Explanation)
  66. (genls XPNode Node)
  67. (comment XPNode "A #$XPNode is an #$Explanation that contains a number of #$JustificationNode instances (via #$containsInformation).")
  68.  
  69. (isa XPMtFn Function-Denotational)
  70. (arity XPMtFn 1)
  71. (comment XPMtFn "(#$XPMtFn XP) refers to a #$Microtheory that contains the beliefs that constitute the #$XPNode XP.")
  72. (resultIsa XPMtFn Microtheory)
  73. (arg1Isa XPMtFn XPNode)
  74.  
  75. ;;
  76. ;; Beliefs and justifications are disjoint.
  77.  
  78. (disjointCollections BeliefNode JustificationNode)
  79.  
  80.  
  81. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  82. ;; Relations for describing justifications.
  83. ;;
  84.  
  85. (isa antecedentsOf BinaryPredicate)
  86. (comment antecedentsOf "(#$antecedentsOf JUST NODE) states that #$BeliefNode NODE is an antecedent of #$JustificationNode JUST.")
  87. (arity antecedentsOf 2)
  88. (arg1Isa antecedentsOf JustificationNode)
  89. (arg2Isa antecedentsOf BeliefNode)
  90.  
  91. (isa consequencesOf BinaryPredicate)
  92. (comment consequencesOf "(#$consequencesOf JUST NODE) states that #$BeliefNode NODE is the consequence of #$JustificationNode JUST.")
  93. (arity consequencesOf 2)
  94. (arg1Isa consequencesOf JustificationNode)
  95. (arg2Isa consequencesOf BeliefNode)
  96.  
  97. (isa justificationInformant BinaryPredicate)
  98. (comment justificationInformant "(#$justificationInformant JUST INFORMANT) stores a #$CycLTerm INFORMANT as the reason for the #$JustificationNode JUST.")
  99. (arity justificationInformant 2)
  100. (arg1Isa justificationInformant JustificationNode)
  101. (arg2Isa justificationInformant CycLTerm)
  102.  
  103.  
  104. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  105. ;; XP beliefs and contextualization.
  106. ;;
  107.  
  108. (isa xpUsesBelief BinaryPredicate)
  109. (arity xpUsesBelief 2)
  110. (arg1Isa xpUsesBelief XPNode)
  111. (arg2Isa xpUsesBelief BeliefNode)
  112.  
  113. (isa mtQuantifier Predicate)
  114. (comment mtQuantifier "(#$mtQuantifier MT #$holdsSometimeDuring STATE) asserts that for any fact F in MT, (#$holdsSometimeDuring STATE F).  Can also be used with #$holdsIn, and other $#TemporalPredicate instances.")
  115. (arity mtQuantifier 3)
  116. (arg1Isa mtQuantifier Microtheory)
  117. (arg2Isa mtQuantifier TemporalPredicate)
  118. (arg3Isa mtQuantifier TemporalThing)
  119.  
  120. (isa upstreamQuantifier Predicate)
  121. (comment upstreamQuantifier "(#$upstreamQuantifier USQ #$holdsSometimeDuring STATE) asserts that for any belief or fact F upstream of #$UpstreamStateQuantifier USS, (#$holdsSometimeDuring STATE F).  Can also be used with #$holdsIn, and other $#TemporalPredicate instances.")
  122. (arity upstreamQuantifier 3)
  123. (arg1Isa upstreamQuantifier UpstreamStateQuantifier)
  124. (arg2Isa upstreamQuantifier TemporalPredicate)
  125. (arg3Isa upstreamQuantifier TemporalThing)
  126.  
  127. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  128. ;; Contradiction
  129. ;;
  130.  
  131. (isa contradictorySentences BinaryPredicate)
  132. (isa contradictorySentences SymmetricBinaryPredicate)
  133. (arity contradictorySentences 2)
  134. (comment contradictorySentences "(#$contradictorySentences SENT1 SENT2) implies that an the two sentences are contradictory.")
  135.  
  136. (isa contradictoryExplanations BinaryPredicate)
  137. (isa contradictoryExplanations SymmetricBinaryPredicate)
  138. (arity contradictoryExplanations 2)
  139. (comment contradictoryExplanations "(#$contradictoryExplanations EX1 EX2) implies that an the two #$Explanation instances are contradictory.")
  140. (arg1Isa contradictoryExplanations Explanation)
  141. (arg2Isa contradictoryExplanations Explanation)
  142.  
  143. (isa contradictoryExplanation Predicate)
  144. (arity contradictoryExplanation 1)
  145. (comment contradictoryExplanation "(#$contradictoryExplanation EX) implies that an the #$Explanation instance has at least one contradictory sentence inside it.")
  146. (arg1Isa contradictoryExplanation Explanation)
  147.  
  148. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  149. ;; Inter-explanation relations
  150. ;;
  151.  
  152. (isa dependsOn-XPXP AsymmetricBinaryPredicate)
  153. (comment dependsOn-XPXP "(#$dependsOn-XPXP XP1 XP2) asserts that #$XPNode XP1 depends on #$XPNode XP2, such that some assumed belief in XP1 is explicitly justified in XP2.")
  154. (arity dependsOn-XPXP 2)
  155. (arg1Isa dependsOn-XPXP XPNode)
  156. (arg2Isa dependsOn-XPXP XPNode)
  157.  
  158. (isa xpAlternatives SymmetricBinaryPredicate)
  159. (comment xpAlternatives "(#$xpAlternatives XP1 XP2) asserts that both #$Explanation instances explain the same phenomena, but are alternate ways of doing so.")
  160. (arity xpAlternatives 2)
  161. (arg1Isa xpAlternatives Explanation)
  162. (arg2Isa xpAlternatives Explanation)
  163.  
  164. (isa xpMoreSpecificThan AsymmetricBinaryPredicate)
  165. (comment xpMoreSpecificThan "(#$xpMoreSpecificThan XP1 XP2) asserts that (#$xpAlternatives XP1 XP2), and that XP1 is more specific than XP2.")
  166. (arity xpMoreSpecificThan 2)
  167. (arg1Isa xpMoreSpecificThan Explanation)
  168. (arg2Isa xpMoreSpecificThan Explanation)
  169.  
  170. (isa xpPreference AsymmetricBinaryPredicate)
  171. (comment xpPreference "(#$xpPreference XP1 XP2) asserts that XP1 is a better explanation than XP2, ceteris paribus.  See also #$xpPartialPreference.")
  172. (arity xpPreference 2)
  173. (arg1Isa xpPreference Explanation)
  174. (arg2Isa xpPreference Explanation)
  175.  
  176. (isa xpPartialPreference Predicate)
  177. (comment xpPartialPreference "(#$xpPartialPreference XP1 XP2 DIMENSION) asserts that XP1 is a better explanation than XP2 when considered along dimension DIMENSION, ceteris paribus.  See also #$xpPreference.")
  178. (arity xpPartialPreference 3)
  179. (arg1Isa xpPartialPreference Explanation)
  180. (arg2Isa xpPartialPreference Explanation)
  181. (arg3Isa xpPartialPreference CycLTerm)
  182.  
  183. (isa xpsAnalogous SymmetricBinaryPredicate)
  184. (comment xpsAnalogous "(#$xpsAnalogous XP1 XP2) asserts that both #$Explanation instances (1) explain analogous phenomena, (2) have identical structure, and (3) use concepts with analogous participant slots.  The actual justification instances that constitute the #$XPNodes are different instances, and may be of different types.  See also #$xpsIdentical.")
  185. (arity xpsAnalogous 2)
  186. (arg1Isa xpsAnalogous Explanation)
  187. (arg2Isa xpsAnalogous Explanation)
  188.  
  189. (isa xpsIdentical SymmetricBinaryPredicate)
  190. (comment xpsIdentical "(#$xpsIdentical XP1 XP2) asserts that both #$Explanation instances (1) explain the exact same phenomena, (2) have identical structure, and (3) use the exact same concepts.  The actual justification instances that constitute the #$XPNodes can be different instances, but they must be of the same type.  See also #$xpsAnalogous.")
  191. (arity xpsIdentical 2)
  192. (arg1Isa xpsIdentical Explanation)
  193. (arg2Isa xpsIdentical Explanation)
  194.  
  195. (isa acceptedExplanationFor BinaryPredicate)
  196. (comment acceptedExplanationFor "(#$acceptedExplanationFor EXPLANANDUM XP) means that the belief/entity EXPLANANDUM is credited with the explanation XP, due to local or global preferences/cost function.")
  197. (arity acceptedExplanationFor 2)
  198. (arg1Isa acceptedExplanationFor CycLTerm)
  199. (arg2Isa acceptedExplanationFor Explanation)
  200.  
  201.  
  202.  
  203. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  204.  
  205.  
  206. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  207. ;;; End of Code
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top