@@ -125,48 +125,6 @@ kbs_home=../sumo
125
125
# spec.vendor=Adam Pease
126
126
project.license =LICENSE
127
127
128
- # Can't override immutable props
129
- # main.class=com.articulate.sigma.KB
130
- # run.class=com.articulate.sigma.KButilities
131
- run.class =${main.class}
132
-
133
- # Various runtime arguments here
134
-
135
- # Intentional empty arguments
136
- # run.args=
137
-
138
- # Default run for the KB
139
- # run.args=-c Object Transaction
140
-
141
- # Load KB files w/ KButilities (should regenerate the KB if cleaned). Add -N for
142
- # sequential (slower) processing <- original implementation
143
- # run.args=-l
144
- run.args =-f ${vamp.out.file}
145
-
146
- # KB.cache
147
- # run.args=-a
148
-
149
- # Run Vampire on SUMO.tptp and output proof
150
- # run.args=-p
151
-
152
- # KB, KIF, TPTP3ProofProcessor, TPTPutil, SUMOtoTFAform - run a test
153
- # run.args=-t
154
-
155
- # Formula check for errors
156
- formula ='(=> (and (muscleInsertion ?MC ?BPC) (instance ?H Human) (attribute ?H Healthy)) (exists (?M ?BP) (and (instance ?M ?MC) (instance ?BP ?BPC) (part ?M ?H) (part ?BP ?H) (connects ?M ?BP))))'
157
-
158
- # Error checking a formula w/ com.articulate.sigma.KButilities
159
- # run.args=-v ${formula}
160
-
161
- # Test internal clause in TPTP2SUMO
162
- # run.args=-c
163
-
164
- # Translate KB to TFF, no args
165
- # run com.articulate.sigma.trans.SUMOKBtoTFAKB
166
-
167
- # Translate KB to FOF, no args
168
- # run com.articulate.sigma.trans.SUMOKBtoTPTPKB
169
-
170
128
# Tomcat Manager properties
171
129
catalina.ops =-Xmx10g -Xss1m
172
130
catalina.base =${catalina.home}
@@ -201,27 +159,87 @@ test.integration.resources.dir=${test.integration.dir}/resources
201
159
# unit.test.suite=com.articulate.sigma.UnitTestSuite
202
160
# integration.test.suite=com.articulate.sigma.IntegrationTestSuite
203
161
162
+ # Can't override immutable props
163
+ # main.class=com.articulate.sigma.KB
164
+ # run.class=${main.class}
165
+ # Load KB files w/ KButilities (should regenerate the KB if cleaned). Add -N for
166
+ # sequential (slower) processing <- original implementation
167
+ # run.args=-l
168
+ # Default run for checking KB operation
169
+ # run.args=-c Object Transaction
170
+
171
+ # run.class=com.articulate.sigma.KButilities
172
+ # Formula check for errors
173
+ formula ='(=> (and (muscleInsertion ?MC ?BPC) (instance ?H Human) (attribute ?H Healthy)) (exists (?M ?BP) (and (instance ?M ?MC) (instance ?BP ?BPC) (part ?M ?H) (part ?BP ?H) (connects ?M ?BP))))'
174
+ # Error checking a formula w/ com.articulate.sigma.KButilities
175
+ # run.args=-v ${formula}
176
+
177
+ # run.class=com.articulate.sigma.KBcache
178
+ # run.args=-a
179
+
180
+ # WordNet term search
181
+ # run.class=com.articulate.sigma.wordNet.WordNet
182
+ # run.args=-w Cat
183
+
184
+ # KB, KIF, TPTP3ProofProcessor, TPTPutil, SUMOtoTFAform - run a test
185
+ # run.args=-t
186
+
187
+ # Test internal clause in TPTP2SUMO
188
+ # run.class=com.articulate.sigma.trans.TPTP2SUMO
189
+ # run.args=-c
190
+
191
+ # ## Ontology Process
192
+
193
+ # (1) Generates FOF, no args
194
+ # run.class com.articulate.sigma.trans.SUMOKBtoTPTPKB
195
+ # run.args=
196
+ # or
197
+ # (1) Generates TFF, no args
198
+ # run.class=com.articulate.sigma.trans.SUMOKBtoTFAKB
199
+ # run.args=
200
+
201
+ # (2 & 3) Runs Vampire on ~.sigmakee/KBs/SUMO.tptp, produces and analyzes proof
202
+ # run.class=com.articulate.sigma.tp.Vampire
203
+ # run.args=-p
204
+ # or
205
+ # (2) run: ant run.vampire
206
+ # (3) Analyzes proof after CLI run of Vampire
207
+ # run.class=com.articulate.sigma.trans.TPTP3ProofProcessor
208
+ # run.args=-f ${vamp.out.file}
209
+
210
+ # (4) View the proof
211
+ # run: ant open.dot.image
212
+
213
+ # ## end Ontology Process
214
+
204
215
# Vampire
205
216
206
217
# default timeout is 60 if -t is not specified
207
218
# NOTE: [- -mode casc] is a shortcut for [- -mode portfolio -sched casc -p tptp]
208
219
# tptp.file=${workspace}/sigmakee/nbproject/private/resources/tiny/SUMO.tptp
220
+ # vamp.out.file=${workspace}/sigmakee/nbproject/private/resources/tiny/vamp-out.txt
209
221
tptp.file =${sigma_home}/KBs/SUMO.tptp
210
222
vamp.out.file =${sigma_home}/KBs/vamp-out.txt
211
- # vamp.out.file=${workspace}/sigmakee/nbproject/private/resources/tiny/vamp-out.txt
212
- # vamp.args=--mode casc -t 900 ${tptp.file} &> ${vamp.out.file}
213
- vamp.args =--cores 0 --mode portfolio --schedule snake_tptp_uns -p tptp --input_syntax tptp --output_axiom_names on -t 10 ${tptp.file} &> ${vamp.out.file}
223
+ vamp.time = -t 900
224
+ # vamp.args=--mode casc ${vamp.time} ${tptp.file} &> ${vamp.out.file}
225
+ vamp.args =--cores 0 --mode portfolio --schedule snake_tptp_uns -p tptp --input_syntax tptp --output_axiom_names on ${vamp.time} ${tptp.file} &> ${vamp.out.file}
214
226
215
- dot.file ='${deploy_home}/graph/proof.dot'
216
227
dot.cmd =/usr/local/bin/dot
217
- dot.args =-Tsvg -Kosage -O ${dot.file}
228
+ image.ext =svg
229
+ # default: dot
230
+ # dot.layout=
231
+ dot.layout =-Kdot
232
+ dot.file ='${deploy_home}/graph/proof.dot'
233
+ dot.args =-T${image.ext} ${dot.layout} -O ${dot.file}
234
+ dot.image.file =${dot.file}.${image.ext}
218
235
236
+ # PasswordService
219
237
# System.out.println("PasswordService: ");
220
238
# System.out.println("-h show this Help message");
221
239
# System.out.println("-l Login");
222
240
# System.out.println("-c Create db");
223
241
# System.out.println("-a create Admin user");
224
- #
242
+
225
243
# System.out.println("-u show User IDs");
226
244
# System.out.println("-r Register a new username and password (fail if username taken)");
227
245
# System.out.println("-a3 <u> <p> <e> create Admin user");
0 commit comments