You can use this Splitfile to rebuild the image. Read about inspecting provenance in the documentation.
FROM splitgraph/2016_election:3835145ada3f07cad99087d1b1071122d58c48783cbfe4694c101d35651fba90 IMPORT {
SELECT candidate_normalized, state_postal,
SUM(votes) AS total_votes
FROM precinct_results
GROUP BY candidate_normalized,
state_postal
} AS votes_by_state