Advertisement
logicmoo

Untitled

Jun 17th, 2015
411
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. % =========================================================================================================
  2.  
  3. %                       [where,is,the,largest,country,?]
  4.  
  5. % ---------------------------------------------------------------------------------------------------
  6.  
  7. Sentence(report): 0sec.
  8. [w(where,open),w(is,open),w(the,open),w(largest,open),w(country,open),w(?,open)]
  9. % /devel/PrologMUD/pack/logicmoo_nlu/prolog/parser_all.pl:305
  10. %                     succeed(user: (NOT((ccw_db0(country, A), !, ground(A)))->asserta(not_ccw_db(country));asserta(is_ccw_db(country)), !, fail)).
  11. %
  12.  
  13. POS Sentence(report): 0sec.
  14. [w(where,open),w(is,open),w(the,open),w(largest,open),w(country,open),w(?,open)]
  15.  
  16. Parse: 0.007999999999995566sec.
  17. whq(A, s(np(3+sg, np_head(det(the(sg)), [sup(most, adj(large))], country), []), verb(be, active, pres+fin, [], POS(B), be), [arg(pred, pp(prep(in), np(C, np_head(int_det(A), [], place), [])))], [])) :-
  18.         whq(A,
  19.             s(np(3+sg, np_head(det(the(sg)), [sup(most, adj(large))], country), []),
  20.               verb(be, active, pres+fin, [], POS(B), be),
  21.  
  22.               [ arg(pred,
  23.                     pp(prep(in),
  24.                        np(C, np_head(int_det(A), [], place), [])))
  25.               ],
  26.               [])).
  27.  
  28.  
  29. Semantics: 0.0030000000000001137sec.
  30. answer80([B]) :-
  31.    exists C
  32.      exists D
  33.        D = setof E:F
  34.          country(F)
  35.        & areaOf(F,E)
  36.      & aggregate80(max,D,C)
  37.    & place(B)
  38.    & in_ploc(C,B)
  39.  
  40. Reply: 0.0030000000000001137sec.
  41. [asia,northern_asia]
  42.  
  43. % ---------------------------------------------------------------------------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement