Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- % =========================================================================================================
- % [how,large,is,the,smallest,american,country,?]
- % ---------------------------------------------------------------------------------------------------
- Sentence(report): 0sec.
- [w(how,open),w(large,open),w(is,open),w(the,open),w(smallest,open),w(american,open),w(country,open),w(?,open)]
- POS Sentence(report): 0sec.
- [w(how,open),w(large,open),w(is,open),w(the,open),w(smallest,open),w(american,open),w(country,open),w(?,open)]
- Parse: 0.002999999999985903sec.
- 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)))], [])) :-
- 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)))],
- [])).
- % 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)
- % 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)
- % 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)
- Semantics: 0.0010000000000047748sec.
- answer80([B]) :-
- exists C
- exists D
- D = setof E:F
- country(F)
- & areaOf(F,E)
- & american(F)
- & aggregate(min,D,C)
- & areaOf(C,B)
- Reply: 0.001999999999995339sec.
- [--(0,ksqmiles)]
- % ---------------------------------------------------------------------------------------------------
- % ---------------------------------------------------------------------------------------------------
- % [how,large,is,the,smallest,american,country,?]
- % =========================================================================================================
- % =========================================================================================================
- % [what,is,the,ocean,that,borders,african,countries,AND,that,borders,asian,countries,?]
- % ---------------------------------------------------------------------------------------------------
- Sentence(report): 0sec.
- [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)]
- POS Sentence(report): 0sec.
- [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)]
- Parse: 0.006000000000000227sec.
- 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), []))], [])))]))], [])) :-
- 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),
- []))
- ],
- [])))
- ]))
- ],
- [])).
- % good_kyqdhq(np(3+sg,wh(A),[]),wh(A),B,quant(C,D,E,F,G,B),C,D,E,F,G)
- % 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)
- % 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)
- % 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)
- % 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)
- % 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)
- % 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)
- % 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)
- % 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)
- % 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)
- % 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)
- Semantics: 0.027000000000001023sec.
- answer80([B]) :-
- ocean(B)
- & exists C
- country(C)
- & african(C)
- & borders(B,C)
- & exists D
- country(D)
- & asian(D)
- & borders(B,D)
- Planning: 0.000999999999990564sec.
- answer80([B]) :-
- exists C D
- ocean(B)
- & { borders(B,C)
- & {african(C)}
- & {country(C)} }
- & { borders(B,D)
- & {asian(D)}
- & {country(D)} }
- Reply: 0.0010000000000047748sec.
- [indian_ocean]
- % ---------------------------------------------------------------------------------------------------
- % ---------------------------------------------------------------------------------------------------
- % [what,is,the,ocean,that,borders,african,countries,AND,that,borders,asian,countries,?]
- % =========================================================================================================
- % =========================================================================================================
- % [what,are,the,capitals,of,the,countries,bordering,the,baltic,?]
- % ---------------------------------------------------------------------------------------------------
- Sentence(report): 0sec.
- [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)]
- POS Sentence(report): 0sec.
- [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)]
- Parse: 0.2909999999999968sec.
- 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), []))], []))]))]))], [])) :-
- 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),
- []))
- ],
- []))
- ]))
- ]))
- ],
- [])).
- % good_kyqdhq(np(3+pl,wh(A),[]),wh(A),B,quant(C,D,E,F,G,B),C,D,E,F,G)
- % 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)
- % 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)
- % 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)
- % good_kyqdhq(np(3+sg,nameOf(baltic),[]),nameOf(baltic),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % 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)
- % 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)
- % good_kyqdhq(np(3+sg,nameOf(baltic),[]),nameOf(baltic),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % 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)
- % good_kyqdhq(np(3+sg,nameOf(baltic),[]),nameOf(baltic),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % 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)
- Semantics: 0.024999999999991473sec.
- answer80([B]) :-
- B = setof [C]:D
- country(C)
- & borders(C,baltic)
- & D = setof E
- capital(C,E)
- Reply: 0.0010000000000047748sec.
- [[[denmark]:[copenhagen],[east_germany]:[east_berlin],[finland]:[helsinki],[poland]:[warsaw],[soviet_union]:[moscow],[sweden]:[stockholm],[west_germany]:[bonn]]]
- % ---------------------------------------------------------------------------------------------------
- % ---------------------------------------------------------------------------------------------------
- % [what,are,the,capitals,of,the,countries,bordering,the,baltic,?]
- % =========================================================================================================
- % =========================================================================================================
- % [which,countries,are,bordered,by,two,seas,?]
- % ---------------------------------------------------------------------------------------------------
- Sentence(report): 0sec.
- [w(which,open),w(countries,open),w(are,open),w(bordered,open),w(by,open),w(two,open),w(seas,open),w(?,open)]
- POS Sentence(report): 0sec.
- [w(which,open),w(countries,open),w(are,open),w(bordered,open),w(by,open),w(two,open),w(seas,open),w(?,open)]
- Parse: 0.13700000000000045sec.
- 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), []))])) :-
- 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), []))])).
- % 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)
- % 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)
- % 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)
- % var_simplify((answer80([A]):- ((country(A),true),true),numberof(B, (((sea(B),true),true),true,borders(B,A),true,true),2)),C)
- Semantics: 0.012999999999991019sec.
- answer80([B]) :-
- country(B)
- & 2 = numberof C
- sea(C)
- & borders(C,B)
- Planning: 0.0sec.
- answer80([B]) :-
- 2 = numberof C
- sea(C)
- & borders(C,B)
- & {country(B)}
- Reply: 0.0sec.
- [egypt,iran,israel,saudi_arabia,turkey]
- % ---------------------------------------------------------------------------------------------------
- % ---------------------------------------------------------------------------------------------------
- % [which,countries,are,bordered,by,two,seas,?]
- % =========================================================================================================
- % =========================================================================================================
- % [how,many,countries,does,the,danube,flow,through,?]
- % ---------------------------------------------------------------------------------------------------
- Sentence(report): 0sec.
- [w(how,open),w(many,open),w(countries,open),w(does,open),w(the,open),w(danube,open),w(flow,open),w(through,open),w(?,open)]
- POS Sentence(report): 0sec.
- [w(how,open),w(many,open),w(countries,open),w(does,open),w(the,open),w(danube,open),w(flow,open),w(through,open),w(?,open)]
- Parse: 0.01099999999999568sec.
- whq(B, s(np(3+sg, nameOf(danube), []), verb(DO, active, pres+fin, [], POS(C), ditrans(A)), [arg(dir, A, np(3+sg, np_head(generic, [], flow), [pp(prep(through), np(3+pl, np_head(quant(same, wh(B)), [], country), []))]))], [])) :-
- whq(B,
- s(np(3+sg, nameOf(danube), []),
- verb(DO, active, pres+fin, [], POS(C), ditrans(A)),
- [ arg(dir,
- A,
- np(3+sg,
- np_head(generic, [], flow),
- [ pp(prep(through),
- np(3+pl,
- np_head(quant(same, wh(B)), [], country),
- []))
- ]))
- ],
- [])).
- % good_kyqdhq(np(3+sg,nameOf(danube),[]),nameOf(danube),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,nameOf(danube),[]),nameOf(danube),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,nameOf(danube),[]),nameOf(danube),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,nameOf(danube),[]),nameOf(danube),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,nameOf(danube),[]),nameOf(danube),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,nameOf(danube),[]),nameOf(danube),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- +(-(-(-(report,Failed after ),0.1280000000000001), TO understand: ),[=(sent,[how,many,countries,does,the,danube,flow,through,?]),=(parse,_G25002955),=(sem,error),=(qplan,error),=(answers,failed)])
- % ---------------------------------------------------------------------------------------------------
- % [how,many,countries,does,the,danube,flow,through,?]
- % =========================================================================================================
- % =========================================================================================================
- % [what,is,the,total,area,of,countries,south,of,the,equator,AND,NOT,in,australasia,?]
- % ---------------------------------------------------------------------------------------------------
- Sentence(report): 0sec.
- [w(what,open),w(is,open),w(the,open),w(total,open),w(area,open),w(of,open),w(countries,open),w(south,open),w(of,open),w(the,open),w(equator,open),w(AND,open),w(NOT,open),w(in,open),w(australasia,open),w(?,open)]
- POS Sentence(report): 0sec.
- [w(what,open),w(is,open),w(the,open),w(total,open),w(area,open),w(of,open),w(countries,open),w(south,open),w(of,open),w(the,open),w(equator,open),w(AND,open),w(NOT,open),w(in,open),w(australasia,open),w(?,open)]
- Parse: 0.0049999999999954525sec.
- 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)), [adj(total)], area), [pp(prep(of), np(3+pl, np_head(generic, [], country), [conj(AND, reduced_rel(B, s(np(3+pl, wh(B), []), verb(be, active, pres+fin, [], POS(E), be), [arg(pred, pp(prep(southof), np(3+sg, nameOf(equator), [])))], [])), reduced_rel(C, s(np(3+pl, wh(C), []), verb(be, active, pres+fin, [], neg(NOT), be), [arg(pred, pp(prep(in), np(3+sg, nameOf(australasia), [])))], [])))]))]))], [])) :-
- 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)), [adj(total)], area),
- [ pp(prep(of),
- np(3+pl,
- np_head(generic, [], country),
- [ conj(AND,
- reduced_rel(B,
- s(np(3+pl, wh(B), []),
- verb(be,
- active,
- pres+fin,
- [],
- POS(E),
- be),
- [ arg(pred,
- pp(prep(southof),
- np(3+sg,
- nameOf(equator),
- [])))
- ],
- [])),
- reduced_rel(C,
- s(np(3+pl, wh(C), []),
- verb(be,
- active,
- pres+fin,
- [],
- neg(NOT),
- be),
- [ arg(pred,
- pp(prep(in),
- np(3+sg,
- nameOf(australasia),
- [])))
- ],
- [])))
- ]))
- ]))
- ],
- [])).
- % good_kyqdhq(np(3+sg,wh(A),[]),wh(A),B,quant(C,D,E,F,G,B),C,D,E,F,G)
- % good_kyqdhq(np(3+sg,np_head(det(the(sg)),[adj(total)],area),[pp(prep(of),np(3+pl,np_head(generic,[],country),[conj(AND,reduced_rel(A,s(np(3+pl,wh(A),[]),verb(be,active,pres+fin,[],POS(B),be),[arg(pred,pp(prep(southof),np(3+sg,nameOf(equator),[])))],[])),reduced_rel(C,s(np(3+pl,wh(C),[]),verb(be,active,pres+fin,[],neg(NOT),be),[arg(pred,pp(prep(in),np(3+sg,nameOf(australasia),[])))],[])))]))]),np_head(det(the(sg)),[adj(total)],area),D,quant(E,F,G,H,I,D),E,F,G,H,I)
- % error_show_call_failure(restriction_LF(total,A,B,C))
- % good_kyqdhq(np(3+pl,np_head(generic,[],country),[conj(AND,reduced_rel(A,s(np(3+pl,wh(A),[]),verb(be,active,pres+fin,[],POS(B),be),[arg(pred,pp(prep(southof),np(3+sg,nameOf(equator),[])))],[])),reduced_rel(C,s(np(3+pl,wh(C),[]),verb(be,active,pres+fin,[],neg(NOT),be),[arg(pred,pp(prep(in),np(3+sg,nameOf(australasia),[])))],[])))]),np_head(generic,[],country),D,quant(E,F,G,H,I,D),E,F,G,H,I)
- % good_kyqdhq(np(3+pl,wh(measure&area-A),[]),wh(measure&area-A),B,quant(C,D,E,F,G,B),C,D,E,F,G)
- % good_kyqdhq(np(3+pl,wh(measure&area-A),[]),wh(measure&area-A),B,quant(C,D,E,F,G,B),C,D,E,F,G)
- % good_kyqdhq(np(3+sg,nameOf(equator),[]),nameOf(equator),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % 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)
- % 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)
- % good_kyqdhq(np(3+sg,nameOf(equator),[]),nameOf(equator),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % 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)
- % 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)
- % good_kyqdhq(np(3+sg,nameOf(australasia),[]),nameOf(australasia),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % var_simplify((answer80([A]):-B^ ((C^ (setof(D:[E], (areaOf(E,D), (((country(E),true), ((((true,true),true), ((true,true),true),true, (true,true,southof(E,equator),true,true),true), ((true,true),true),true,\+ (((true,true),true),true,true,in(E,australasia),true,true),true),true),true),true,true,true),C),aggregate(total,C,B)),true), ((true,true),true),true,A=B,true,true)),F)
- Semantics: 0.017000000000010118sec.
- answer80([B]) :-
- exists C
- C = setof D:[E]
- areaOf(E,D)
- & country(E)
- & southof(E,equator)
- & \+in(E,australasia)
- & aggregate(total,C,B)
- Reply: 0.000999999999990564sec.
- [--(10239,ksqmiles)]
- % ---------------------------------------------------------------------------------------------------
- % ---------------------------------------------------------------------------------------------------
- % [what,is,the,total,area,of,countries,south,of,the,equator,AND,NOT,in,australasia,?]
- % =========================================================================================================
- % =========================================================================================================
- % [what,is,the,average,area,of,the,countries,in,each,continent,?]
- % ---------------------------------------------------------------------------------------------------
- Sentence(report): 0sec.
- [w(what,open),w(is,open),w(the,open),w(average,open),w(area,open),w(of,open),w(the,open),w(countries,open),w(in,open),w(each,open),w(continent,open),w(?,open)]
- POS Sentence(report): 0sec.
- [w(what,open),w(is,open),w(the,open),w(average,open),w(area,open),w(of,open),w(the,open),w(countries,open),w(in,open),w(each,open),w(continent,open),w(?,open)]
- Parse: 0.0040000000000048885sec.
- whq(A, s(np(3+sg, wh(A), []), verb(be, active, pres+fin, [], POS(B), be), [arg(dir, np(3+sg, np_head(det(the(sg)), [adj(average)], area), [pp(prep(of), np(3+pl, np_head(det(the(pl)), [], country), [pp(prep(in), np(3+sg, np_head(det(each), [], continent), []))]))]))], [])) :-
- whq(A,
- s(np(3+sg, wh(A), []),
- verb(be, active, pres+fin, [], POS(B), be),
- [ arg(dir,
- np(3+sg,
- np_head(det(the(sg)), [adj(average)], area),
- [ pp(prep(of),
- np(3+pl,
- np_head(det(the(pl)), [], country),
- [ pp(prep(in),
- np(3+sg,
- np_head(det(each), [], continent),
- []))
- ]))
- ]))
- ],
- [])).
- % good_kyqdhq(np(3+sg,wh(A),[]),wh(A),B,quant(C,D,E,F,G,B),C,D,E,F,G)
- % good_kyqdhq(np(3+sg,np_head(det(the(sg)),[adj(average)],area),[pp(prep(of),np(3+pl,np_head(det(the(pl)),[],country),[pp(prep(in),np(3+sg,np_head(det(each),[],continent),[]))]))]),np_head(det(the(sg)),[adj(average)],area),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % error_show_call_failure(restriction_LF(average,A,B,C))
- % good_kyqdhq(np(3+pl,np_head(det(the(pl)),[],country),[pp(prep(in),np(3+sg,np_head(det(each),[],continent),[]))]),np_head(det(the(pl)),[],country),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,np_head(det(each),[],continent),[]),np_head(det(each),[],continent),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,np_head(det(each),[],continent),[]),np_head(det(each),[],continent),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,np_head(det(each),[],continent),[]),np_head(det(each),[],continent),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % var_simplify((answer80([A,B]):- ((continent(A),true),true),C^ ((D^ (setof(E:[F], (areaOf(F,E), (true, (country(F), (true,in(F,A)),true),true),true,true,true),D),aggregate(average,D,C)),true), ((true,true),true),true,B=C,true,true)),G)
- Semantics: 0.0030000000000001137sec.
- answer80([B,C]) :-
- continent(B)
- & exists D
- D = setof E:[F]
- areaOf(F,E)
- & country(F)
- & in(F,B)
- & aggregate(average,D,C)
- Reply: 0.012000000000000455sec.
- [[europe,--(58.84375,ksqmiles)]]
- % ---------------------------------------------------------------------------------------------------
- % ---------------------------------------------------------------------------------------------------
- % [what,is,the,average,area,of,the,countries,in,each,continent,?]
- % =========================================================================================================
- % =========================================================================================================
- % [is,there,more,than,one,country,in,each,continent,?]
- % ---------------------------------------------------------------------------------------------------
- Sentence(report): 0sec.
- [w(is,open),w(there,open),w(more,open),w(than,open),w(one,open),w(country,open),w(in,open),w(each,open),w(continent,open),w(?,open)]
- POS Sentence(report): 0sec.
- [w(is,open),w(there,open),w(more,open),w(than,open),w(one,open),w(country,open),w(in,open),w(each,open),w(continent,open),w(?,open)]
- Parse: 0.0020000000000095497sec.
- q(s(there, verb(be, active, pres+fin, [], POS(A), be), [arg(dir, np(3+sg, np_head(quant(more, nb(1)), [], country), [pp(prep(in), np(3+sg, np_head(det(each), [], continent), []))]))], [])) :-
- q(s(there,
- verb(be, active, pres+fin, [], POS(A), be),
- [ arg(dir,
- np(3+sg,
- np_head(quant(more, nb(1)), [], country),
- [ pp(prep(in),
- np(3+sg, np_head(det(each), [], continent), []))
- ]))
- ],
- [])).
- % good_kyqdhq(np(3+sg,np_head(quant(more,nb(1)),[],country),[pp(prep(in),np(3+sg,np_head(det(each),[],continent),[]))]),np_head(quant(more,nb(1)),[],country),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,np_head(det(each),[],continent),[]),np_head(det(each),[],continent),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % good_kyqdhq(np(3+sg,np_head(det(each),[],continent),[]),np_head(det(each),[],continent),A,quant(B,C,D,E,F,A),B,C,D,E,F)
- % var_simplify((answer80([]):- \+A^ (((continent(A),true),true),\+B^ (numberof(C, (((country(C), (true,in(C,A)),true),true),D^ (((true,true),true),true,D=C,true,true)),B),B>1))),E)
- Semantics: 0.001999999999995339sec.
- answer80([]) :-
- \+
- exists B
- continent(B)
- & \+
- exists C
- C = numberof D
- country(D)
- & in(D,B)
- & C>1
- Reply: 0.0049999999999954525sec.
- [false]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement