@@ -155,7 +155,6 @@ QUERY: directflag_v "1vq: queue v : f" # (? love ?)
155155# 2. walk thru q, looking at facts were q item is verb
156156# 3. fact must have flag on it from match argument
157157
158-
159158# find facts given an object
160159QUERY: direct_o "1oq: queue o" # (? ? cat)
161160# 1. tag object with 1 and queue it
@@ -169,35 +168,35 @@ QUERY: directflag_o "1oq: queue o : f" # (? ? cat)
169168# 3. there are no constraints to match, so all facts are accepted that have factflag on
170169
171170# find facts given subject and verb
172- QUERY: direct_sv "1sq 2vt : queue s: match v2" # (dog love ?)
171+ QUERY: direct_sv "1sq 2vT : queue s: match v2" # (dog love ?)
173172# 1. tag subject with 1 and queue it
174173# 2. mark verb with 2 (no queuing)
175174# 3. walk thru q, looking at facts where q item is subject
176175# 4. accept facts where verb is marked with 2
177176
178177# find facts given subject and verb
179- QUERY: directflag_sv "1sq 2vt : queue s: match v2 f" # (dog love ?)
178+ QUERY: directflag_sv "1sq 2vT : queue s: match v2 f" # (dog love ?)
180179# 1. tag subject with 1 and queue it
181180# 2. mark verb with 2 (no queuing)
182181# 3. walk thru q, looking at facts where q item is subject
183182# 4. accept facts where verb is marked with 2 and fact flag is on
184183
185184# find facts given fact subject and verb
186- QUERY: direct_Sv "1Sq 2vt : queue s: match v2" # (dog love ?)
185+ QUERY: direct_Sv "1Sq 2vT : queue s: match v2" # (dog love ?)
187186# 1. tag subject with 1 and queue it
188187# 2. mark verb with 2 (no queuing)
189188# 3. walk thru q, looking at facts where q item is subject
190189# 4. accept facts where verb is marked with 2
191190
192191# find facts given verb and object
193- QUERY: direct_vo "1oq 2vt : queue o: match v2" # (? love cat)
192+ QUERY: direct_vo "1oq 2vT : queue o: match v2" # (? love cat)
194193# 1. tag object with 1 and queue it
195194# 2. mark verb with 2 (no queuing)
196195# 3. walk thru q, looking at facts where q item is object
197196# 4. accept facts where verb is marked with 2
198197
199198# find facts given verb and object and flag
200- QUERY: directflag_vo "1oq 2vt : queue o: match v2 f" # (? love cat)
199+ QUERY: directflag_vo "1oq 2vT : queue o: match v2 f" # (? love cat)
201200# 1. tag object with 1 and queue it
202201# 2. mark verb with 2 (no queuing)
203202# 3. walk thru q, looking at facts where q item is object
@@ -211,22 +210,22 @@ QUERY: direct_vO "1Oq 2vt: queue o: match v2" # (? love cat)
211210# 4. accept facts where verb is marked with 2
212211
213212# find facts given subject and object
214- QUERY: direct_so "1sq 2ot : queue s: match o2" # (dog ? cat)
213+ QUERY: direct_so "1sq 2oT : queue s: match o2" # (dog ? cat)
215214# 1. tag subject with 1 and queue it
216215# 2. mark object with 2 (no queuing)
217216# 3. walk thru q, looking at facts where q item is subject
218217# 4. accept facts where object is marked with 2
219218
220219# find facts given subject verb and object
221- QUERY: direct_svo "1oq 2vt 3st : queue o: match v2 s3" # (dog love cat)
220+ QUERY: direct_svo "1oq 2vT 3sT : queue o: match v2 s3" # (dog love cat)
222221# 1. tag object with 1 and queue it
223222# 2. mark verb with 2 (no queuing)
224223# 3. mark subject with 3 (no queuing)
225224# 4. walk thru q, looking at facts where q item is object
226225# 5. accept facts where verb is marked with 2 and subject is marked with 3
227226
228227# find facts given subject verb and object and flag
229- QUERY: directflag_svo "1oq 2vt 3st : queue o: match v2 s3 f" # (dog love cat)
228+ QUERY: directflag_svo "1oq 2vT 3sT : queue o: match v2 s3 f" # (dog love cat)
230229# 1. tag object with 1 and queue it
231230# 2. mark verb with 2 (no queuing)
232231# 3. mark subject with 3 (no queuing)
0 commit comments