Here are the instructions on how to implement wh-questions for the 567 class:
basic-head-filler-phrase :+ [ ARGS < [ SYNSEM.LOCAL.COORD - ], [ SYNSEM.LOCAL.COORD - ] > ]. wh-ques-phrase := basic-head-filler-phrase & interrogative-clause & head-final & [ SYNSEM.LOCAL.CAT [ MC bool, VAL #val, HEAD verb & [ FORM finite ] ], HEAD-DTR.SYNSEM.LOCAL.CAT [ MC na, VAL #val & [ SUBJ < >, COMPS < > ] ], NON-HEAD-DTR.SYNSEM.NON-LOCAL.QUE <! ref-ind !> ]. extracted-comp-phrase := basic-extracted-comp-phrase & [ SYNSEM.LOCAL.CAT.HEAD verb, HEAD-DTR.SYNSEM.LOCAL.CAT.VAL.SUBJ cons ]. extracted-subj-phrase := basic-extracted-subj-phrase & [ SYNSEM.LOCAL.CAT.HEAD verb, HEAD-DTR.SYNSEM.LOCAL.CAT.VAL.COMPS < > ].
Assuming you also add a pronoun:
wh-pronoun-noun-lex := norm-hook-lex-item & basic-icons-lex-item & [ SYNSEM [ LOCAL [ CAT [ HEAD noun, VAL [ SPR < >, SUBJ < >, COMPS < >, SPEC < > ] ], CONT [ HOOK.INDEX.PNG.PER 3rd, RELS <! [ LBL #larg, ARG0 #ind & ref-ind ], [ PRED "wh_q_rel", ARG0 #ind, RSTR #harg ] !>, HCONS <! [ HARG #harg, LARG #larg ] !> ] ], NON-LOCAL.QUE <! #ind !> ] ]. who := wh-pronoun-noun-lex & [ STEM < "who" >, SYNSEM.LKEYS.KEYREL.PRED "_person_n_rel" ].
– According to the instructions, this this should lead to Who chases the dog parsing as a question.
Here’s what I observe, starting with mini-English and making the above additions:
- No parse for Who chases the dog; here’s the parse chart:
- A unification failure in the SUBJ of the Head-Daughter:
- When I inspect the VP “chases the dog”, it says it is licensed by the head-comp rule, but I don’t see any daughters in the AVM! What happened to them, how do I find out?