tpmkms 9.8.0 → 9.9.0
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/actions.instance.json +10 -8
- package/common/actions.js +13 -11
- package/common/angle.instance.json +25 -17
- package/common/animals.instance.json +54 -28
- package/common/askfor.instance.json +89 -192
- package/common/askfor.js +49 -12
- package/common/asking.js +13 -5
- package/common/avatar.js +3 -3
- package/common/can.instance.json +32 -20
- package/common/can.js +2 -2
- package/common/colors.instance.json +44 -16
- package/common/colors.js +1 -1
- package/common/comparable.instance.json +25 -22
- package/common/compass.instance.json +9 -3
- package/common/concept.instance.json +14 -6
- package/common/concept.js +2 -0
- package/common/conjunction.js +17 -9
- package/common/control.js +10 -18
- package/common/countable.js +4 -3
- package/common/crew.instance.json +95 -27
- package/common/dateTimeSelectors.instance.json +4 -4
- package/common/dateTimeSelectors.js +4 -7
- package/common/dates.instance.json +52 -28
- package/common/dates.js +16 -11
- package/common/debug.instance.json +48 -0
- package/common/debug.js +50 -0
- package/common/debug.test.json +1 -0
- package/common/dialogues.js +126 -70
- package/common/dimension.instance.json +239 -495
- package/common/dimension.js +51 -9
- package/common/drone.instance.json +395 -84
- package/common/drone.js +43 -50
- package/common/drone_v1.instance.json +36 -12
- package/common/drone_v1.js +14 -9
- package/common/edible.instance.json +96 -32
- package/common/emotions.instance.json +15 -1
- package/common/evaluate.js +10 -13
- package/common/fastfood.instance.json +282 -100
- package/common/fastfood.js +30 -15
- package/common/formulas.instance.json +162 -24
- package/common/formulas.js +18 -9
- package/common/gdefaults.js +20 -96
- package/common/helpers/concept.js +2 -9
- package/common/helpers/conjunction.js +11 -1
- package/common/helpers/dialogues.js +48 -24
- package/common/helpers/gdefaults.js +15 -5
- package/common/helpers/properties.js +125 -326
- package/common/helpers.js +28 -58
- package/common/hierarchy.js +71 -41
- package/common/kirk.instance.json +3 -1
- package/common/latin.instance.json +10 -10
- package/common/latin.js +5 -5
- package/common/length.instance.json +247 -61
- package/common/math.instance.json +144 -5
- package/common/math.js +18 -5
- package/common/menus.instance.json +29 -11
- package/common/menus.js +8 -5
- package/common/meta.js +14 -13
- package/common/nameable.js +9 -5
- package/common/numbers.instance.json +5 -3
- package/common/numbers.js +28 -28
- package/common/ordering.instance.json +53 -4
- package/common/ordinals.js +25 -25
- package/common/people.instance.json +66 -12
- package/common/percentages.js +4 -2
- package/common/pipboy.instance.json +89 -44
- package/common/pipboy.js +21 -14
- package/common/pokemon.instance.json +39 -13
- package/common/pressure.instance.json +14 -6
- package/common/properties.instance.json +2370 -511
- package/common/properties.js +496 -78
- package/common/punctuation.js +1 -0
- package/common/rates.instance.json +2 -2
- package/common/rates.js +3 -3
- package/common/reminders.instance.json +16 -0
- package/common/reminders.js +24 -20
- package/common/reports.instance.json +11 -12
- package/common/reports.js +12 -12
- package/common/scorekeeper.js +20 -10
- package/common/sdefaults.js +30 -9
- package/common/spock.instance.json +3 -1
- package/common/stm.js +16 -21
- package/common/temperature.instance.json +19 -11
- package/common/testing.js +2 -2
- package/common/time.instance.json +104 -47
- package/common/time.js +9 -8
- package/common/ui.instance.json +4 -2
- package/common/ui.js +5 -5
- package/common/weight.instance.json +86 -21
- package/common/weight.js +5 -1
- package/common/words.js +113 -2
- package/common/wp.instance.json +125 -18
- package/common/wp.js +6 -2
- package/main.js +2 -0
- package/package.json +7 -3
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"action": "(@<= 'action' || @<= 'doAction')"
|
|
47
47
|
}
|
|
48
48
|
},
|
|
49
|
-
"semantic": "async ({context, fragments, e,
|
|
49
|
+
"semantic": "async ({context, fragments, e, toFinalValue, kms}) => {\n const instantiation = await fragments(\"quantity in milliseconds\", { quantity: context.delayTime })\n const result = await e(instantiation, where())\n const milliseconds = toFinalValue(toFinalValue(result).amount)\n await kms.time.api.sleep(milliseconds)\n await e(context.action, where())\n }"
|
|
50
50
|
},
|
|
51
51
|
{
|
|
52
52
|
"where": "/home/dev/code/theprogrammablemind/kms/common/actions.js:62",
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
"action"
|
|
143
143
|
]
|
|
144
144
|
],
|
|
145
|
-
"semantic": "async ({context, toArray,
|
|
145
|
+
"semantic": "async ({context, toArray, e}) => {\n for (const action of toArray(context.action)) {\n await e(action, where())\n }\n }"
|
|
146
146
|
}
|
|
147
147
|
],
|
|
148
148
|
"words": {
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
"defs": [
|
|
159
159
|
{
|
|
160
160
|
"id": "action",
|
|
161
|
-
"initial": "{ value: text,
|
|
161
|
+
"initial": "{ value: text, isInstance: true, dead: true }"
|
|
162
162
|
}
|
|
163
163
|
]
|
|
164
164
|
}
|
|
@@ -166,8 +166,8 @@
|
|
|
166
166
|
},
|
|
167
167
|
"semantics": [
|
|
168
168
|
{
|
|
169
|
-
"match": "({context, isA, stack, namespaced}) => !context.pullFromContext && !
|
|
170
|
-
"apply": "async ({context, _continue, testLog,
|
|
169
|
+
"match": "({context, isA, contextHierarchy, stack, namespaced}) => {\n return !context.pullFromContext && !contextHierarchy.under('call') && (isA(context.marker, 'action') || isA(context.marker, 'doAction')) && !namespaced.get('actions', context, 'logged')\n }",
|
|
170
|
+
"apply": "async ({context, _continue, testLog, gp, remember}) => {\n remember(context)\n await testLog(() => gp(context))\n _continue()\n }"
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
}
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
"defs": [
|
|
331
331
|
{
|
|
332
332
|
"id": "action",
|
|
333
|
-
"initial": "{ value: text,
|
|
333
|
+
"initial": "{ value: text, isInstance: true, dead: true }"
|
|
334
334
|
}
|
|
335
335
|
]
|
|
336
336
|
}
|
|
@@ -427,8 +427,7 @@
|
|
|
427
427
|
},
|
|
428
428
|
"level": 1,
|
|
429
429
|
"context_index": 1,
|
|
430
|
-
"topLevel": true
|
|
431
|
-
"context_id": 2
|
|
430
|
+
"topLevel": true
|
|
432
431
|
}
|
|
433
432
|
],
|
|
434
433
|
"generated": [
|
|
@@ -536,6 +535,9 @@
|
|
|
536
535
|
}
|
|
537
536
|
],
|
|
538
537
|
"learned_contextual_priorities": [],
|
|
538
|
+
"explain_associations_details": [
|
|
539
|
+
null
|
|
540
|
+
],
|
|
539
541
|
"query": "quantity in milliseconds",
|
|
540
542
|
"skipSemantics": true,
|
|
541
543
|
"key": {
|
package/common/actions.js
CHANGED
|
@@ -50,12 +50,12 @@ const config = {
|
|
|
50
50
|
action: "(@<= 'action' || @<= 'doAction')",
|
|
51
51
|
},
|
|
52
52
|
},
|
|
53
|
-
semantic: async ({context, fragments, e,
|
|
53
|
+
semantic: async ({context, fragments, e, toFinalValue, kms}) => {
|
|
54
54
|
const instantiation = await fragments("quantity in milliseconds", { quantity: context.delayTime })
|
|
55
|
-
const result = await e(instantiation)
|
|
55
|
+
const result = await e(instantiation, where())
|
|
56
56
|
const milliseconds = toFinalValue(toFinalValue(result).amount)
|
|
57
57
|
await kms.time.api.sleep(milliseconds)
|
|
58
|
-
await
|
|
58
|
+
await e(context.action, where())
|
|
59
59
|
}
|
|
60
60
|
},
|
|
61
61
|
{
|
|
@@ -98,9 +98,9 @@ const config = {
|
|
|
98
98
|
bridge: "{ ...next(operator), value: append(before, operator.value) }",
|
|
99
99
|
semantic: {
|
|
100
100
|
match: ({context}) => context.isList,
|
|
101
|
-
apply: async ({context, toArray,
|
|
101
|
+
apply: async ({context, toArray, e}) => {
|
|
102
102
|
for (const action of toArray(context)) {
|
|
103
|
-
await
|
|
103
|
+
await e(action, where())
|
|
104
104
|
}
|
|
105
105
|
},
|
|
106
106
|
}
|
|
@@ -131,26 +131,28 @@ const config = {
|
|
|
131
131
|
}`,
|
|
132
132
|
localHierarchy: [['thisitthat', 'action']],
|
|
133
133
|
where: where(),
|
|
134
|
-
semantic: async ({context, toArray,
|
|
134
|
+
semantic: async ({context, toArray, e}) => {
|
|
135
135
|
for (const action of toArray(context.action)) {
|
|
136
|
-
await
|
|
136
|
+
await e(action, where())
|
|
137
137
|
}
|
|
138
138
|
},
|
|
139
139
|
},
|
|
140
140
|
],
|
|
141
141
|
words: {
|
|
142
142
|
patterns: [
|
|
143
|
-
{ "pattern": ["action", { type: 'digit' }], allow_partial_matches: false, defs: [{id: "action", initial: "{ value: text,
|
|
143
|
+
{ "pattern": ["action", { type: 'digit' }], allow_partial_matches: false, defs: [{id: "action", initial: "{ value: text, isInstance: true, dead: true }" }]},
|
|
144
144
|
],
|
|
145
145
|
},
|
|
146
146
|
semantics: [
|
|
147
147
|
{
|
|
148
148
|
where: where(),
|
|
149
149
|
priority: -1,
|
|
150
|
-
match: ({context, isA, stack, namespaced}) =>
|
|
151
|
-
|
|
150
|
+
match: ({context, isA, contextHierarchy, stack, namespaced}) => {
|
|
151
|
+
return !context.pullFromContext && !contextHierarchy.under('call') && (isA(context.marker, 'action') || isA(context.marker, 'doAction')) && !namespaced.get('actions', context, 'logged')
|
|
152
|
+
},
|
|
153
|
+
apply: async ({context, _continue, testLog, gp, remember}) => {
|
|
152
154
|
remember(context)
|
|
153
|
-
await testLog(() =>
|
|
155
|
+
await testLog(() => gp(context))
|
|
154
156
|
_continue()
|
|
155
157
|
}
|
|
156
158
|
},
|
|
@@ -140,7 +140,6 @@
|
|
|
140
140
|
"level": 2,
|
|
141
141
|
"context_index": 1,
|
|
142
142
|
"topLevel": true,
|
|
143
|
-
"context_id": 2,
|
|
144
143
|
"touchedBy": [
|
|
145
144
|
"angle#call2"
|
|
146
145
|
]
|
|
@@ -321,6 +320,9 @@
|
|
|
321
320
|
}
|
|
322
321
|
],
|
|
323
322
|
"learned_contextual_priorities": [],
|
|
323
|
+
"explain_associations_details": [
|
|
324
|
+
null
|
|
325
|
+
],
|
|
324
326
|
"query": "angle is a dimension",
|
|
325
327
|
"key": {
|
|
326
328
|
"query": "angle is a dimension"
|
|
@@ -340,7 +342,7 @@
|
|
|
340
342
|
0
|
|
341
343
|
],
|
|
342
344
|
[
|
|
343
|
-
"
|
|
345
|
+
"hasPropertyValue",
|
|
344
346
|
0
|
|
345
347
|
],
|
|
346
348
|
[
|
|
@@ -373,7 +375,7 @@
|
|
|
373
375
|
0
|
|
374
376
|
],
|
|
375
377
|
[
|
|
376
|
-
"
|
|
378
|
+
"hasPropertyValue",
|
|
377
379
|
0
|
|
378
380
|
],
|
|
379
381
|
[
|
|
@@ -402,7 +404,7 @@
|
|
|
402
404
|
0
|
|
403
405
|
],
|
|
404
406
|
[
|
|
405
|
-
"
|
|
407
|
+
"hasPropertyValue",
|
|
406
408
|
0
|
|
407
409
|
],
|
|
408
410
|
[
|
|
@@ -647,7 +649,6 @@
|
|
|
647
649
|
"level": 2,
|
|
648
650
|
"context_index": 1,
|
|
649
651
|
"topLevel": true,
|
|
650
|
-
"context_id": 2,
|
|
651
652
|
"touchedBy": [
|
|
652
653
|
"angle#call2"
|
|
653
654
|
]
|
|
@@ -702,7 +703,7 @@
|
|
|
702
703
|
},
|
|
703
704
|
{
|
|
704
705
|
"marker": [
|
|
705
|
-
"
|
|
706
|
+
"hasPropertyValue",
|
|
706
707
|
0
|
|
707
708
|
],
|
|
708
709
|
"range": {
|
|
@@ -777,7 +778,7 @@
|
|
|
777
778
|
},
|
|
778
779
|
{
|
|
779
780
|
"marker": [
|
|
780
|
-
"
|
|
781
|
+
"hasPropertyValue",
|
|
781
782
|
0
|
|
782
783
|
],
|
|
783
784
|
"range": {
|
|
@@ -852,7 +853,7 @@
|
|
|
852
853
|
},
|
|
853
854
|
{
|
|
854
855
|
"marker": [
|
|
855
|
-
"
|
|
856
|
+
"hasPropertyValue",
|
|
856
857
|
0
|
|
857
858
|
],
|
|
858
859
|
"range": {
|
|
@@ -1118,6 +1119,9 @@
|
|
|
1118
1119
|
}
|
|
1119
1120
|
],
|
|
1120
1121
|
"learned_contextual_priorities": [],
|
|
1122
|
+
"explain_associations_details": [
|
|
1123
|
+
null
|
|
1124
|
+
],
|
|
1121
1125
|
"query": "degrees and radians are units of angle",
|
|
1122
1126
|
"key": {
|
|
1123
1127
|
"query": "degrees and radians are units of angle"
|
|
@@ -1361,7 +1365,7 @@
|
|
|
1361
1365
|
},
|
|
1362
1366
|
"y": {
|
|
1363
1367
|
"value": 180,
|
|
1364
|
-
"
|
|
1368
|
+
"isInstance": true,
|
|
1365
1369
|
"text": "180",
|
|
1366
1370
|
"marker": "integer",
|
|
1367
1371
|
"word": "180",
|
|
@@ -1393,7 +1397,7 @@
|
|
|
1393
1397
|
"y": {
|
|
1394
1398
|
"value": 3.1415926,
|
|
1395
1399
|
"integer": "many",
|
|
1396
|
-
"
|
|
1400
|
+
"isInstance": true,
|
|
1397
1401
|
"marker": "integer",
|
|
1398
1402
|
"word": "pi",
|
|
1399
1403
|
"text": "pi",
|
|
@@ -1425,7 +1429,6 @@
|
|
|
1425
1429
|
"level": 1,
|
|
1426
1430
|
"context_index": 1,
|
|
1427
1431
|
"topLevel": true,
|
|
1428
|
-
"context_id": 2,
|
|
1429
1432
|
"touchedBy": [
|
|
1430
1433
|
"angle#call2"
|
|
1431
1434
|
]
|
|
@@ -1781,6 +1784,9 @@
|
|
|
1781
1784
|
}
|
|
1782
1785
|
],
|
|
1783
1786
|
"learned_contextual_priorities": [],
|
|
1787
|
+
"explain_associations_details": [
|
|
1788
|
+
null
|
|
1789
|
+
],
|
|
1784
1790
|
"query": "degrees = radians * 180 / pi",
|
|
1785
1791
|
"key": {
|
|
1786
1792
|
"query": "degrees = radians * 180 / pi"
|
|
@@ -2025,7 +2031,7 @@
|
|
|
2025
2031
|
"y": {
|
|
2026
2032
|
"value": 3.1415926,
|
|
2027
2033
|
"integer": "many",
|
|
2028
|
-
"
|
|
2034
|
+
"isInstance": true,
|
|
2029
2035
|
"marker": "integer",
|
|
2030
2036
|
"word": "pi",
|
|
2031
2037
|
"text": "pi",
|
|
@@ -2056,7 +2062,7 @@
|
|
|
2056
2062
|
},
|
|
2057
2063
|
"y": {
|
|
2058
2064
|
"value": 180,
|
|
2059
|
-
"
|
|
2065
|
+
"isInstance": true,
|
|
2060
2066
|
"text": "180",
|
|
2061
2067
|
"marker": "integer",
|
|
2062
2068
|
"word": "180",
|
|
@@ -2088,7 +2094,6 @@
|
|
|
2088
2094
|
"level": 1,
|
|
2089
2095
|
"context_index": 1,
|
|
2090
2096
|
"topLevel": true,
|
|
2091
|
-
"context_id": 2,
|
|
2092
2097
|
"touchedBy": [
|
|
2093
2098
|
"angle#call2"
|
|
2094
2099
|
]
|
|
@@ -2444,6 +2449,9 @@
|
|
|
2444
2449
|
}
|
|
2445
2450
|
],
|
|
2446
2451
|
"learned_contextual_priorities": [],
|
|
2452
|
+
"explain_associations_details": [
|
|
2453
|
+
null
|
|
2454
|
+
],
|
|
2447
2455
|
"query": "radians = degrees * pi / 180",
|
|
2448
2456
|
"key": {
|
|
2449
2457
|
"query": "radians = degrees * pi / 180"
|
|
@@ -2650,7 +2658,7 @@
|
|
|
2650
2658
|
},
|
|
2651
2659
|
{
|
|
2652
2660
|
"marker": [
|
|
2653
|
-
"
|
|
2661
|
+
"hasPropertyValue",
|
|
2654
2662
|
0
|
|
2655
2663
|
],
|
|
2656
2664
|
"range": {
|
|
@@ -2725,7 +2733,7 @@
|
|
|
2725
2733
|
},
|
|
2726
2734
|
{
|
|
2727
2735
|
"marker": [
|
|
2728
|
-
"
|
|
2736
|
+
"hasPropertyValue",
|
|
2729
2737
|
0
|
|
2730
2738
|
],
|
|
2731
2739
|
"range": {
|
|
@@ -2800,7 +2808,7 @@
|
|
|
2800
2808
|
},
|
|
2801
2809
|
{
|
|
2802
2810
|
"marker": [
|
|
2803
|
-
"
|
|
2811
|
+
"hasPropertyValue",
|
|
2804
2812
|
0
|
|
2805
2813
|
],
|
|
2806
2814
|
"range": {
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
],
|
|
26
26
|
"ops": [
|
|
27
27
|
[
|
|
28
|
-
"
|
|
28
|
+
"hasPropertyValue",
|
|
29
29
|
0
|
|
30
30
|
],
|
|
31
31
|
[
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
],
|
|
55
55
|
"ops": [
|
|
56
56
|
[
|
|
57
|
-
"
|
|
57
|
+
"hasPropertyValue",
|
|
58
58
|
0
|
|
59
59
|
],
|
|
60
60
|
[
|
|
@@ -79,7 +79,7 @@
|
|
|
79
79
|
],
|
|
80
80
|
"ops": [
|
|
81
81
|
[
|
|
82
|
-
"
|
|
82
|
+
"hasPropertyValue",
|
|
83
83
|
0
|
|
84
84
|
],
|
|
85
85
|
[
|
|
@@ -233,7 +233,6 @@
|
|
|
233
233
|
"level": 2,
|
|
234
234
|
"context_index": 1,
|
|
235
235
|
"topLevel": true,
|
|
236
|
-
"context_id": 2,
|
|
237
236
|
"touchedBy": [
|
|
238
237
|
"animals#call2"
|
|
239
238
|
]
|
|
@@ -288,7 +287,7 @@
|
|
|
288
287
|
},
|
|
289
288
|
{
|
|
290
289
|
"marker": [
|
|
291
|
-
"
|
|
290
|
+
"hasPropertyValue",
|
|
292
291
|
0
|
|
293
292
|
],
|
|
294
293
|
"range": {
|
|
@@ -343,7 +342,7 @@
|
|
|
343
342
|
},
|
|
344
343
|
{
|
|
345
344
|
"marker": [
|
|
346
|
-
"
|
|
345
|
+
"hasPropertyValue",
|
|
347
346
|
0
|
|
348
347
|
],
|
|
349
348
|
"range": {
|
|
@@ -398,7 +397,7 @@
|
|
|
398
397
|
},
|
|
399
398
|
{
|
|
400
399
|
"marker": [
|
|
401
|
-
"
|
|
400
|
+
"hasPropertyValue",
|
|
402
401
|
0
|
|
403
402
|
],
|
|
404
403
|
"range": {
|
|
@@ -544,6 +543,9 @@
|
|
|
544
543
|
}
|
|
545
544
|
],
|
|
546
545
|
"learned_contextual_priorities": [],
|
|
546
|
+
"explain_associations_details": [
|
|
547
|
+
null
|
|
548
|
+
],
|
|
547
549
|
"query": "birds and mammals are animals",
|
|
548
550
|
"key": {
|
|
549
551
|
"query": "birds and mammals are animals"
|
|
@@ -647,7 +649,7 @@
|
|
|
647
649
|
"level": 0
|
|
648
650
|
},
|
|
649
651
|
"property": {
|
|
650
|
-
"value": "
|
|
652
|
+
"value": "ear",
|
|
651
653
|
"unknown": true,
|
|
652
654
|
"text": "ears",
|
|
653
655
|
"marker": "property",
|
|
@@ -670,7 +672,6 @@
|
|
|
670
672
|
"level": 2,
|
|
671
673
|
"context_index": 1,
|
|
672
674
|
"topLevel": true,
|
|
673
|
-
"context_id": 2,
|
|
674
675
|
"sameWasProcessed": true,
|
|
675
676
|
"touchedBy": [
|
|
676
677
|
"animals#call2"
|
|
@@ -832,6 +833,9 @@
|
|
|
832
833
|
}
|
|
833
834
|
],
|
|
834
835
|
"learned_contextual_priorities": [],
|
|
836
|
+
"explain_associations_details": [
|
|
837
|
+
null
|
|
838
|
+
],
|
|
835
839
|
"query": "mammals have ears",
|
|
836
840
|
"key": {
|
|
837
841
|
"query": "mammals have ears"
|
|
@@ -958,7 +962,6 @@
|
|
|
958
962
|
"level": 2,
|
|
959
963
|
"context_index": 1,
|
|
960
964
|
"topLevel": true,
|
|
961
|
-
"context_id": 2,
|
|
962
965
|
"sameWasProcessed": true,
|
|
963
966
|
"touchedBy": [
|
|
964
967
|
"animals#call2"
|
|
@@ -1120,6 +1123,9 @@
|
|
|
1120
1123
|
}
|
|
1121
1124
|
],
|
|
1122
1125
|
"learned_contextual_priorities": [],
|
|
1126
|
+
"explain_associations_details": [
|
|
1127
|
+
null
|
|
1128
|
+
],
|
|
1123
1129
|
"query": "mammals have hair",
|
|
1124
1130
|
"key": {
|
|
1125
1131
|
"query": "mammals have hair"
|
|
@@ -1253,7 +1259,7 @@
|
|
|
1253
1259
|
"level": 0
|
|
1254
1260
|
},
|
|
1255
1261
|
"property": {
|
|
1256
|
-
"value": "
|
|
1262
|
+
"value": "wing",
|
|
1257
1263
|
"unknown": true,
|
|
1258
1264
|
"text": "wings",
|
|
1259
1265
|
"marker": "property",
|
|
@@ -1276,7 +1282,6 @@
|
|
|
1276
1282
|
"level": 2,
|
|
1277
1283
|
"context_index": 1,
|
|
1278
1284
|
"topLevel": true,
|
|
1279
|
-
"context_id": 2,
|
|
1280
1285
|
"sameWasProcessed": true,
|
|
1281
1286
|
"touchedBy": [
|
|
1282
1287
|
"animals#call2"
|
|
@@ -1503,6 +1508,9 @@
|
|
|
1503
1508
|
}
|
|
1504
1509
|
],
|
|
1505
1510
|
"learned_contextual_priorities": [],
|
|
1511
|
+
"explain_associations_details": [
|
|
1512
|
+
null
|
|
1513
|
+
],
|
|
1506
1514
|
"query": "mammals dont have wings",
|
|
1507
1515
|
"key": {
|
|
1508
1516
|
"query": "mammals dont have wings"
|
|
@@ -1629,7 +1637,6 @@
|
|
|
1629
1637
|
"level": 2,
|
|
1630
1638
|
"context_index": 1,
|
|
1631
1639
|
"topLevel": true,
|
|
1632
|
-
"context_id": 2,
|
|
1633
1640
|
"sameWasProcessed": true,
|
|
1634
1641
|
"touchedBy": [
|
|
1635
1642
|
"animals#call2"
|
|
@@ -1791,6 +1798,9 @@
|
|
|
1791
1798
|
}
|
|
1792
1799
|
],
|
|
1793
1800
|
"learned_contextual_priorities": [],
|
|
1801
|
+
"explain_associations_details": [
|
|
1802
|
+
null
|
|
1803
|
+
],
|
|
1794
1804
|
"query": "animals have skin",
|
|
1795
1805
|
"key": {
|
|
1796
1806
|
"query": "animals have skin"
|
|
@@ -1894,7 +1904,7 @@
|
|
|
1894
1904
|
"level": 0
|
|
1895
1905
|
},
|
|
1896
1906
|
"property": {
|
|
1897
|
-
"value": "
|
|
1907
|
+
"value": "eye",
|
|
1898
1908
|
"unknown": true,
|
|
1899
1909
|
"text": "eyes",
|
|
1900
1910
|
"marker": "property",
|
|
@@ -1917,7 +1927,6 @@
|
|
|
1917
1927
|
"level": 2,
|
|
1918
1928
|
"context_index": 1,
|
|
1919
1929
|
"topLevel": true,
|
|
1920
|
-
"context_id": 2,
|
|
1921
1930
|
"sameWasProcessed": true,
|
|
1922
1931
|
"touchedBy": [
|
|
1923
1932
|
"animals#call2"
|
|
@@ -2079,6 +2088,9 @@
|
|
|
2079
2088
|
}
|
|
2080
2089
|
],
|
|
2081
2090
|
"learned_contextual_priorities": [],
|
|
2091
|
+
"explain_associations_details": [
|
|
2092
|
+
null
|
|
2093
|
+
],
|
|
2082
2094
|
"query": "animals have eyes",
|
|
2083
2095
|
"key": {
|
|
2084
2096
|
"query": "animals have eyes"
|
|
@@ -2182,7 +2194,7 @@
|
|
|
2182
2194
|
"level": 0
|
|
2183
2195
|
},
|
|
2184
2196
|
"property": {
|
|
2185
|
-
"value": "
|
|
2197
|
+
"value": "wing",
|
|
2186
2198
|
"unknown": true,
|
|
2187
2199
|
"text": "wings",
|
|
2188
2200
|
"marker": "property",
|
|
@@ -2205,7 +2217,6 @@
|
|
|
2205
2217
|
"level": 2,
|
|
2206
2218
|
"context_index": 1,
|
|
2207
2219
|
"topLevel": true,
|
|
2208
|
-
"context_id": 2,
|
|
2209
2220
|
"sameWasProcessed": true,
|
|
2210
2221
|
"touchedBy": [
|
|
2211
2222
|
"animals#call2"
|
|
@@ -2367,6 +2378,9 @@
|
|
|
2367
2378
|
}
|
|
2368
2379
|
],
|
|
2369
2380
|
"learned_contextual_priorities": [],
|
|
2381
|
+
"explain_associations_details": [
|
|
2382
|
+
null
|
|
2383
|
+
],
|
|
2370
2384
|
"query": "birds have wings",
|
|
2371
2385
|
"key": {
|
|
2372
2386
|
"query": "birds have wings"
|
|
@@ -2470,7 +2484,7 @@
|
|
|
2470
2484
|
"level": 0
|
|
2471
2485
|
},
|
|
2472
2486
|
"property": {
|
|
2473
|
-
"value": "
|
|
2487
|
+
"value": "beak",
|
|
2474
2488
|
"unknown": true,
|
|
2475
2489
|
"text": "beaks",
|
|
2476
2490
|
"marker": "property",
|
|
@@ -2493,7 +2507,6 @@
|
|
|
2493
2507
|
"level": 2,
|
|
2494
2508
|
"context_index": 1,
|
|
2495
2509
|
"topLevel": true,
|
|
2496
|
-
"context_id": 2,
|
|
2497
2510
|
"sameWasProcessed": true,
|
|
2498
2511
|
"touchedBy": [
|
|
2499
2512
|
"animals#call2"
|
|
@@ -2655,6 +2668,9 @@
|
|
|
2655
2668
|
}
|
|
2656
2669
|
],
|
|
2657
2670
|
"learned_contextual_priorities": [],
|
|
2671
|
+
"explain_associations_details": [
|
|
2672
|
+
null
|
|
2673
|
+
],
|
|
2658
2674
|
"query": "birds have beaks",
|
|
2659
2675
|
"key": {
|
|
2660
2676
|
"query": "birds have beaks"
|
|
@@ -3022,7 +3038,6 @@
|
|
|
3022
3038
|
"level": 2,
|
|
3023
3039
|
"context_index": 1,
|
|
3024
3040
|
"topLevel": true,
|
|
3025
|
-
"context_id": 2,
|
|
3026
3041
|
"touchedBy": [
|
|
3027
3042
|
"animals#call2"
|
|
3028
3043
|
]
|
|
@@ -3623,6 +3638,9 @@
|
|
|
3623
3638
|
}
|
|
3624
3639
|
],
|
|
3625
3640
|
"learned_contextual_priorities": [],
|
|
3641
|
+
"explain_associations_details": [
|
|
3642
|
+
null
|
|
3643
|
+
],
|
|
3626
3644
|
"query": "humans bats felines and canines are mammals",
|
|
3627
3645
|
"key": {
|
|
3628
3646
|
"query": "humans bats felines and canines are mammals"
|
|
@@ -3990,7 +4008,6 @@
|
|
|
3990
4008
|
"level": 2,
|
|
3991
4009
|
"context_index": 1,
|
|
3992
4010
|
"topLevel": true,
|
|
3993
|
-
"context_id": 2,
|
|
3994
4011
|
"touchedBy": [
|
|
3995
4012
|
"animals#call2"
|
|
3996
4013
|
]
|
|
@@ -4591,6 +4608,9 @@
|
|
|
4591
4608
|
}
|
|
4592
4609
|
],
|
|
4593
4610
|
"learned_contextual_priorities": [],
|
|
4611
|
+
"explain_associations_details": [
|
|
4612
|
+
null
|
|
4613
|
+
],
|
|
4594
4614
|
"query": "owls eagles pidgeons and parrots are birds",
|
|
4595
4615
|
"key": {
|
|
4596
4616
|
"query": "owls eagles pidgeons and parrots are birds"
|
|
@@ -4714,7 +4734,6 @@
|
|
|
4714
4734
|
"level": 2,
|
|
4715
4735
|
"context_index": 1,
|
|
4716
4736
|
"topLevel": true,
|
|
4717
|
-
"context_id": 2,
|
|
4718
4737
|
"touchedBy": [
|
|
4719
4738
|
"animals#call2"
|
|
4720
4739
|
]
|
|
@@ -4875,6 +4894,9 @@
|
|
|
4875
4894
|
}
|
|
4876
4895
|
],
|
|
4877
4896
|
"learned_contextual_priorities": [],
|
|
4897
|
+
"explain_associations_details": [
|
|
4898
|
+
null
|
|
4899
|
+
],
|
|
4878
4900
|
"query": "cats are felines",
|
|
4879
4901
|
"key": {
|
|
4880
4902
|
"query": "cats are felines"
|
|
@@ -5098,7 +5120,6 @@
|
|
|
5098
5120
|
"level": 2,
|
|
5099
5121
|
"context_index": 1,
|
|
5100
5122
|
"topLevel": true,
|
|
5101
|
-
"context_id": 2,
|
|
5102
5123
|
"touchedBy": [
|
|
5103
5124
|
"animals#call2"
|
|
5104
5125
|
]
|
|
@@ -5389,6 +5410,9 @@
|
|
|
5389
5410
|
}
|
|
5390
5411
|
],
|
|
5391
5412
|
"learned_contextual_priorities": [],
|
|
5413
|
+
"explain_associations_details": [
|
|
5414
|
+
null
|
|
5415
|
+
],
|
|
5392
5416
|
"query": "dogs and wolves are canines",
|
|
5393
5417
|
"key": {
|
|
5394
5418
|
"query": "dogs and wolves are canines"
|
|
@@ -5492,7 +5516,7 @@
|
|
|
5492
5516
|
"level": 0
|
|
5493
5517
|
},
|
|
5494
5518
|
"property": {
|
|
5495
|
-
"value": "
|
|
5519
|
+
"value": "wing",
|
|
5496
5520
|
"unknown": true,
|
|
5497
5521
|
"text": "wings",
|
|
5498
5522
|
"marker": "property",
|
|
@@ -5515,7 +5539,6 @@
|
|
|
5515
5539
|
"level": 2,
|
|
5516
5540
|
"context_index": 1,
|
|
5517
5541
|
"topLevel": true,
|
|
5518
|
-
"context_id": 2,
|
|
5519
5542
|
"sameWasProcessed": true,
|
|
5520
5543
|
"touchedBy": [
|
|
5521
5544
|
"animals#call2"
|
|
@@ -5677,6 +5700,9 @@
|
|
|
5677
5700
|
}
|
|
5678
5701
|
],
|
|
5679
5702
|
"learned_contextual_priorities": [],
|
|
5703
|
+
"explain_associations_details": [
|
|
5704
|
+
null
|
|
5705
|
+
],
|
|
5680
5706
|
"query": "bats have wings",
|
|
5681
5707
|
"key": {
|
|
5682
5708
|
"query": "bats have wings"
|
|
@@ -5723,7 +5749,7 @@
|
|
|
5723
5749
|
},
|
|
5724
5750
|
{
|
|
5725
5751
|
"marker": [
|
|
5726
|
-
"
|
|
5752
|
+
"hasPropertyValue",
|
|
5727
5753
|
0
|
|
5728
5754
|
],
|
|
5729
5755
|
"range": {
|
|
@@ -5778,7 +5804,7 @@
|
|
|
5778
5804
|
},
|
|
5779
5805
|
{
|
|
5780
5806
|
"marker": [
|
|
5781
|
-
"
|
|
5807
|
+
"hasPropertyValue",
|
|
5782
5808
|
0
|
|
5783
5809
|
],
|
|
5784
5810
|
"range": {
|
|
@@ -5833,7 +5859,7 @@
|
|
|
5833
5859
|
},
|
|
5834
5860
|
{
|
|
5835
5861
|
"marker": [
|
|
5836
|
-
"
|
|
5862
|
+
"hasPropertyValue",
|
|
5837
5863
|
0
|
|
5838
5864
|
],
|
|
5839
5865
|
"range": {
|