Sys2text4

From SIGSEM

Jump to: navigation, search
%%% This file was generated by the following command:
%%% bin/boxer --input working/step/text4.ccg --semantics drs --box --resolve --roles verbnet 

:- multifile     sem/5, id/2.
:- discontiguous sem/5, id/2.
:- dynamic       sem/5, id/2.

id(text4,1).

%%% The first school for the training of leader dogs in the country is going to be created in Mortagua and will train 22 leader dogs per year . In Mortagua , Joao Pedro Fonseca and Marta Gomes coordinate the project that seven people develop in this school . They visited several similar places in England and in France , and two future trainers are already doing internship in one of the French Schools . The communitarian funding ensures the operation of the school until 1999 . We would like our school to work similarly to the French ones , which live from donations , from the merchandising and even from the raffles that children sell in school . 

sem(1,
    [word(1001, 'The'), word(1002, first), word(1003, school), word(1004, for), word(1005, the), word(1006, training), word(1007, of), word(1008, leader), word(1009, dogs), word(1010, in), word(1011, the), word(1012, country), word(1013, is), word(1014, going), word(1015, to), word(1016, be), word(1017, created), word(1018, in), word(1019, 'Mortagua'), word(1020, and), word(1021, will), word(1022, train), word(1023, '22'), word(1024, leader), word(1025, dogs), word(1026, per), word(1027, year), word(1028, '.'), word(2001, 'In'), word(2002, 'Mortagua'), word(2003, (',')), word(2004, 'Joao'), word(2005, 'Pedro'), word(2006, 'Fonseca'), word(2007, and), word(2008, 'Marta'), word(2009, 'Gomes'), word(2010, coordinate), word(2011, the), word(2012, project), word(2013, that), word(2014, seven), word(2015, people), word(2016, develop), word(2017, in), word(2018, this), word(2019, school), word(2020, '.'), word(3001, 'They'), word(3002, visited), word(3003, several), word(3004, similar), word(3005, places), word(3006, in), word(3007, 'England'), word(3008, and), word(3009, in), word(3010, 'France'), word(3011, (',')), word(3012, and), word(3013, two), word(3014, future), word(3015, trainers), word(3016, are), word(3017, already), word(3018, doing), word(3019, internship), word(3020, in), word(3021, one), word(3022, of), word(3023, the), word(3024, 'French'), word(3025, 'Schools'), word(3026, '.'), word(4001, 'The'), word(4002, communitarian), word(4003, funding), word(4004, ensures), word(4005, the), word(4006, operation), word(4007, of), word(4008, the), word(4009, school), word(4010, until), word(4011, '1999'), word(4012, '.'), word(5001, 'We'), word(5002, would), word(5003, like), word(5004, our), word(5005, school), word(5006, to), word(5007, work), word(5008, similarly), word(5009, to), word(5010, the), word(5011, 'French'), word(5012, ones), word(5013, (',')), word(5014, which), word(5015, live), word(5016, from), word(5017, donations), word(5018, (',')), word(5019, from), word(5020, the), word(5021, merchandising), word(5022, and), word(5023, even), word(5024, from), word(5025, the), word(5026, raffles), word(5027, that), word(5028, children), word(5029, sell), word(5030, in), word(5031, school), word(5032, '.')],
    [pos(1001, 'DT'), pos(1002, 'JJ'), pos(1003, 'NN'), pos(1004, 'IN'), pos(1005, 'DT'), pos(1006, 'NN'), pos(1007, 'IN'), pos(1008, 'NN'), pos(1009, 'NNS'), pos(1010, 'IN'), pos(1011, 'DT'), pos(1012, 'NN'), pos(1013, 'VBZ'), pos(1014, 'VBG'), pos(1015, 'TO'), pos(1016, 'VB'), pos(1017, 'VBN'), pos(1018, 'IN'), pos(1019, 'NNP'), pos(1020, 'CC'), pos(1021, 'MD'), pos(1022, 'VB'), pos(1023, 'CD'), pos(1024, 'NN'), pos(1025, 'NNS'), pos(1026, 'IN'), pos(1027, 'NN'), pos(1028, '.'), pos(2001, 'IN'), pos(2002, 'NNP'), pos(2003, (',')), pos(2004, 'NNP'), pos(2005, 'NNP'), pos(2006, 'NNP'), pos(2007, 'CC'), pos(2008, 'NNP'), pos(2009, 'NNP'), pos(2010, 'VB'), pos(2011, 'DT'), pos(2012, 'NN'), pos(2013, 'IN'), pos(2014, 'CD'), pos(2015, 'NNS'), pos(2016, 'VBP'), pos(2017, 'IN'), pos(2018, 'DT'), pos(2019, 'NN'), pos(2020, '.'), pos(3001, 'PRP'), pos(3002, 'VBD'), pos(3003, 'JJ'), pos(3004, 'JJ'), pos(3005, 'NNS'), pos(3006, 'IN'), pos(3007, 'NNP'), pos(3008, 'CC'), pos(3009, 'IN'), pos(3010, 'NNP'), pos(3011, (',')), pos(3012, 'CC'), pos(3013, 'CD'), pos(3014, 'JJ'), pos(3015, 'NNS'), pos(3016, 'VBP'), pos(3017, 'RB'), pos(3018, 'VBG'), pos(3019, 'NN'), pos(3020, 'IN'), pos(3021, 'CD'), pos(3022, 'IN'), pos(3023, 'DT'), pos(3024, 'JJ'), pos(3025, 'NNS'), pos(3026, '.'), pos(4001, 'DT'), pos(4002, 'JJ'), pos(4003, 'NN'), pos(4004, 'VBZ'), pos(4005, 'DT'), pos(4006, 'NN'), pos(4007, 'IN'), pos(4008, 'DT'), pos(4009, 'NN'), pos(4010, 'IN'), pos(4011, 'CD'), pos(4012, '.'), pos(5001, 'PRP'), pos(5002, 'MD'), pos(5003, 'VB'), pos(5004, 'PRP$'), pos(5005, 'NN'), pos(5006, 'TO'), pos(5007, 'VB'), pos(5008, 'RB'), pos(5009, 'TO'), pos(5010, 'DT'), pos(5011, 'JJ'), pos(5012, 'NNS'), pos(5013, (',')), pos(5014, 'WDT'), pos(5015, 'VBP'), pos(5016, 'IN'), pos(5017, 'NNS'), pos(5018, (',')), pos(5019, 'IN'), pos(5020, 'DT'), pos(5021, 'NN'), pos(5022, 'CC'), pos(5023, 'RB'), pos(5024, 'IN'), pos(5025, 'DT'), pos(5026, 'NNS'), pos(5027, 'IN'), pos(5028, 'NNS'), pos(5029, 'VBP'), pos(5030, 'IN'), pos(5031, 'NN'), pos(5032, '.')],
    [ne(1019, 'I-LOC'), ne(2002, 'I-LOC'), ne(2004, 'I-PER'), ne(2005, 'I-PER'), ne(2006, 'I-PER'), ne(2007, 'I-PER'), ne(2008, 'I-PER'), ne(2009, 'I-PER'), ne(3007, 'I-LOC'), ne(3010, 'I-LOC'), ne(4011, 'I-DAT')],
    smerge(drs([[1001]:A, [1005]:B, [1011]:C, [1019]:D, [2004, 2005, 2006]:E, [2011]:F, [2008, 2009]:G, [3001]:H, [3007]:I, [3010]:J, [4001]:K, [4005]:L, [5001]:M, [5004]:N, [5010]:O, [5020]:P, [5001]:Q, [5004]:R, [5025]:S, [5028]:T, [5029]:U, [5031]:V], [[5012]:pred(O, one, n, 0), [5011]:pred(O, french, a, 0), [5004]:rel(A, R, of, 0), [1003, 2019, 3025, 4009, 5005]:pred(A, school, n, 0), [5004]:rel(A, N, of, 0), [3024]:pred(A, french, a, 0), [2012]:pred(F, project, n, 0), [1019, 2002]:named(D, mortagua, loc, 0), [1012]:pred(C, country, n, 0), [1006]:pred(B, training, n, 0), [1002]:pred(A, first, a, 0), [2006]:named(E, fonseca, per, 0), [2005]:named(E, pedro, per, 0), [2004]:named(E, joao, per, 0), [2009]:named(G, gomes, per, 0), [2008]:named(G, marta, per, 0), [3001]:pred(H, thing, n, 12), [3007]:named(I, england, loc, 0), [3010]:named(J, france, loc, 0), [4002]:pred(K, communitarian, a, 0), [4003]:pred(K, funding, n, 0), [4006]:pred(L, operation, n, 0), [5001]:pred(M, person, n, 1), [5004]:pred(N, person, n, 1), [5021]:pred(P, merchandising, n, 0), [5001]:pred(Q, person, n, 1), [5004]:pred(R, person, n, 1), [5026]:pred(S, raffle, n, 0), [5028]:pred(T, child, n, 0), [5029]:pred(U, sell, v, 0), [5031]:pred(V, school, n, 0), [5029]:rel(U, T, agent, 0), [5030]:rel(U, V, in, 0), [5026]:rel(U, S, rel, 0)]), smerge(drs([[1008]:W, [1008, 1009]:X, [1014]:Y, []:Z, [1008]:A1, [1008, 1009]:B1, [1024]:C1, [1023, 1024, 1025]:D1, [1027]:E1, [1022]:F1], [[1008]:pred(W, leader, n, 0), [1009]:pred(X, dog, n, 0), []:rel(W, X, nn, 0), [1007]:rel(B, X, of, 0), [1014]:pred(Y, go, v, 0), [1014]:pred(Z, proposition, n, 1), []:pred(Y, event, n, 1), [1010]:rel(B, C, in, 0), [1004]:rel(A, B, for, 0), [1014]:rel(Y, A, agent, 0), [1014]:rel(Y, Z, theme, 0), [1014]:prop(Z, drs([[1017]:G1], [[1017]:pred(G1, create, v, 0), [1017]:rel(G1, A, product, 0), []:pred(G1, event, n, 1), [1018]:rel(G1, D, in, 0)])), [1008]:pred(A1, leader, n, 0), [1009]:pred(B1, dog, n, 0), []:rel(A1, B1, nn, 0), [1007]:rel(B, B1, of, 0), [1023]:card(D1, 22, ge), [1024]:pred(C1, leader, n, 0), [1025]:pred(D1, dog, n, 0), [1027]:pred(E1, year, n, 0), [1022]:pred(F1, train, v, 0), []:pred(F1, event, n, 1), []:rel(C1, D1, nn, 0), [1010]:rel(B, C, in, 0), [1004]:rel(A, B, for, 0), [1026]:rel(D1, E1, per, 0), [1022]:rel(F1, A, agent, 0), [1022]:rel(F1, D1, patient, 0)]), smerge(drs([[2001]:H1, []:I1], [[2001]:pred(H1, in, v, 0), [2001]:pred(I1, proposition, n, 1), []:pred(H1, event, n, 1), [2001]:rel(H1, D, agent, 0), [2001]:rel(H1, I1, theme, 0), [2001]:prop(I1, drs([[2013]:J1, [2010]:K1, [2013]:L1, [2010]:M1], [[2013]:pred(J1, proposition, n, 1), [2010]:pred(K1, coordinate, v, 0), []:pred(K1, event, n, 1), [2013]:rel(F, J1, that, 0), [2010]:rel(K1, E, agent, 0), [2010]:rel(K1, F, patient, 0), [2013]:prop(J1, drs([[2014, 2015]:N1, [2016]:O1], [[2014]:card(N1, 7, ge), [2015]:pred(N1, people, n, 0), [2016]:pred(O1, develop, v, 0), [2016]:rel(O1, N1, theme, 0), []:pred(O1, event, n, 1), [2017]:rel(O1, A, in, 0)])), [2013]:pred(L1, proposition, n, 1), [2010]:pred(M1, coordinate, v, 0), []:pred(M1, event, n, 1), [2013]:rel(F, L1, that, 0), [2010]:rel(M1, G, agent, 0), [2010]:rel(M1, F, patient, 0), [2013]:prop(L1, drs([[2014, 2015]:P1, [2016]:Q1], [[2014]:card(P1, 7, ge), [2015]:pred(P1, people, n, 0), [2016]:pred(Q1, develop, v, 0), [2016]:rel(Q1, P1, theme, 0), []:pred(Q1, event, n, 1), [2017]:rel(Q1, A, in, 0)]))]))]), smerge(drs([[3003, 3004, 3005]:R1, [3002]:S1, [3003, 3004, 3005]:T1, [3002]:U1], [[3003]:pred(R1, several, a, 0), [3004]:pred(R1, similar, a, 0), [3005]:pred(R1, place, n, 0), [3002]:pred(S1, visit, v, 0), []:pred(S1, event, n, 1), [3006]:rel(R1, I, in, 0), [3002]:rel(S1, H, agent, 0), [3002]:rel(S1, R1, patient, 0), [3003]:pred(T1, several, a, 0), [3004]:pred(T1, similar, a, 0), [3005]:pred(T1, place, n, 0), [3002]:pred(U1, visit, v, 0), []:pred(U1, event, n, 1), [3009]:rel(T1, J, in, 0), [3002]:rel(U1, H, agent, 0), [3002]:rel(U1, T1, patient, 0)]), smerge(drs([[3013, 3014, 3015]:V1, [3019]:W1, [3018]:X1, [3021]:Y1], [[3013]:card(V1, 2, ge), [3021]:card(Y1, 1, ge), [3014]:pred(V1, future, a, 0), [3015]:pred(V1, trainer, n, 0), [3019]:pred(W1, internship, n, 0), [3018]:pred(X1, do, v, 0), [3021]:pred(Y1, thing, n, 12), [3018]:rel(X1, V1, agent, 0), [3018]:rel(X1, W1, patient, 0), [3017]:pred(X1, already, a, 0), []:pred(X1, event, n, 1), [3022]:rel(Y1, A, of, 0), [3020]:rel(X1, Y1, in, 0)]), smerge(drs([[4004]:Z1, [4011]:A2], [[4004]:pred(Z1, ensure, v, 0), [4011]:pred(A2, thing, n, 12), []:pred(Z1, event, n, 1), [4007]:rel(L, A, of, 0), [4004]:rel(Z1, K, agent, 0), [4004]:rel(Z1, L, patient, 0), [4010]:rel(Z1, A2, until, 0), [4011]:timex(A2, date([]: +, [4011]:'1999', []:'XX', []:'XX'))]), drs([[5003]:B2, []:C2, [5003]:D2, []:E2], [[5003]:pred(B2, like, v, 0), [5003]:pred(C2, proposition, n, 1), [5003]:rel(B2, A, patient, 0), [5003]:rel(B2, M, agent, 0), [5003]:rel(B2, C2, theme, 0), [5003]:prop(C2, drs([[5007]:F2, [5015]:G2, [5017]:H2], [[5007]:pred(F2, work, v, 0), [5007]:rel(F2, A, actor, 0), [5015]:pred(G2, live, v, 0), [5017]:pred(H2, donation, n, 0), []:pred(G2, event, n, 1), [5015]:rel(G2, O, agent, 0), [5016]:rel(G2, H2, from, 0), [5009]:rel(F2, O, to, 0), [5008]:pred(F2, similarly, a, 0), []:pred(F2, event, n, 1)])), []:pred(B2, event, n, 1), [5019]:rel(B2, P, from, 0), [5003]:pred(D2, like, v, 0), [5003]:pred(E2, proposition, n, 1), [5003]:rel(D2, A, patient, 0), [5003]:rel(D2, Q, agent, 0), [5003]:rel(D2, E2, theme, 0), [5003]:prop(E2, drs([[5007]:I2, [5015]:J2, [5017]:K2], [[5007]:pred(I2, work, v, 0), [5007]:rel(I2, A, actor, 0), [5015]:pred(J2, live, v, 0), [5017]:pred(K2, donation, n, 0), []:pred(J2, event, n, 1), [5015]:rel(J2, O, agent, 0), [5016]:rel(J2, K2, from, 0), [5009]:rel(I2, O, to, 0), [5008]:pred(I2, similarly, a, 0), []:pred(I2, event, n, 1)])), [5023]:pred(D2, even, a, 0), []:pred(D2, event, n, 1), [5024]:rel(D2, S, from, 0)]))))))) ).
