sentence1: In the era of the Tokugawa shoguns, the canals were used to carry rice and grain in barges for onward shipment to the great markets of Osaka and Edo.
sentence2: The markets of Osaka and Edo were supplied by rice and grain using the canals.