[[Mary-ga itsu ronbun-o shiageru-ka] John-ga Tom-ni tazunete-ita]-no-no shuppan-ga okureta .
Mary-NOM when paper-ACC finish-Q John-NOM Tom-DAT asked-had-no-GEN publication-NOM was delayed
[[John had asked Tom [when Mary would finish a (certain) paper]] and the publication of that paper was delayed.