Question: Allegheny Portage Railroad and Cayuga–Seneca Canal, are located in which country?

Context paragraphs:
Bridge in Portage Township: Bridge in Portage Township is a historic stone arch bridge located at Portage Township in Cambria County, Pennsylvania.  It was built by the Allegheny Portage Railroad in 1832, and is an 18 ft bridge, with a semi-circular arch.  It is built of coursed ashlar and crosses Bens Creek.

Allegheny Portage Railroad: The Allegheny Portage Railroad was the first railroad constructed through the Allegheny Mountains in central Pennsylvania, United States; it operated from 1834 to 1854 as the first transportation infrastructure through the gaps of the Allegheny that connected the midwest to the eastern seaboard across the barrier range of the Allegheny Front.  Authorized as part of the Main Line of Public Works legislation in 1824, it was a series of ten inclines connecting to a branch of the Pennsylvania Canal at either end, approximately 36 mi long overall.  It had five inclines on either side of the drainage divide running athwart the ridge line from Blair Gap through along the kinked saddle at the summit into Cresson, Pennsylvania.  The Portage Railroad utilized cleverly designed wheeled barges to ride a narrow-gauge rail track with steam-powered stationary engines lifting the vehicles.  Except for peak moments of severe storms, it was an all-weather, all-seasons operation.  Along with the rest of the Main Works, it cut transport time from Philadelphia to the Ohio River from weeks to just 3–5 days.  The roadbed of the railroad did not incline monotonically upwards, but rose in relatively long, saw-toothed stretches of slightly-sloped flat terrain suitable to animal powered towing, alternating with steep cable railway inclined planes using static steam engine powered windlasses, similar to mechanisms of modern ski lifts.

Cayuga–Seneca Canal: The Cayuga–Seneca Canal is a canal in New York, United States.  It is now part of the New York State Canal System.

Staple Bend Tunnel: The Staple Bend Tunnel, about 4 mi east of Johnstown, Pennsylvania, in a town called Mineral Point, was constructed between 1831 and 1834 for the Allegheny Portage Railroad.  Construction began on April 12, 1831.  This tunnel, at 901 ft in length, was the first railway tunnel constructed in the United States.  It is rock bored and stone lined.

Horseshoe Curve (Pennsylvania): Horseshoe Curve is a three-track railroad curve on Norfolk Southern Railway's Pittsburgh Line in Blair County, Pennsylvania.  The curve itself is about 2375 ft long and 1300 ft in diameter; it was completed in 1854 by the Pennsylvania Railroad as a way to lessen the grade to the summit of the Allegheny Mountains.  It eventually replaced the time-consuming Allegheny Portage Railroad, the only other route across the mountains for large vehicles.

Blair Gap: Blair Gap, one of the gaps of the Allegheny is a water gap along the eastern face atop the Allegheny Ridge or Allegheny Front escarpment.  Like other" 'gaps of the Allegheny' "the slopes of Blair Gap were amenable to foot travel, pack mules, and possibly wagons allowing Amerindians, and then, after about 1778-1780 settlers, to travel west into the relatively depopulated Ohio Country decades before the railroads were born and tied the country together with steel.  Historically, the gap was used for the upper sections of the Allegheny Portage Railroad, which as was authorized by the enabling acts in 1824 of Pennsylvania's Main Line of Public Works as part of the Pennsylvania Canal System which originally envisioned linking Pittsburgh to Philadelphia by canals.  In the early 1900s, US Route 22 followed alongside the watercourse through the gap.

Pennsylvania Canal: Pennsylvania Canal "(or sometimes Pennsylvania Canal system)" refers generally to a complex system of transportation infrastructure improvements including canals, dams, locks, tow paths, aqueducts, and viaducts.  The Canal and Works were constructed and assembled over several decades beginning in 1824, the year of the first enabling act and budget items.  It should be understood the "first use of any railway" in North America was the year 1826, so the newspapers and the Pennsylvania Assembly of 1824 applied the term then to the proposed Right of ways mainly for the canals of the Main Line of Public Works to be built across the southern part of Pennsylvania.  Enacted before Railroads gestated during their infancy, the focus of the act was to create through building a canal system, the capability to ship heavy or bulk goods and connect Philadelphia to Pittsburgh—and "more importantly"—and "beyond" to the "new growth markets" in the developing territories reached by the Ohio River now called the midwest.  Later, when updated in 1837 to reflect the experience of twelve years of toddler-railways, the term was also applied to railroads and new canals to be added to the state transportation system.  As a crowning achievement, the Main Line of Public Works and the Pennsylvania Canal system topped 2100 ft in elevation by erecting the Allegheny Portage Railroad, which used a system of five inclines and five planes on each side of the Eastern Continental Divide at Cresson Pass in Cambria County to actually haul wheeled flat cars, which had halved canal boats placed on them, up and over the Allegheny Front and connect Pittsburgh to the Susquehanna.  When finished in 1834 the trip from Philadelphia to Pittsburgh could be made in 3–5 days, weather conditions depending.

Main Line of Public Works: The Main Line of Public Works was a package of legislation supporting a vision passed in 1826 — a collection of various long proposed canal and road projects that became a canal system (1824 proposals and studies) and later added railroads (amendments in 1828) designed to cross the breadth of Pennsylvania (mainly, southern) with the visionary goal of providing the best commercial means of transportation between Philadelphia and Pittsburgh.  Built between 1826 and 1834 by the Commonwealth of Pennsylvania, it established the Pennsylvania Canal System, the Allegheny Portage Railroad, and the Pennsylvania Canal System administrated under a new Commission.

Muleshoe Curve: Muleshoe Curve is a curve of track on the former Pennsylvania Railroad, located near Duncansville, Pennsylvania.  It never reached the same amount of popularity as the nearby Horseshoe Curve, located 4.34 mi (7 km) north of Muleshoe curve.  This was mainly due to it being merely a secondary route between Spruce Creek and Gallitzin.  Built in 1850s by the state of Pennsylvania as part of the New Portage Railroad (itself built to bypass the inclined planes of the Allegheny Portage Railroad).  Pennsylvania Railroad (PRR) purchased the line (and the curve) in 1857 and promptly closed it, as the PRR already had their own line in the region.  The rails were removed and used by the Pittsburgh, Fort Wayne & Chicago Railroad.  In 1904 the line was reopened and double tracked by the PRR as a bypass.  One track was removed in 1955 and the other in 1981.  After the railroad was taken over by Conrail, Muleshoe Curve was permanently abandoned in 1981.

Lilly Bridge: Lilly Bridge is a historic stone arch bridge located at Lilly in Cambria County, Pennsylvania.  It was built by the Allegheny Portage Railroad in 1832, and is an 18 ft bridge, with an elliptical shape and curved wingalls.  It is built of roughly squared ashlar and crosses Burgoon Run.

Supporting paragraphs: Allegheny Portage Railroad Cayuga–Seneca Canal
Answer: United States