-
Notifications
You must be signed in to change notification settings - Fork 74
/
Copy pathTQG12.kif.tq
39 lines (31 loc) · 933 Bytes
/
TQG12.kif.tq
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(note TQG12) ;; boolean version
(instance Organism12-1 Object)
(attribute Organism12-1 Living)
;; The rule below, as well as a more correct temporally qualified
;; version, are missing from Merge.kif:
(=>
(attribute ?X Living)
(instance ?X Organism))
(query (instance Organism12-1 Organism))
(answer yes)
;; Answer 1. [yes]
;; 1. (instance Organism12-1 Object) [KB]
;; 2. (instance Organism12-1 Object) 1
;; 3. (not
;; (instance Organism12-1 Organism)) [Negated Query]
;; 4. (not
;; (instance Organism12-1 Organism)) 3
;; 5. (=>
;; (instance ?X403 Object)
;; (=>
;; (attribute ?X403 Living)
;; (instance ?X403 Organism))) [KB]
;; 6. (or
;; (instance ?X0 Organism)
;; (not
;; (attribute ?X0 Living))
;; (not
;; (instance ?X0 Object))) 5
;; 7. (attribute Organism12-1 Living) [KB]
;; 8. (attribute Organism12-1 Living) 7
;; 9. True 2 4 6 8