an artificial waterway constructed to allow the passage of boats or ships inland or to convey water for irrigation.