1% grammar rules
    2
    3s([hans,trifft,susi],[]):- 
    4     pn([hans,trifft,susi],[trifft,susi]),
    5     v_t([trifft,susi],[susi]),
    6     pn([susi],[]).
    7
    8s([martha,schlaeft],[]):- 
    9     pn([martha,schlaeft],[schlaeft]),
   10     v_i([schlaeft],[]).
   11
   12
   13vp(A,B) :- v_t(A,C),np(C,B).
   14vp([sieht,den,mann],[]):-
   15   v_t([sieht,den,mann],[den,mann]),
   16   det([den,mann],[mann]),
   17   n([mann],[]).
   18vp([hilft,karl],[]):- 
   19   v_t([hilft,karl],[karl]),
   20   pn([karl],[]).
   21
   22min1(D,[s(D)|E]):- min1(D,E).
   23min1(F,[s(s(F))|G]):- min1(F,G)