<?xml version="1.0" encoding="utf-8"?> <testsuites> <testsuite name="logicmoo.nlu.test.nlu.TEST_CHAT80_01" package="logicmoo.nlu.test.nlu" time="7.248" tests="1" errors="0" skipped="0" failures="0"> <testcase name="logicmoo.nlu.test.nlu.TEST_CHAT80_01@Test_0003_Line_0000__What_is_the_capital_of_upper_volta_c63: baseKB:test_chat80_mpred(3,\n [ what, \n is, \n the, \n capital, of, upper, volta, ?],on,[ouagadougou])" classname="logicmoo.nlu.test.nlu.TEST_CHAT80_01" time="3.636"> <system-err><![CDATA[name=Test_0003_Line_0000__What_is_the_capital_of_upper_volta_c63 JUNIT_CLASSNAME='logicmoo.nlu.test.nlu.TEST_CHAT80_01'. JUNIT_CMD='timeout --foreground --preserve-status -s SIGKILL -k 5m 5m swipl -x /opt/logicmoo_workspace/bin/lmoo-clif test_chat80_01.pl'. (cd /opt/logicmoo_workspace/packs_sys/logicmoo_nlu/test/logicmoo_nlu ; timeout --foreground --preserve-status -s SIGKILL -k 5m 5m swipl -x /opt/logicmoo_workspace/bin/lmoo-clif test_chat80_01.pl) ``` goal=baseKB:test_chat80_mpred(3,[what,is,the,capital,of,upper,volta,?],on,[ouagadougou]). time=3.6361968517303467. passed=passed=info(why_was_true(baseKB:test_chat80_mpred(3,[what,is,the,capital,of,upper,volta,?],on,[ouagadougou]))) no_proof_for(test_chat80_mpred(3,[ what, is,the,capital, of,upper,volta, ?],on,[ouagadougou])). ?- test_chat80("what is the capital of upper volta ? "). /* answer80([B]) :- specific_pred(spatial,nation_capital,upper_volta,B). */ /* Specific_Upper_volta8+[] :- database80( specific_pred(spatial,nation_capital,upper_volta,Specific_Upper_volta8)). */ 3 | 18 0 1 3 22 segs: 181msec. [ w( what, [ [ pos(wp), root(what),loc(1),lnks(3),txt("what"), truecase('INIT_UPPER'),link(1,'NP',r('NP',seg(1,1))), link(2,'SBAR',r('SBAR',seg(1,8))), link(3,'CORENLP',r('CORENLP',seg(1,8))),lex_winfo, int_art_lex(what,Det_What,Int_det,int_det(Det_What)), int_pron_lex(what,undef), flexicon( det, [ sem=what, agr=sg,wh=y+n,det_type=quant, preagr=n,can_be_np=y], what), flexicon( det, [ sem=what, agr=pl,wh=y,det_type=quant, preagr=n,can_be_np=n], what), whpron_dict(what,tSomethingExisting), whpron_dict(what,tThing),talk_db(pronoun,what), talk_db(interrog,what)])], w( is, [ [ pos(vbz), root(be),loc(2),lnks(3),txt("is"), truecase('LOWER'),link(1,'S',r('S',seg(2,7))), link(2,'SBAR',r('SBAR',seg(1,8))), link(3,'CORENLP',r('CORENLP',seg(1,8))),lex_winfo, flexicon(bv,[person=3,agr=sg,verb_form=tensed],is), talk_db(intransitive,be,is,was,being,been), talk_db(intransitive,am,is,was,being,been), talk_db(intransitive,are,is,was,being,been)])], w( the, [ [ pos(dt), root(the),loc(3),lnks(5),txt("the"), truecase('LOWER'),link(1,'NP',r('NP',seg(3,4))), link(2,'NP',r('NP',seg(3,7))),link(3,'S',r('S',seg(2,7))), link(4,'SBAR',r('SBAR',seg(1,8))), link(5,'CORENLP',r('CORENLP',seg(1,8))),lex_winfo, flexicon( det, [ sem=the_sing, agr=sg,article=y,wh=n,det_type=def, preagr=n], the), flexicon( det, [ sem=the_pl, agr=pl,article=y,wh=n,det_type=def, preagr=y], the), flexicon(det,[agr=Agr],the), flexicon(timesuffix,[sem=morning,allows_minutes=y],[(in,the,morning)]), flexicon(timesuffix,[sem=afternoon,allows_minutes=y],[(in,the,afternoon)])])], w( capital, [ [ pos(nn), root(capital),loc(4),lnks(5),txt("capital"), truecase('LOWER'),link(1,'NP',r('NP',seg(3,4))), link(2,'NP',r('NP',seg(3,7))),link(3,'S',r('S',seg(2,7))), link(4,'SBAR',r('SBAR',seg(1,8))), link(5,'CORENLP',r('CORENLP',seg(1,8))),lex_winfo, clex_word(noun,capital,capital,neutr+sg-count), clex_word(adj,capital,capital,unknown),talk_db(adj,capital)])], w( of, [ [ pos(in), root(of),loc(5),lnks(5),txt("of"), truecase('LOWER'),link(1,'PP',r('PP',seg(5,7))), link(2,'NP',r('NP',seg(3,7))),link(3,'S',r('S',seg(2,7))), link(4,'SBAR',r('SBAR',seg(1,8))), link(5,'CORENLP',r('CORENLP',seg(1,8))),lex_winfo, talk_db(preposition,of), talk_db(domain,noncontent,british,house,of,lords)])], w( upper, [ [ pos(jj), root(upper),loc(6),lnks(6),txt("upper"), ner('COUNTRY'),truecase('INIT_UPPER'), link(1,'NP',r('NP',seg(6,7))),link(2,'PP',r('PP',seg(5,7))), link(3,'NP',r('NP',seg(3,7))),link(4,'S',r('S',seg(2,7))), link(5,'SBAR',r('SBAR',seg(1,8))), link(6,'CORENLP',r('CORENLP',seg(1,8))),lex_winfo, clex_word(noun,upper,upper,neutr+sg-count), clex_word(adj,upper,upper,unknown),talk_db(adj,upper)])], w( volta, [ [ pos(nn), root(volta),loc(7),lnks(6),txt("volta"), ner('COUNTRY'),truecase('INIT_UPPER'), link(1,'NP',r('NP',seg(6,7))),link(2,'PP',r('PP',seg(5,7))), link(3,'NP',r('NP',seg(3,7))),link(4,'S',r('S',seg(2,7))), link(5,'SBAR',r('SBAR',seg(1,8))), link(6,'CORENLP',r('CORENLP',seg(1,8))),lex_winfo])], w( ?, [ [ pos('.'), root(?),loc(8),lnks(2),txt("?"), link(1,'SBAR',r('SBAR',seg(1,8))), link(2,'CORENLP',r('CORENLP',seg(1,8))),lex_winfo, terminator_lex(?,?),char_type_sentence(?,ask)])], span( [ seg(1,1), phrase('NP'),size(1),lnks(2), #(r('NP',seg(1,1))),txt(["what"]),childs(0), link(1,'SBAR',r('SBAR',seg(1,8))), link(2,'CORENLP',r('CORENLP',seg(1,8)))]), span( [ seg(3,4), phrase('NP'),size(2),lnks(4), #(r('NP',seg(3,4))),txt(["the","capital"]), childs(0),link(1,'NP',r('NP',seg(3,7))), link(2,'S',r('S',seg(2,7))), link(3,'SBAR',r('SBAR',seg(1,8))), link(4,'CORENLP',r('CORENLP',seg(1,8)))]), span( [ seg(6,7), phrase('NP'),size(2),lnks(5), #(r('NP',seg(6,7))),txt(["upper","volta"]), childs(0),link(1,'PP',r('PP',seg(5,7))), link(2,'NP',r('NP',seg(3,7))),link(3,'S',r('S',seg(2,7))), link(4,'SBAR',r('SBAR',seg(1,8))), link(5,'CORENLP',r('CORENLP',seg(1,8)))]), span( [ seg(5,7), phrase('PP'),size(3),lnks(4), #( r('PP',seg(5,7))), txt(["of","upper","volta"]),childs(1), child(1,'NP',r('NP',seg(6,7))),link(1,'NP',r('NP',seg(3,7))), link(2,'S',r('S',seg(2,7))), link(3,'SBAR',r('SBAR',seg(1,8))), link(4,'CORENLP',r('CORENLP',seg(1,8)))]), span( [ seg(3,7), phrase('NP'),size(5),lnks(3), #( r('NP',seg(3,7))), txt( [ "the", "capital","of","upper","volta"]), childs(2),child(1,'NP',r('NP',seg(3,4))), child(2,'PP',r('PP',seg(5,7))),link(1,'S',r('S',seg(2,7))), link(2,'SBAR',r('SBAR',seg(1,8))), link(3,'CORENLP',r('CORENLP',seg(1,8)))]), span( [ seg(2,7), phrase('S'),size(6),lnks(2),#(r('S',seg(2,7))), txt( [ "is", "the","capital","of","upper","volta"]), childs(1),child(1,'NP',r('NP',seg(3,7))), link(1,'SBAR',r('SBAR',seg(1,8))), link(2,'CORENLP',r('CORENLP',seg(1,8)))]), span( [ seg(1,8), phrase('CORENLP'),size(8),lnks(0), #( r('CORENLP',seg(1,8))), txt( [ "what", "is","the","capital","of","upper", "volta","?"]), childs(1),child(1,'SBAR',r('SBAR',seg(1,8)))]), span( [ seg(1,8), phrase('SBAR'),size(8),lnks(1), #( r('SBAR',seg(1,8))), txt( [ "what", "is","the","capital","of","upper", "volta","?"]), childs(2),child(1,'NP',r('NP',seg(1,1))), child(2,'S',r('S',seg(2,7))), link(1,'CORENLP',r('CORENLP',seg(1,8)))])]. Parse: 17msec. whq( _148080, s( np(3+sg,wh(Wh11),[]), verb(be,active,pres+fin,[],posP), [ arg( dir, np(3+sg,np_head(det(the(sg)),[],capital),[prep_phrase(prep(of),np(3+sg,nameOf(upper_volta),[]))]))], [])). i_sentence: 17msec. %~ question80( %~ [ spatial&city-_180788], %~ pred( %~ quantV(identityQ,spatial&city-_192366,'`'(true),'`'(true),[],spatial&city-_192372), identityQ,_171682=_171688, %~ [ quantV( %~ det( the(sg)), %~ spatial&city-Specific, %~ `( specific_pred(spatial,nation_capital,Nation_capital,Specific)), %~ '`'(true), %~ [ quantV( identityQ, %~ ( spatial & %~ geo & %~ country) - %~ upper_volta, '`'(true),'`'(true),[], %~ ( spatial & %~ geo & %~ country) - %~ Nation_capital)], %~ spatial&city-_222430)])) clausify80: 17msec. %~ answer80([_249828]) :- %~ %~ ^( _254512, %~ ( specific_pred(spatial,nation_capital,upper_volta,Specific_Upper_volta10) , %~ _25094=Specific_Upper_volta10)) Semantics: -10msec. answer80([A]) :- specific_pred(spatial,nation_capital,upper_volta,A) /* answer80([B]) :- specific_pred(spatial,nation_capital,upper_volta,B). */ Planning: 1msec. answer80([A]) :- specific_pred(spatial,nation_capital,upper_volta,A) /* Specific_Upper_volta10+[] :- database80( specific_pred(spatial,nation_capital,upper_volta,Specific_Upper_volta10)). */ Question: 11msec. ?- test_chat80("what is the capital of upper volta ? "). Reply: 3msec. [ouagadougou]. no_proof_for(test_chat80_mpred(3,[ what, is,the,capital, of,upper,volta, ?],on,[ouagadougou])). no_proof_for(test_chat80_mpred(3,[ what, is,the,capital, of,upper,volta, ?],on,[ouagadougou])). result=passed. ]]></system-err> </testcase> </testsuite> </testsuites>