Toward automated design, analysis, and optimization of declarative curation workflows