Semi-rewrite using data-piano