qnli question: What type of economy did Philadelphia have? sentence: New York City soon surpassed Philadelphia in population, but with the construction of roads, canals, and railroads, Philadelphia became the first major industrial city in the United States.