ekms 9.6.3-beta.11 → 9.6.3-beta.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/common/articles.js +1 -2
- package/common/colors.instance.json +28 -0
- package/common/concept.js +1 -1
- package/common/conjunction.js +2 -4
- package/common/crew.instance.json +120 -36
- package/common/dates.instance.json +84 -0
- package/common/drone.instance.json +7467 -377
- package/common/drone.js +103 -29
- package/common/drone.test.json +117044 -28465
- package/common/drone_v1.instance.json +343 -0
- package/common/edible.instance.json +56 -0
- package/common/fastfood.instance.json +360 -108
- package/common/pipboy.instance.json +56 -0
- package/common/reports.instance.json +2 -2
- package/common/stm.js +13 -0
- package/common/time.instance.json +7551 -907
- package/common/time.js +3 -1
- package/common/time.test.json +9914 -0
- package/common/wp.instance.json +56 -0
- package/package.json +2 -2
package/common/articles.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { knowledgeModule, where, stableId } = require('./runtime').theprogrammablemind
|
|
1
|
+
const { knowledgeModule, where, stableId, debug } = require('./runtime').theprogrammablemind
|
|
2
2
|
const gdefaults = require('./gdefaults.js')
|
|
3
3
|
const pos = require('./pos.js')
|
|
4
4
|
const { defaultContextCheck } = require('./helpers')
|
|
@@ -63,7 +63,6 @@ const config = {
|
|
|
63
63
|
id: "theAble",
|
|
64
64
|
children: ['noun'],
|
|
65
65
|
},
|
|
66
|
-
|
|
67
66
|
{
|
|
68
67
|
id: "thisitthat",
|
|
69
68
|
isA: ['queryable'],
|
|
@@ -3661,6 +3661,20 @@
|
|
|
3661
3661
|
0
|
|
3662
3662
|
]
|
|
3663
3663
|
],
|
|
3664
|
+
[
|
|
3665
|
+
[
|
|
3666
|
+
"is",
|
|
3667
|
+
0
|
|
3668
|
+
],
|
|
3669
|
+
[
|
|
3670
|
+
"list",
|
|
3671
|
+
1
|
|
3672
|
+
],
|
|
3673
|
+
[
|
|
3674
|
+
"unknown",
|
|
3675
|
+
0
|
|
3676
|
+
]
|
|
3677
|
+
],
|
|
3664
3678
|
[
|
|
3665
3679
|
[
|
|
3666
3680
|
"is",
|
|
@@ -37653,6 +37667,20 @@
|
|
|
37653
37667
|
0
|
|
37654
37668
|
]
|
|
37655
37669
|
],
|
|
37670
|
+
[
|
|
37671
|
+
[
|
|
37672
|
+
"is",
|
|
37673
|
+
0
|
|
37674
|
+
],
|
|
37675
|
+
[
|
|
37676
|
+
"list",
|
|
37677
|
+
1
|
|
37678
|
+
],
|
|
37679
|
+
[
|
|
37680
|
+
"unknown",
|
|
37681
|
+
0
|
|
37682
|
+
]
|
|
37683
|
+
],
|
|
37656
37684
|
[
|
|
37657
37685
|
[
|
|
37658
37686
|
"is",
|
package/common/concept.js
CHANGED
package/common/conjunction.js
CHANGED
|
@@ -21,10 +21,8 @@ const config = {
|
|
|
21
21
|
*/
|
|
22
22
|
selector: {
|
|
23
23
|
match: "same",
|
|
24
|
-
left: [ { pattern: '($type && context.instance == variables.instance)' } ],
|
|
25
|
-
right: [ { pattern: '($type && context.instance == variables.instance)' } ],
|
|
26
|
-
// left: [ { pattern: '($type)' } ],
|
|
27
|
-
// right: [ { pattern: '($type)' } ],
|
|
24
|
+
left: [ { pattern: '($type && context.instance == variables.instance && !@<=$contexts[1].notConjunctableWith))' } ],
|
|
25
|
+
right: [ { pattern: '($type && context.instance == variables.instance && !@<=$contexts[-1].notConjunctableWith))' } ],
|
|
28
26
|
passthrough: true
|
|
29
27
|
},
|
|
30
28
|
bridge: "{ ...next(operator), listable: true, isList: true, value: append(before, after) }"
|
|
@@ -32368,24 +32368,6 @@
|
|
|
32368
32368
|
0
|
|
32369
32369
|
]
|
|
32370
32370
|
],
|
|
32371
|
-
[
|
|
32372
|
-
[
|
|
32373
|
-
"is",
|
|
32374
|
-
0
|
|
32375
|
-
],
|
|
32376
|
-
[
|
|
32377
|
-
"propertyOf",
|
|
32378
|
-
0
|
|
32379
|
-
],
|
|
32380
|
-
[
|
|
32381
|
-
"the",
|
|
32382
|
-
0
|
|
32383
|
-
],
|
|
32384
|
-
[
|
|
32385
|
-
"unknown",
|
|
32386
|
-
0
|
|
32387
|
-
]
|
|
32388
|
-
],
|
|
32389
32371
|
[
|
|
32390
32372
|
[
|
|
32391
32373
|
"is",
|
|
@@ -49962,6 +49944,32 @@
|
|
|
49962
49944
|
0
|
|
49963
49945
|
]
|
|
49964
49946
|
],
|
|
49947
|
+
[
|
|
49948
|
+
[
|
|
49949
|
+
"arm",
|
|
49950
|
+
0
|
|
49951
|
+
],
|
|
49952
|
+
[
|
|
49953
|
+
"means",
|
|
49954
|
+
0
|
|
49955
|
+
],
|
|
49956
|
+
[
|
|
49957
|
+
"propertyOf",
|
|
49958
|
+
0
|
|
49959
|
+
],
|
|
49960
|
+
[
|
|
49961
|
+
"status",
|
|
49962
|
+
0
|
|
49963
|
+
],
|
|
49964
|
+
[
|
|
49965
|
+
"the",
|
|
49966
|
+
0
|
|
49967
|
+
],
|
|
49968
|
+
[
|
|
49969
|
+
"unknown",
|
|
49970
|
+
0
|
|
49971
|
+
]
|
|
49972
|
+
],
|
|
49965
49973
|
[
|
|
49966
49974
|
[
|
|
49967
49975
|
"arm",
|
|
@@ -53630,6 +53638,40 @@
|
|
|
53630
53638
|
0
|
|
53631
53639
|
]
|
|
53632
53640
|
],
|
|
53641
|
+
[
|
|
53642
|
+
[
|
|
53643
|
+
"disarm",
|
|
53644
|
+
0
|
|
53645
|
+
],
|
|
53646
|
+
[
|
|
53647
|
+
"is",
|
|
53648
|
+
0
|
|
53649
|
+
],
|
|
53650
|
+
[
|
|
53651
|
+
"means",
|
|
53652
|
+
0
|
|
53653
|
+
],
|
|
53654
|
+
[
|
|
53655
|
+
"not",
|
|
53656
|
+
0
|
|
53657
|
+
],
|
|
53658
|
+
[
|
|
53659
|
+
"propertyOf",
|
|
53660
|
+
0
|
|
53661
|
+
],
|
|
53662
|
+
[
|
|
53663
|
+
"status",
|
|
53664
|
+
0
|
|
53665
|
+
],
|
|
53666
|
+
[
|
|
53667
|
+
"the",
|
|
53668
|
+
0
|
|
53669
|
+
],
|
|
53670
|
+
[
|
|
53671
|
+
"unknown",
|
|
53672
|
+
0
|
|
53673
|
+
]
|
|
53674
|
+
],
|
|
53633
53675
|
[
|
|
53634
53676
|
[
|
|
53635
53677
|
"disarm",
|
|
@@ -55273,6 +55315,32 @@
|
|
|
55273
55315
|
0
|
|
55274
55316
|
]
|
|
55275
55317
|
],
|
|
55318
|
+
[
|
|
55319
|
+
[
|
|
55320
|
+
"arm",
|
|
55321
|
+
0
|
|
55322
|
+
],
|
|
55323
|
+
[
|
|
55324
|
+
"means",
|
|
55325
|
+
0
|
|
55326
|
+
],
|
|
55327
|
+
[
|
|
55328
|
+
"propertyOf",
|
|
55329
|
+
0
|
|
55330
|
+
],
|
|
55331
|
+
[
|
|
55332
|
+
"status",
|
|
55333
|
+
0
|
|
55334
|
+
],
|
|
55335
|
+
[
|
|
55336
|
+
"the",
|
|
55337
|
+
0
|
|
55338
|
+
],
|
|
55339
|
+
[
|
|
55340
|
+
"unknown",
|
|
55341
|
+
0
|
|
55342
|
+
]
|
|
55343
|
+
],
|
|
55276
55344
|
[
|
|
55277
55345
|
[
|
|
55278
55346
|
"arm",
|
|
@@ -55371,6 +55439,40 @@
|
|
|
55371
55439
|
0
|
|
55372
55440
|
]
|
|
55373
55441
|
],
|
|
55442
|
+
[
|
|
55443
|
+
[
|
|
55444
|
+
"disarm",
|
|
55445
|
+
0
|
|
55446
|
+
],
|
|
55447
|
+
[
|
|
55448
|
+
"is",
|
|
55449
|
+
0
|
|
55450
|
+
],
|
|
55451
|
+
[
|
|
55452
|
+
"means",
|
|
55453
|
+
0
|
|
55454
|
+
],
|
|
55455
|
+
[
|
|
55456
|
+
"not",
|
|
55457
|
+
0
|
|
55458
|
+
],
|
|
55459
|
+
[
|
|
55460
|
+
"propertyOf",
|
|
55461
|
+
0
|
|
55462
|
+
],
|
|
55463
|
+
[
|
|
55464
|
+
"status",
|
|
55465
|
+
0
|
|
55466
|
+
],
|
|
55467
|
+
[
|
|
55468
|
+
"the",
|
|
55469
|
+
0
|
|
55470
|
+
],
|
|
55471
|
+
[
|
|
55472
|
+
"unknown",
|
|
55473
|
+
0
|
|
55474
|
+
]
|
|
55475
|
+
],
|
|
55374
55476
|
[
|
|
55375
55477
|
[
|
|
55376
55478
|
"disarm",
|
|
@@ -56119,24 +56221,6 @@
|
|
|
56119
56221
|
0
|
|
56120
56222
|
]
|
|
56121
56223
|
],
|
|
56122
|
-
[
|
|
56123
|
-
[
|
|
56124
|
-
"is",
|
|
56125
|
-
0
|
|
56126
|
-
],
|
|
56127
|
-
[
|
|
56128
|
-
"propertyOf",
|
|
56129
|
-
0
|
|
56130
|
-
],
|
|
56131
|
-
[
|
|
56132
|
-
"the",
|
|
56133
|
-
0
|
|
56134
|
-
],
|
|
56135
|
-
[
|
|
56136
|
-
"unknown",
|
|
56137
|
-
0
|
|
56138
|
-
]
|
|
56139
|
-
],
|
|
56140
56224
|
[
|
|
56141
56225
|
[
|
|
56142
56226
|
"is",
|
|
@@ -3441,6 +3441,20 @@
|
|
|
3441
3441
|
0
|
|
3442
3442
|
]
|
|
3443
3443
|
],
|
|
3444
|
+
[
|
|
3445
|
+
[
|
|
3446
|
+
"is",
|
|
3447
|
+
0
|
|
3448
|
+
],
|
|
3449
|
+
[
|
|
3450
|
+
"list",
|
|
3451
|
+
1
|
|
3452
|
+
],
|
|
3453
|
+
[
|
|
3454
|
+
"unknown",
|
|
3455
|
+
0
|
|
3456
|
+
]
|
|
3457
|
+
],
|
|
3444
3458
|
[
|
|
3445
3459
|
[
|
|
3446
3460
|
"is",
|
|
@@ -11876,6 +11890,20 @@
|
|
|
11876
11890
|
0
|
|
11877
11891
|
]
|
|
11878
11892
|
],
|
|
11893
|
+
[
|
|
11894
|
+
[
|
|
11895
|
+
"is",
|
|
11896
|
+
0
|
|
11897
|
+
],
|
|
11898
|
+
[
|
|
11899
|
+
"list",
|
|
11900
|
+
1
|
|
11901
|
+
],
|
|
11902
|
+
[
|
|
11903
|
+
"unknown",
|
|
11904
|
+
0
|
|
11905
|
+
]
|
|
11906
|
+
],
|
|
11879
11907
|
[
|
|
11880
11908
|
[
|
|
11881
11909
|
"is",
|
|
@@ -16090,6 +16118,20 @@
|
|
|
16090
16118
|
0
|
|
16091
16119
|
]
|
|
16092
16120
|
],
|
|
16121
|
+
[
|
|
16122
|
+
[
|
|
16123
|
+
"is",
|
|
16124
|
+
0
|
|
16125
|
+
],
|
|
16126
|
+
[
|
|
16127
|
+
"list",
|
|
16128
|
+
1
|
|
16129
|
+
],
|
|
16130
|
+
[
|
|
16131
|
+
"unknown",
|
|
16132
|
+
0
|
|
16133
|
+
]
|
|
16134
|
+
],
|
|
16093
16135
|
[
|
|
16094
16136
|
[
|
|
16095
16137
|
"is",
|
|
@@ -19201,6 +19243,48 @@
|
|
|
19201
19243
|
0
|
|
19202
19244
|
]
|
|
19203
19245
|
],
|
|
19246
|
+
[
|
|
19247
|
+
[
|
|
19248
|
+
"is",
|
|
19249
|
+
0
|
|
19250
|
+
],
|
|
19251
|
+
[
|
|
19252
|
+
"list",
|
|
19253
|
+
1
|
|
19254
|
+
],
|
|
19255
|
+
[
|
|
19256
|
+
"unknown",
|
|
19257
|
+
0
|
|
19258
|
+
]
|
|
19259
|
+
],
|
|
19260
|
+
[
|
|
19261
|
+
[
|
|
19262
|
+
"is",
|
|
19263
|
+
0
|
|
19264
|
+
],
|
|
19265
|
+
[
|
|
19266
|
+
"list",
|
|
19267
|
+
1
|
|
19268
|
+
],
|
|
19269
|
+
[
|
|
19270
|
+
"unknown",
|
|
19271
|
+
0
|
|
19272
|
+
]
|
|
19273
|
+
],
|
|
19274
|
+
[
|
|
19275
|
+
[
|
|
19276
|
+
"is",
|
|
19277
|
+
0
|
|
19278
|
+
],
|
|
19279
|
+
[
|
|
19280
|
+
"list",
|
|
19281
|
+
1
|
|
19282
|
+
],
|
|
19283
|
+
[
|
|
19284
|
+
"unknown",
|
|
19285
|
+
0
|
|
19286
|
+
]
|
|
19287
|
+
],
|
|
19204
19288
|
[
|
|
19205
19289
|
[
|
|
19206
19290
|
"setIdSuffix",
|