Yes that is possible. It does require some adds to the nlp.
First add this to the "nlp_attr.txt":
Code:
#actor_attr = <master> : master
This will create an actor attribute value for an actor.
Then add this to the "nlp_obj_attr.txt":
Code:
//////////////////////////////////////////
// Actor who attribute
//////////////////////////////////////////
#nquestion1 = <who * #qis * #qacattr> : ^qn_who_is_ac_attr(&1,present)
#nquestion1 = <who * #qacattr * #qis> : ^qn_who_is_ac_attr(&0,present)
#nquestion1 = <who * #qcan * be * #qacattr> : ^qn_who_is_ac_attr(&1,present)
#nquestion1 = <who * #qcan * #qacattr * be> : ^qn_who_is_ac_attr(&1,present)
#nquestion1 = <who * #qacattr * #qcan * be> : ^qn_who_is_ac_attr(&0,present)
#nquestion1 = <who * #qwas * #qacattr> : ^qn_who_is_ac_attr(&1,past)
#nquestion1 = <who * #qacattr * #qwas> : ^qn_who_is_ac_attr(&0,past)
#nquestion1 = <who * is * been * #qacattr> : ^qn_who_is_ac_attr(&0,past)
#nquestion1 = <who * is * #qacattr * been> : ^qn_who_is_ac_attr(&0,past)
#nquestion1 = <who * #qacattr * is * been> : ^qn_who_is_ac_attr(&0,past)
#nquestion1 = <who * #qhas * been * #qacattr> : ^qn_who_is_ac_attr(&1,past)
#nquestion1 = <who * #qhas * #qacattr * been> : ^qn_who_is_ac_attr(&1,past)
#nquestion1 = <who * #qacattr * #qhas * been> : ^qn_who_is_ac_attr(&0,past)
#nquestion1 = <who * #qcan * have * been * #qacattr> : ^qn_who_is_ac_attr(&1,past)
#nquestion1 = <who * #qcan * #qacattr * have * been> : ^qn_who_is_ac_attr(&1,past)
#nquestion1 = <who * #qacattr * #qcan * have * been> : ^qn_who_is_ac_attr(&0,past)
#nquestion1 = <who * #qcan * going * to * be * #qacattr> : ^qn_who_is_ac_attr(&1,future)
#nquestion1 = <who * #qcan * #qacattr * going * to * be> : ^qn_who_is_ac_attr(&1,future)
#nquestion1 = <who * #qacattr * #qcan * going * to * be> : ^qn_who_is_ac_attr(&0,future)
#nquestion1 = <who * #qis * going * to * be * #qacattr> : ^qn_who_is_ac_attr(&1,future)
#nquestion1 = <who * #qis * #qacattr * going * to * be> : ^qn_who_is_ac_attr(&1,future)
#nquestion1 = <who * #qacattr * #qis * going * to * be> : ^qn_who_is_ac_attr(&0,future)
This will create all sentences that use the 'who' question in combination with an actors attribute.
They are not all needed but allow questions like: Who is going to be your master?
Then add this to the "result.txt" (after qn_what_is_ac_attr):
Code:
qn_who_is_ac_attr(*,*,*) : get(form),&0(actor),&1(attr),&2(tense)
This will create a result for the sentence.
Now when you ask the question or similar one you get a good result for it.
React on it by e.g. adding this to the "basic_ref_command.dat":
Code:
master.you.get =
{
talk.s = "You are {^gname}";
}
Hope this helps