SHOW:
|
|
- or go back to the newest paste.
1 | % ========================================================================================================= | |
2 | ||
3 | % [how,many,postures,are,there,?] | |
4 | - | % [how,large,is,the,smallest,american,country,?] |
4 | + | |
5 | % --------------------------------------------------------------------------------------------------- | |
6 | ||
7 | Sentence(report): 0sec. | |
8 | [how,many,postures,are,there,?] | |
9 | - | [w(how,open),w(large,open),w(is,open),w(the,open),w(smallest,open),w(american,open),w(country,open),w(?,open)] |
9 | + | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) |
10 | ||
11 | - | POS Sentence(report): 0sec. |
11 | + | Parse: 0.003999999999990678sec. |
12 | - | [w(how,open),w(large,open),w(is,open),w(the,open),w(smallest,open),w(american,open),w(country,open),w(?,open)] |
12 | + | whq(A, s(np(3+pl, np_head(quant(same, wh(A)), [], posture), []), verb(be, active, pres+fin, [], pos(B), be), [void(there)], [])) :- |
13 | whq(A, | |
14 | - | Parse: 0.002999999999985903sec. |
14 | + | s(np(3+pl, np_head(quant(same, wh(A)), [], posture), []), |
15 | - | whq(A, s(np(3+sg, np_head(det(the(sg)), [sup(most, adj(small)), adj(american)], country), []), verb(be, active, pres+fin, [], pos(B), be), [arg(pred, value(adj(large), wh(A)))], [])) :- |
15 | + | |
16 | [void(there)], | |
17 | - | s(np(3+sg, |
17 | + | |
18 | - | np_head(det(the(sg)), |
18 | + | |
19 | - | [sup(most, adj(small)), adj(american)], |
19 | + | % good_kyqdhq(np(3+pl,np_head(quant(same,wh(A)),[],posture),[]),np_head(quant(same,wh(A)),[],posture),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
20 | - | country), |
20 | + | % good_kyqdhq(np(3+pl,np_head(quant(same,wh(A)),[],posture),[]),np_head(quant(same,wh(A)),[],posture),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
21 | - | []), |
21 | + | % var_simplify((answer80([A]):-numberof(B, (((isa(B,posture),true),true),B^ (((true,true),true),true,true,true,true)),A)),C) |
22 | ||
23 | - | [arg(pred, value(adj(large), wh(A)))], |
23 | + | |
24 | answer80([B]) :- | |
25 | B = numberof C | |
26 | - | % good_kyqdhq(np(3+sg,np_head(det(the(sg)),[sup(most,adj(small)),adj(american)],country),[]),np_head(det(the(sg)),[sup(most,adj(small)),adj(american)],country),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
26 | + | isa(C,posture) |
27 | - | % good_kyqdhq(np(3+sg,np_head(det(the(sg)),[sup(most,adj(small)),adj(american)],country),[]),np_head(det(the(sg)),[sup(most,adj(small)),adj(american)],country),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
27 | + | & exists C |
28 | - | % var_simplify((answer80([A]):-B^ ((C^ (setof(D:E, (country(E), (areaOf(E,D),american(E),true),true),C),aggregate(min,C,B)),true),true,true,areaOf(B,A),true)),F) |
28 | + | true |
29 | ||
30 | Reply: 0.0sec. | |
31 | [4] | |
32 | - | exists C |
32 | + | |
33 | - | exists D |
33 | + | |
34 | - | D = setof E:F |
34 | + | |
35 | - | country(F) |
35 | + | |
36 | - | & areaOf(F,E) |
36 | + | |
37 | - | & american(F) |
37 | + | % [how,many,postures,are,there,?] |
38 | - | & aggregate(min,D,C) |
38 | + | |
39 | - | & areaOf(C,B) |
39 | + | |
40 | ||
41 | - | Reply: 0.001999999999995339sec. |
41 | + | |
42 | - | [--(0,ksqmiles)] |
42 | + | |
43 | % [what,are,the,postures,?] | |
44 | ||
45 | % --------------------------------------------------------------------------------------------------- | |
46 | ||
47 | Sentence(report): 0sec. | |
48 | - | % [how,large,is,the,smallest,american,country,?] |
48 | + | [what,are,the,postures,?] |
49 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
50 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
51 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
52 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
53 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
54 | - | % [what,is,the,ocean,that,borders,african,countries,and,that,borders,asian,countries,?] |
54 | + | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) |
55 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
56 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
57 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
58 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
59 | - | [w(what,open),w(is,open),w(the,open),w(ocean,open),w(that,open),w(borders,open),w(african,open),w(countries,open),w(and,open),w(that,open),w(borders,open),w(asian,open),w(countries,open),w(?,open)] |
59 | + | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) |
60 | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) | |
61 | - | POS Sentence(report): 0sec. |
61 | + | % succeed(moo: (not((ccw_db0(postures,A),!,ground(A)))->asserta(not_ccw_db(postures));asserta(is_ccw_db(postures)),!,fail)) |
62 | - | [w(what,open),w(is,open),w(the,open),w(ocean,open),w(that,open),w(borders,open),w(african,open),w(countries,open),w(and,open),w(that,open),w(borders,open),w(asian,open),w(countries,open),w(?,open)] |
62 | + | |
63 | Parse: 0.028000000000005798sec. | |
64 | - | Parse: 0.006000000000000227sec. |
64 | + | whq(A, s(np(3+pl, wh(A), []), verb(be, active, pres+fin, [], pos(B), be), [arg(dir, np(3+pl, np_head(det(the(pl)), [], posture), []))], [])) :- |
65 | - | whq(A, s(np(3+sg, wh(A), []), verb(be, active, pres+fin, [], pos(D), be), [arg(dir, np(3+sg, np_head(det(the(sg)), [], ocean), [conj(and, rel(B, s(np(3+sg, wh(B), []), verb(border, active, pres+fin, [], pos(E), tv), [arg(dir, np(3+pl, np_head(generic, [adj(african)], country), []))], [])), rel(C, s(np(3+sg, wh(C), []), verb(border, active, pres+fin, [], pos(F), tv), [arg(dir, np(3+pl, np_head(generic, [adj(asian)], country), []))], [])))]))], [])) :- |
65 | + | |
66 | s(np(3+pl, wh(A), []), | |
67 | - | s(np(3+sg, wh(A), []), |
67 | + | |
68 | - | verb(be, active, pres+fin, [], pos(D), be), |
68 | + | [arg(dir, np(3+pl, np_head(det(the(pl)), [], posture), []))], |
69 | [])). | |
70 | - | [ arg(dir, |
70 | + | |
71 | - | np(3+sg, |
71 | + | % good_kyqdhq(np(3+pl,wh(A),[]),wh(A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
72 | - | np_head(det(the(sg)), [], ocean), |
72 | + | % good_kyqdhq(np(3+pl,np_head(det(the(pl)),[],posture),[]),np_head(det(the(pl)),[],posture),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
73 | % var_simplify((answer80([A]):-B^ (setof(C, ((isa(C,posture),true),true),B), ((true,true),true),true,A=B,true,true)),D) | |
74 | - | [ conj(and, |
74 | + | |
75 | - | rel(B, |
75 | + | |
76 | - | s(np(3+sg, wh(B), []), |
76 | + | |
77 | - | verb(border, |
77 | + | B = setof C |
78 | - | active, |
78 | + | isa(C,posture) |
79 | - | pres+fin, |
79 | + | |
80 | - | [], |
80 | + | |
81 | - | pos(E), |
81 | + | [[kneel,lay,sit,stand]] |
82 | - | tv), |
82 | + | |
83 | % --------------------------------------------------------------------------------------------------- | |
84 | - | [ arg(dir, |
84 | + | |
85 | - | np(3+pl, |
85 | + | |
86 | - | np_head(generic, |
86 | + | |
87 | - | [adj(african)], |
87 | + | % [what,are,the,postures,?] |
88 | - | country), |
88 | + | |
89 | - | [])) |
89 | + | |
90 | - | ], |
90 | + | |
91 | - | [])), |
91 | + | |
92 | - | rel(C, |
92 | + | |
93 | - | s(np(3+sg, wh(C), []), |
93 | + | % [what,are,the,types,?] |
94 | - | verb(border, |
94 | + | |
95 | - | active, |
95 | + | |
96 | - | pres+fin, |
96 | + | |
97 | - | [], |
97 | + | |
98 | - | pos(F), |
98 | + | [what,are,the,types,?] |
99 | - | tv), |
99 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
100 | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) | |
101 | - | [ arg(dir, |
101 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
102 | - | np(3+pl, |
102 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
103 | - | np_head(generic, |
103 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
104 | - | [adj(asian)], |
104 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
105 | - | country), |
105 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
106 | - | [])) |
106 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
107 | - | ], |
107 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
108 | - | []))) |
108 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
109 | - | ])) |
109 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
110 | - | ], |
110 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
111 | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) | |
112 | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) | |
113 | - | % good_kyqdhq(np(3+sg,wh(A),[]),wh(A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
113 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
114 | - | % good_kyqdhq(np(3+sg,np_head(det(the(sg)),[],ocean),[conj(and,rel(A,s(np(3+sg,wh(A),[]),verb(border,active,pres+fin,[],pos(B),tv),[arg(dir,np(3+pl,np_head(generic,[adj(african)],country),[]))],[])),rel(C,s(np(3+sg,wh(C),[]),verb(border,active,pres+fin,[],pos(D),tv),[arg(dir,np(3+pl,np_head(generic,[adj(asian)],country),[]))],[])))]),np_head(det(the(sg)),[],ocean),E,quant(F,G,H,I,J,E),F,G,H,I,J) |
114 | + | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) |
115 | - | % good_kyqdhq(np(3+sg,wh(feature&place&seamass-A),[]),wh(feature&place&seamass-A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
115 | + | |
116 | - | % good_kyqdhq(np(3+pl,np_head(generic,[adj(african)],country),[]),np_head(generic,[adj(african)],country),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
116 | + | Parse: 0.018000000000000682sec. |
117 | - | % good_kyqdhq(np(3+sg,wh(feature&place&seamass-A),[]),wh(feature&place&seamass-A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
117 | + | whq(A, s(np(3+pl, wh(A), []), verb(be, active, pres+fin, [], pos(B), be), [arg(dir, np(3+pl, np_head(det(the(pl)), [], type), []))], [])) :- |
118 | - | % good_kyqdhq(np(3+pl,np_head(generic,[adj(african)],country),[]),np_head(generic,[adj(african)],country),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
118 | + | |
119 | - | % good_kyqdhq(np(3+sg,wh(feature&place&seamass-A),[]),wh(feature&place&seamass-A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
119 | + | |
120 | - | % good_kyqdhq(np(3+pl,np_head(generic,[adj(asian)],country),[]),np_head(generic,[adj(asian)],country),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
120 | + | |
121 | - | % good_kyqdhq(np(3+sg,wh(feature&place&seamass-A),[]),wh(feature&place&seamass-A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
121 | + | [arg(dir, np(3+pl, np_head(det(the(pl)), [], type), []))], |
122 | - | % good_kyqdhq(np(3+pl,np_head(generic,[adj(asian)],country),[]),np_head(generic,[adj(asian)],country),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
122 | + | |
123 | - | % var_simplify((answer80([A]):-B^ (((ocean(B),true), ((C^ (((country(C),true),african(C),true), ((true,true),true), (true,borders(B,C),true,true),true),true),D^ (((country(D),true),asian(D),true), ((true,true),true), (true,borders(B,D),true,true),true),true),true), ((true,true),true),true,A=B,true,true)),E) |
123 | + | |
124 | % good_kyqdhq(np(3+pl,wh(A),[]),wh(A),B,quant(C,D,E,F,G,B),C,D,E,F,G) | |
125 | - | Semantics: 0.027000000000001023sec. |
125 | + | % good_kyqdhq(np(3+pl,np_head(det(the(pl)),[],type),[]),np_head(det(the(pl)),[],type),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
126 | % var_simplify((answer80([A]):-B^ (setof(C, ((type(C),true),true),B), ((true,true),true),true,A=B,true,true)),D) | |
127 | - | ocean(B) |
127 | + | |
128 | - | & exists C |
128 | + | |
129 | - | country(C) |
129 | + | |
130 | - | & african(C) |
130 | + | B = setof C |
131 | - | & borders(B,C) |
131 | + | type(C) |
132 | - | & exists D |
132 | + | |
133 | - | country(D) |
133 | + | Reply: 0.018999999999991246sec. |
134 | - | & asian(D) |
134 | + | [[Area,Artifact-Generic,ArtifactCol1000,ArtifactCol1001,ArtifactCol1002,ArtifactCol1003,ArtifactCol1004,ArtifactCol1005,ArtifactCol1006,ArtifactCol1007,ArtifactCol1008,ArtifactCol1009,ArtifactCol1010,ArtifactCol1011,ArtifactCol1012,ArtifactCol1020,ArtifactCol1021,ArtifactCol1022,ArtifactCol1023,ArtifactCol1024,ArtifactCol1025,BPVLocation,Bottle,Container,ControlDevice,Device-SingleUser,FemaleAnimal,Flask-LabGlassware,FluidReservoir,FreeSpaceContent,FreeSpaceContext,HandTool,Handgun,Indoors-IsolatedFromOutside,InformationStore,LightingDevice,LimitedAccess,MaleAnimal,Necklace,NpcCol1000,NpcCol1001,NpcCol1002,NpcCol1003,NpcCol1004,NpcCol1005,NpcCol1006,NpcCol1007,NpcCol1008,NpcCol1009,NpcCol1010,NpcCol1011,NpcCol1012,NpcCol1013,PortableObject,Portal,ProtectiveAttire,RodShapedObject,ShipMap,SomethingToWear,SpaceInAHOC,TemporallyExistingThing,Weapon,action,actiontype,activeAgent,actor,agent,agenttype,apple,areaPath,argsIsaInList,assertionMacroHead,back_yard,backchainForbidden,backchainRequired,ball,bear,bed,bed_room,blanket,bogusSpeechPart,book,book_type_a,book_type_b,bookcase,boolean,bottom_drawer,broccoli,candle,cellar,chair,channel,chargable,chargeable,closet,coat,coffee,coffee_cup,coffee_table,collectionBackchainEncouraged,command,completeCollectionExtent,completeExtentAsserted,completeExtentKnown,computer,container,corpsea,corpseb,corpsec,crackers,createableType,decontextualizedCollection,decontextualizedPredicate,deleted,desk,dice,dining_room,dir,dirt,door,drawer,dresser,drinkable,easy_chair,eatable,edge,elixer,envelope,explorer,flagged_act_friend,flagged_act_nice_thief,flagged_act_sentinel,flagged_act_stay_zone,flagged_act_wimpy,flagged_aware,flagged_helper,flagged_memory,flagged_nobackstab,flagged_nobash,flagged_noblind,flagged_nocharm,flagged_nosleep,flagged_nosummon,flagged_npc_detect_invis,flagged_npc_notrack,flagged_npc_sanctuary,flagged_visor,flashlight,food,formatted,formattype,fpred,garden_plant,genCodeSupport,genMassNoun,genStringAssertion-Old,genWithGloss,gold,gossup,green_apple,gueridon,hall,hide,high_box,high_wall,houseplant,human_player,instancesDontNeedLexification,int,item,keClarifyingCollection,key,kitchen,knife,ledge,light_switch,listValued,living_room,low_box,low_wall,machine,material_value,me,middle_drawer,minimize,minimizeExtent,mpred,multiValued,nani,nasty_knife,negationByFailure,nonCreatableType,nonGroundOK,notAssertible,notAssertibleCollection,notAssertibleMt,npc_player,number,nut,obj,office,ordered,outlet,pajamas,pajams,pants,percent,pillow,pit,plant,planter,player,possessable,posture,predicates,prologBuiltin,prologHybrid,prologOnly,quotedCollection,red_apple,region,regiontype,relation,rock,room,shape_value,shirt,sillyitem,singleValued,size_value,skin,sofa,spatialthing,stamp,stand_table,stowable,string,switch,table,teddy_bear,term,termDoesntNeedLexification,text,texture_value,thinking,top_drawer,torso,tough_hide,tree,type,typeDeclarer,usable,useReformulationRuleForQuantifierProcessing,useable,value,var,voprop,wall,washing_machine,wearable,wieldable,yard]] |
135 | - | & borders(B,D) |
135 | + | |
136 | % --------------------------------------------------------------------------------------------------- | |
137 | - | Planning: 0.000999999999990564sec. |
137 | + | |
138 | % --------------------------------------------------------------------------------------------------- | |
139 | - | exists C D |
139 | + | |
140 | - | ocean(B) |
140 | + | % [what,are,the,types,?] |
141 | - | & { borders(B,C) |
141 | + | |
142 | - | & {african(C)} |
142 | + | |
143 | - | & {country(C)} } |
143 | + | |
144 | - | & { borders(B,D) |
144 | + | |
145 | - | & {asian(D)} |
145 | + | |
146 | - | & {country(D)} } |
146 | + | % [how,many,types,are,there,?] |
147 | ||
148 | % --------------------------------------------------------------------------------------------------- | |
149 | - | [indian_ocean] |
149 | + | |
150 | Sentence(report): 0sec. | |
151 | [how,many,types,are,there,?] | |
152 | % succeed(moo: (not((ccw_db0(types,A),!,ground(A)))->asserta(not_ccw_db(types));asserta(is_ccw_db(types)),!,fail)) | |
153 | ||
154 | Parse: 0.003999999999990678sec. | |
155 | - | % [what,is,the,ocean,that,borders,african,countries,and,that,borders,asian,countries,?] |
155 | + | whq(A, s(np(3+pl, np_head(quant(same, wh(A)), [], type), []), verb(be, active, pres+fin, [], pos(B), be), [void(there)], [])) :- |
156 | whq(A, | |
157 | s(np(3+pl, np_head(quant(same, wh(A)), [], type), []), | |
158 | verb(be, active, pres+fin, [], pos(B), be), | |
159 | [void(there)], | |
160 | [])). | |
161 | - | % [what,are,the,capitals,of,the,countries,bordering,the,baltic,?] |
161 | + | |
162 | % good_kyqdhq(np(3+pl,np_head(quant(same,wh(A)),[],type),[]),np_head(quant(same,wh(A)),[],type),B,quant(C,D,E,F,G,B),C,D,E,F,G) | |
163 | % good_kyqdhq(np(3+pl,np_head(quant(same,wh(A)),[],type),[]),np_head(quant(same,wh(A)),[],type),B,quant(C,D,E,F,G,B),C,D,E,F,G) | |
164 | % var_simplify((answer80([A]):-numberof(B, (((type(B),true),true),B^ (((true,true),true),true,true,true,true)),A)),C) | |
165 | ||
166 | - | [w(what,open),w(are,open),w(the,open),w(capitals,open),w(of,open),w(the,open),w(countries,open),w(bordering,open),w(the,open),w(baltic,open),w(?,open)] |
166 | + | |
167 | answer80([B]) :- | |
168 | - | POS Sentence(report): 0sec. |
168 | + | B = numberof C |
169 | - | [w(what,open),w(are,open),w(the,open),w(capitals,open),w(of,open),w(the,open),w(countries,open),w(bordering,open),w(the,open),w(baltic,open),w(?,open)] |
169 | + | type(C) |
170 | & exists C | |
171 | - | Parse: 0.2909999999999968sec. |
171 | + | true |
172 | - | whq(A, s(np(3+pl, wh(A), []), verb(be, active, pres+fin, [], pos(C), be), [arg(dir, np(3+pl, np_head(det(the(pl)), [], capital), [pp(prep(of), np(3+pl, np_head(det(the(pl)), [], country), [reduced_rel(B, s(np(3+pl, wh(B), []), verb(border, active, inf, [prog], pos(D), tv), [arg(dir, np(3+sg, nameOf(baltic), []))], []))]))]))], [])) :- |
172 | + | |
173 | Reply: 0.01999999999999602sec. | |
174 | [262] | |
175 | - | verb(be, active, pres+fin, [], pos(C), be), |
175 | + | |
176 | % --------------------------------------------------------------------------------------------------- | |
177 | - | [ arg(dir, |
177 | + | |
178 | - | np(3+pl, |
178 | + | |
179 | - | np_head(det(the(pl)), [], capital), |
179 | + | |
180 | % [how,many,types,are,there,?] | |
181 | - | [ pp(prep(of), |
181 | + | |
182 | - | np(3+pl, |
182 | + | |
183 | - | np_head(det(the(pl)), [], country), |
183 | + | |
184 | % ========================================================================================================= | |
185 | - | [ reduced_rel(B, |
185 | + | |
186 | - | s(np(3+pl, wh(B), []), |
186 | + | % [how,many,formattypes,are,there,?] |
187 | - | verb(border, |
187 | + | |
188 | - | active, |
188 | + | |
189 | - | inf, |
189 | + | |
190 | - | [prog], |
190 | + | |
191 | - | pos(D), |
191 | + | [how,many,formattypes,are,there,?] |
192 | - | tv), |
192 | + | % succeed(moo: (not((ccw_db0(formattypes,A),!,ground(A)))->asserta(not_ccw_db(formattypes));asserta(is_ccw_db(formattypes)),!,fail)) |
193 | ||
194 | - | [ arg(dir, |
194 | + | |
195 | - | np(3+sg, |
195 | + | whq(A, s(np(3+pl, np_head(quant(same, wh(A)), [], formattype), []), verb(be, active, pres+fin, [], pos(B), be), [void(there)], [])) :- |
196 | - | nameOf(baltic), |
196 | + | |
197 | - | [])) |
197 | + | s(np(3+pl, np_head(quant(same, wh(A)), [], formattype), []), |
198 | - | ], |
198 | + | |
199 | - | [])) |
199 | + | [void(there)], |
200 | - | ])) |
200 | + | |
201 | - | ])) |
201 | + | |
202 | - | ], |
202 | + | % good_kyqdhq(np(3+pl,np_head(quant(same,wh(A)),[],formattype),[]),np_head(quant(same,wh(A)),[],formattype),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
203 | % good_kyqdhq(np(3+pl,np_head(quant(same,wh(A)),[],formattype),[]),np_head(quant(same,wh(A)),[],formattype),B,quant(C,D,E,F,G,B),C,D,E,F,G) | |
204 | % var_simplify((answer80([A]):-numberof(B, (((formattype(B),true),true),B^ (((true,true),true),true,true,true,true)),A)),C) | |
205 | - | % good_kyqdhq(np(3+pl,wh(A),[]),wh(A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
205 | + | |
206 | - | % good_kyqdhq(np(3+pl,np_head(det(the(pl)),[],capital),[pp(prep(of),np(3+pl,np_head(det(the(pl)),[],country),[reduced_rel(A,s(np(3+pl,wh(A),[]),verb(border,active,inf,[prog],pos(B),tv),[arg(dir,np(3+sg,nameOf(baltic),[]))],[]))]))]),np_head(det(the(pl)),[],capital),C,quant(D,E,F,G,H,C),D,E,F,G,H) |
206 | + | |
207 | - | % good_kyqdhq(np(3+pl,np_head(det(the(pl)),[],country),[reduced_rel(A,s(np(3+pl,wh(A),[]),verb(border,active,inf,[prog],pos(B),tv),[arg(dir,np(3+sg,nameOf(baltic),[]))],[]))]),np_head(det(the(pl)),[],country),C,quant(D,E,F,G,H,C),D,E,F,G,H) |
207 | + | |
208 | - | % good_kyqdhq(np(3+pl,wh(feature&city-A),[]),wh(feature&city-A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
208 | + | B = numberof C |
209 | - | % good_kyqdhq(np(3+sg,nameOf(baltic),[]),nameOf(baltic),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
209 | + | formattype(C) |
210 | - | % good_kyqdhq(np(3+pl,wh(feature&city-A),[]),wh(feature&city-A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
210 | + | & exists C |
211 | - | % good_kyqdhq(np(3+pl,wh(feature&place&country-A),[]),wh(feature&place&country-A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
211 | + | true |
212 | - | % good_kyqdhq(np(3+sg,nameOf(baltic),[]),nameOf(baltic),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
212 | + | |
213 | - | % good_kyqdhq(np(3+pl,wh(feature&place&country-A),[]),wh(feature&place&country-A),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
213 | + | |
214 | - | % good_kyqdhq(np(3+sg,nameOf(baltic),[]),nameOf(baltic),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
214 | + | [25] |
215 | - | % var_simplify((answer80([A]):-B^ (setof([C]:D, ((((((true,true),true), ((true,true),true),country(C), (true,borders(C,baltic),true,true),true),true),true),setof(E, ((capital(C,E),true,true),true),D)),B), ((true,true),true),true,A=B,true,true)),F) |
215 | + | |
216 | % --------------------------------------------------------------------------------------------------- | |
217 | - | Semantics: 0.024999999999991473sec. |
217 | + | |
218 | % --------------------------------------------------------------------------------------------------- | |
219 | - | B = setof [C]:D |
219 | + | |
220 | - | country(C) |
220 | + | % [how,many,formattypes,are,there,?] |
221 | - | & borders(C,baltic) |
221 | + | |
222 | - | & D = setof E |
222 | + | |
223 | - | capital(C,E) |
223 | + | |
224 | % ========================================================================================================= | |
225 | ||
226 | - | [[[denmark]:[copenhagen],[east_germany]:[east_berlin],[finland]:[helsinki],[poland]:[warsaw],[soviet_union]:[moscow],[sweden]:[stockholm],[west_germany]:[bonn]]] |
226 | + | % [what,formattypes,are,there,?] |
227 | ||
228 | % --------------------------------------------------------------------------------------------------- | |
229 | ||
230 | Sentence(report): 0sec. | |
231 | [what,formattypes,are,there,?] | |
232 | - | % [what,are,the,capitals,of,the,countries,bordering,the,baltic,?] |
232 | + | % succeed(moo: (not((ccw_db0(formattypes,A),!,ground(A)))->asserta(not_ccw_db(formattypes));asserta(is_ccw_db(formattypes)),!,fail)) |
233 | ||
234 | Parse: 0.0040000000000048885sec. | |
235 | whq(A, s(np(3+pl, np_head(int_det(A), [], formattype), []), verb(be, active, pres+fin, [], pos(B), be), [void(there)], [])) :- | |
236 | whq(A, | |
237 | s(np(3+pl, np_head(int_det(A), [], formattype), []), | |
238 | - | % [which,countries,are,bordered,by,two,seas,?] |
238 | + | |
239 | [void(there)], | |
240 | [])). | |
241 | ||
242 | % good_kyqdhq(np(3+pl,np_head(int_det(A),[],formattype),[]),np_head(int_det(A),[],formattype),B,quant(C,D,E,F,G,B),C,D,E,F,G) | |
243 | - | [w(which,open),w(countries,open),w(are,open),w(bordered,open),w(by,open),w(two,open),w(seas,open),w(?,open)] |
243 | + | % good_kyqdhq(np(3+pl,np_head(int_det(A),[],formattype),[]),np_head(int_det(A),[],formattype),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
244 | % var_simplify((answer80([A]):- ((formattype(A),true),true),A^ (((true,true),true),true,true,true,true)),B) | |
245 | - | POS Sentence(report): 0sec. |
245 | + | |
246 | - | [w(which,open),w(countries,open),w(are,open),w(bordered,open),w(by,open),w(two,open),w(seas,open),w(?,open)] |
246 | + | Semantics: 0.000999999999990564sec. |
247 | answer80([B]) :- | |
248 | - | Parse: 0.13700000000000045sec. |
248 | + | formattype(B) |
249 | - | whq(A, s(np(3+pl, np_head(int_det(A), [], country), []), verb(border, passive, pres+fin, [], pos(B), tv), [], [pp(prep(by), np(3+pl, np_head(quant(same, nb(2)), [], sea), []))])) :- |
249 | + | & exists B |
250 | true | |
251 | - | s(np(3+pl, np_head(int_det(A), [], country), []), |
251 | + | |
252 | - | verb(border, passive, pres+fin, [], pos(B), tv), |
252 | + | |
253 | - | [], |
253 | + | [action,apath,atom,boolean,dice,dir,id,int,integer,list,number,percent,prolog,rest,string,term,text,var,voprop,xyz,action(prolog),list(type),apath(region,dir),dice(int,int,int),xyz(region,int,int,int)] |
254 | - | [pp(prep(by), np(3+pl, np_head(quant(same, nb(2)), [], sea), []))])). |
254 | + | |
255 | % --------------------------------------------------------------------------------------------------- | |
256 | - | % good_kyqdhq(np(3+pl,np_head(int_det(A),[],country),[]),np_head(int_det(A),[],country),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
256 | + | |
257 | - | % good_kyqdhq(np(3+pl,np_head(int_det(A),[],country),[]),np_head(int_det(A),[],country),B,quant(C,D,E,F,G,B),C,D,E,F,G) |
257 | + | |
258 | - | % good_kyqdhq(np(3+pl,np_head(quant(same,nb(2)),[],sea),[]),np_head(quant(same,nb(2)),[],sea),A,quant(B,C,D,E,F,A),B,C,D,E,F) |
258 | + | |
259 | - | % var_simplify((answer80([A]):- ((country(A),true),true),numberof(B, (((sea(B),true),true),true,borders(B,A),true,true),2)),C) |
259 | + | % [what,formattypes,are,there,?] |
260 | ||
261 | - | Semantics: 0.012999999999991019sec. |
261 | + | |
262 | T Call: (84) [$messages] print_message(information,time(3996997,2.3500519319999995,61.37897539138794,1700812)) |