UDepLambda Demo

Please enter your sentence


Dependency Parse:


Simplified Logical Form:

[["acquire.arg1(6:e , 5:m.Disney)","acquire.arg2(6:e , 0:m.Pixar)","company(3:s , 0:m.Pixar)","company.arg0(3:e , 0:m.Pixar)","make.arg1(8:e , 0:m.Pixar)","make.arg2(8:e , 9:m.ratatouille)"]]

Lambda Expression:

(lambda $0:<a,e> (exists:ex $1:<a,e> (and:c (exists:ex $2:<a,e> (and:c (p_EVENT_w-9-made:u $0) (p_TYPE_w-10-ratatouille:u $2) (p_EVENT.ENTITY_arg2:b $0 $2))) (and:c (and:c (p_TYPE_w-1-pixar:u $1) (p_EVENT_w-1-pixar:u $1) (p_EVENT.ENTITY_arg0:b $1 $1)) (exists:ex $3:<a,e> (and:c (and:c (and:c (and:c (p_TYPE_w-4-company:u $1) (p_EVENT_w-4-company:u $1) (p_EVENT.ENTITY_arg0:b $1 $1)) (p_EQUAL:b $1 v-w-4-company:v)) (p_EMPTY:u $1)) (exists:ex $4:<a,e> (and:c (exists:ex $5:<a,e> (and:c (exists:ex $6:<a,e> (and:c (p_EVENT_w-7-acquired:u $3) (p_EMPTY:u $6) (p_EVENT.ENTITY_arg2:b $3 $6))) (p_EQUAL:b $5 v-w-4-company:v) (p_EVENT.ENTITY_arg2:b $3 $5))) (p_TYPE_w-6-disney:u $4) (p_EVENT.ENTITY_arg1:b $3 $4)))))) (p_EVENT.ENTITY_arg1:b $0 $1))))

Composition Order:

(l-punct (l-nsubj (l-dobj w-9-made w-10-ratatouille) (l-punct (l-punct (l-appos w-1-pixar (l-acl:relcl (l-det (l-BIND w-4-company v-w-4-company) w-3-the) (l-nsubj (l-dobj (l-dobj w-7-acquired w-5-which) v-w-4-company) w-6-disney))) w-2-,) w-8-,)) w-11-.)

Json Format:

{"sentence":"Pixar, the company which Disney acquired, made Ratatouille.","words":[{"word":"Pixar","lemma":"Pixar","pos":"PROPN","ner":"ORGANIZATION","index":1,"head":9,"dep":"nsubj"},{"word":",","lemma":",","pos":"PUNCT","ner":"O","index":2,"head":1,"dep":"punct"},{"word":"the","lemma":"the","pos":"DET","ner":"O","index":3,"head":4,"dep":"det"},{"word":"company","lemma":"company","pos":"NOUN","ner":"O","index":4,"head":1,"dep":"appos"},{"word":"which","lemma":"which","pos":"DET","ner":"O","index":5,"head":7,"dep":"dobj"},{"word":"Disney","lemma":"Disney","pos":"PROPN","ner":"ORGANIZATION","index":6,"head":7,"dep":"nsubj"},{"word":"acquired","lemma":"acquire","pos":"VERB","ner":"O","index":7,"head":4,"dep":"acl:relcl"},{"word":",","lemma":",","pos":"PUNCT","ner":"O","index":8,"head":1,"dep":"punct"},{"word":"made","lemma":"make","pos":"VERB","ner":"O","dep":"root","head":0,"index":9},{"word":"Ratatouille","lemma":"Ratatouille","pos":"PROPN","ner":"O","index":10,"head":9,"dep":"dobj"},{"word":".","lemma":".","pos":"PUNCT","ner":"O","index":11,"head":9,"dep":"punct","sentEnd":true}],"entities":[{"phrase":"Pixar","start":0,"end":0,"index":0},{"phrase":"Disney","start":5,"end":5,"index":5}],"deplambda_oblique_tree":"(l-punct (l-nsubj (l-dobj w-9-made w-10-ratatouille) (l-punct (l-punct (l-appos w-1-pixar (l-acl:relcl (l-det (l-BIND w-4-company v-w-4-company) w-3-the) (l-nsubj (l-dobj (l-dobj w-7-acquired w-5-which) v-w-4-company) w-6-disney))) w-2-,) w-8-,)) w-11-.)","deplambda_expression":"(lambda $0:<a,e> (exists:ex $1:<a,e> (and:c (exists:ex $2:<a,e> (and:c (p_EVENT_w-9-made:u $0) (p_TYPE_w-10-ratatouille:u $2) (p_EVENT.ENTITY_arg2:b $0 $2))) (and:c (and:c (p_TYPE_w-1-pixar:u $1) (p_EVENT_w-1-pixar:u $1) (p_EVENT.ENTITY_arg0:b $1 $1)) (exists:ex $3:<a,e> (and:c (and:c (and:c (and:c (p_TYPE_w-4-company:u $1) (p_EVENT_w-4-company:u $1) (p_EVENT.ENTITY_arg0:b $1 $1)) (p_EQUAL:b $1 v-w-4-company:v)) (p_EMPTY:u $1)) (exists:ex $4:<a,e> (and:c (exists:ex $5:<a,e> (and:c (exists:ex $6:<a,e> (and:c (p_EVENT_w-7-acquired:u $3) (p_EMPTY:u $6) (p_EVENT.ENTITY_arg2:b $3 $6))) (p_EQUAL:b $5 v-w-4-company:v) (p_EVENT.ENTITY_arg2:b $3 $5))) (p_TYPE_w-6-disney:u $4) (p_EVENT.ENTITY_arg1:b $3 $4)))))) (p_EVENT.ENTITY_arg1:b $0 $1))))","dependency_lambda":[["acquire.arg1(6:e , 5:m.Disney)","acquire.arg2(6:e , 0:m.Pixar)","company(3:s , 0:m.Pixar)","company.arg0(3:e , 0:m.Pixar)","make.arg1(8:e , 0:m.Pixar)","make.arg2(8:e , 9:m.ratatouille)"]]}