own-pt / wql

WQL query language
BSD 3-Clause "New" or "Revised" License
1 stars 1 forks source link

core semantic structure of a MRS as a query, what are we missing? #20

Open arademaker opened 3 years ago

arademaker commented 3 years ago

Suppose I have:

[ LTOP: h0
INDEX: e2 [ e SF: prop TENSE: pres MOOD: indicative PROG: + PERF: - ]
RELS: <
 [ _a_q<0:1> LBL: h4 ARG0: x3 [ x PERS: 3 NUM: sg IND: + ] RSTR: h5 BODY: h6 ]
 [ _man_n_1<2:5> LBL: h7 ARG0: x3 ]
 [ _walk_v_1<9:15> LBL: h1 ARG0: e2 ARG1: x3 ARG2: i8 ] >
HCONS: < h0 qeq h1 h5 qeq h7 >
ICONS: < > ]

and I want to write a query that captures the core semantic structure of this sentence, something like:

h4:_a_q[ARG0 x3, RSTR: h5, BODY h6]
h7:_man_n_*[ARG0 x3]
h1:_walk_v_*[ARG0 e2, ARG1 x3, ARG2: i8]
{ h0 =q h1, h5 =q h7 }
  1. we don't have a way to ask for lemmas, right?
  2. we don't have a way to inform the INDEX and TOP, right?