Iraq detains 47 officials on corruption