%%%   _______________________________________________________________________________    _________________________________________    __________________________________    __________________    __________________    ______________________   _________________________       
%%%  | x0 x1 x2 x3 x4 x5 x6 x7 x8 x9 x10 x11 x12 x13 x14 x15 x16 x17 x18 x19 x20 x21 |  | x22 x23 x24 x25 x26 x27 x28 x29 x30 x31 |  | x33 x34                          |  | x43 x44 x45 x46  |  | x47 x48 x49 x50  |  | x51 x52              | | x53 x54 x55 x56         |      
%%%  |-------------------------------------------------------------------------------|  |-----------------------------------------|  |----------------------------------|  |------------------|  |------------------|  |----------------------| |-------------------------|      
%%% (| one(x14)                                                                      |+(| leader(x22)                             |+(| in(x33)                          |+(| several(x43)     |+(| |x47| >= 2       |+(| ensure(x51)          |+| like(x53)               |))))))
%%%  | french(x14)                                                                   |  | dog(x23)                                |  | proposition(x34)                 |  | similar(x43)     |  | |x50| >= 1       |  | thing(x52)           | | proposition(x54)        |      
%%%  | of(x0,x17)                                                                    |  | nn(x22,x23)                             |  | event(x33)                       |  | place(x43)       |  | future(x47)      |  | event(x51)           | | patient(x53,x0)         |      
%%%  | school(x0)                                                                    |  | of(x1,x23)                              |  | agent(x33,x3)                    |  | visit(x44)       |  | trainer(x47)     |  | of(x11,x0)           | | agent(x53,x12)          |      
%%%  | of(x0,x13)                                                                    |  | go(x24)                                 |  | theme(x33,x34)                   |  | event(x44)       |  | internship(x48)  |  | agent(x51,x10)       | | theme(x53,x54)          |      
%%%  | french(x0)                                                                    |  | proposition(x25)                        |  |       _________________________  |  | in(x43,x8)       |  | do(x49)          |  | patient(x51,x11)     | |       ________________  |      
%%%  | project(x5)                                                                   |  | event(x24)                              |  |      | x35 x36 x37 x38         | |  | agent(x44,x7)    |  | thing(x50)       |  | until(x51,x52)       | |      | x57 x58 x59    | |      
%%%  | named(x3,mortagua,loc)                                                        |  | in(x1,x2)                               |  |  x34:|-------------------------| |  | patient(x44,x43) |  | agent(x49,x47)   |  | timex(x52)=+1999XXXX | |  x54:|----------------| |      
%%%  | country(x2)                                                                   |  | for(x0,x1)                              |  |      | proposition(x35)        | |  | several(x45)     |  | patient(x49,x48) |  |______________________| |      | work(x57)      | |      
%%%  | training(x1)                                                                  |  | agent(x24,x0)                           |  |      | coordinate(x36)         | |  | similar(x45)     |  | already(x49)     |                           |      | actor(x57,x0)  | |      
%%%  | first(x0)                                                                     |  | theme(x24,x25)                          |  |      | event(x36)              | |  | place(x45)       |  | event(x49)       |                           |      | live(x58)      | |      
%%%  | named(x4,fonseca,per)                                                         |  |       _________________                 |  |      | that(x5,x35)            | |  | visit(x46)       |  | of(x50,x0)       |                           |      | donation(x59)  | |      
%%%  | named(x4,pedro,per)                                                           |  |      | x32             |                |  |      | agent(x36,x4)           | |  | event(x46)       |  | in(x49,x50)      |                           |      | event(x58)     | |      
%%%  | named(x4,joao,per)                                                            |  |  x25:|-----------------|                |  |      | patient(x36,x5)         | |  | in(x45,x9)       |  |__________________|                           |      | agent(x58,x14) | |      
%%%  | named(x6,gomes,per)                                                           |  |      | create(x32)     |                |  |      |       ________________  | |  | agent(x46,x7)    |                                                 |      | from(x58,x59)  | |      
%%%  | named(x6,marta,per)                                                           |  |      | product(x32,x0) |                |  |      |      | x39 x40        | | |  | patient(x46,x45) |                                                 |      | to(x57,x14)    | |      
%%%  | thing(x7)                                                                     |  |      | event(x32)      |                |  |      |  x35:|----------------| | |  |__________________|                                                 |      | similarly(x57) | |      
%%%  | named(x8,england,loc)                                                         |  |      | in(x32,x3)      |                |  |      |      | |x39| >= 7     | | |                                                                       |      | event(x57)     | |      
%%%  | named(x9,france,loc)                                                          |  |      |_________________|                |  |      |      | people(x39)    | | |                                                                       |      |________________| |      
%%%  | communitarian(x10)                                                            |  | leader(x26)                             |  |      |      | develop(x40)   | | |                                                                       | event(x53)              |      
%%%  | funding(x10)                                                                  |  | dog(x27)                                |  |      |      | theme(x40,x39) | | |                                                                       | from(x53,x15)           |      
%%%  | operation(x11)                                                                |  | nn(x26,x27)                             |  |      |      | event(x40)     | | |                                                                       | like(x55)               |      
%%%  | person(x12)                                                                   |  | of(x1,x27)                              |  |      |      | in(x40,x0)     | | |                                                                       | proposition(x56)        |      
%%%  | person(x13)                                                                   |  | |x29| >= 22                             |  |      |      |________________| | |                                                                       | patient(x55,x0)         |      
%%%  | merchandising(x15)                                                            |  | leader(x28)                             |  |      | proposition(x37)        | |                                                                       | agent(x55,x16)          |      
%%%  | person(x16)                                                                   |  | dog(x29)                                |  |      | coordinate(x38)         | |                                                                       | theme(x55,x56)          |      
%%%  | person(x17)                                                                   |  | year(x30)                               |  |      | event(x38)              | |                                                                       |       ________________  |      
%%%  | raffle(x18)                                                                   |  | train(x31)                              |  |      | that(x5,x37)            | |                                                                       |      | x60 x61 x62    | |      
%%%  | child(x19)                                                                    |  | event(x31)                              |  |      | agent(x38,x6)           | |                                                                       |  x56:|----------------| |      
%%%  | sell(x20)                                                                     |  | nn(x28,x29)                             |  |      | patient(x38,x5)         | |                                                                       |      | work(x60)      | |      
%%%  | school(x21)                                                                   |  | in(x1,x2)                               |  |      |       ________________  | |                                                                       |      | actor(x60,x0)  | |      
%%%  | agent(x20,x19)                                                                |  | for(x0,x1)                              |  |      |      | x41 x42        | | |                                                                       |      | live(x61)      | |      
%%%  | in(x20,x21)                                                                   |  | per(x29,x30)                            |  |      |  x37:|----------------| | |                                                                       |      | donation(x62)  | |      
%%%  | rel(x20,x18)                                                                  |  | agent(x31,x0)                           |  |      |      | |x41| >= 7     | | |                                                                       |      | event(x61)     | |      
%%%  |_______________________________________________________________________________|  | patient(x31,x29)                        |  |      |      | people(x41)    | | |                                                                       |      | agent(x61,x14) | |      
%%%                                                                                     |_________________________________________|  |      |      | develop(x42)   | | |                                                                       |      | from(x61,x62)  | |      
%%%                                                                                                                                  |      |      | theme(x42,x41) | | |                                                                       |      | to(x60,x14)    | |      
%%%                                                                                                                                  |      |      | event(x42)     | | |                                                                       |      | similarly(x60) | |      
%%%                                                                                                                                  |      |      | in(x42,x0)     | | |                                                                       |      | event(x60)     | |      
%%%                                                                                                                                  |      |      |________________| | |                                                                       |      |________________| |      
%%%                                                                                                                                  |      |_________________________| |                                                                       | even(x55)               |      
%%%                                                                                                                                  |__________________________________|                                                                       | event(x55)              |      
%%%                                                                                                                                                                                                                                             | from(x55,x18)           |      
%%%                                                                                                                                                                                                                                             |_________________________|      
Attempted: 5. Completed: 5 (100.00%).
Personal tools