GTFS

General Transit Feed Specification: the open standard transit agencies worldwide use to publish schedules, routes and stop locations. Originally created by Google with Portland's TriMet.

Cities

Madrid GTFS dataset entry on mlearning.studio Madrid
Madrid subway GTFS from GTFS-Madrid-Bench, shaped as a reactive semantic graph on .me for Smart Cities demos and dependency-propagation benchmarks.
GTFS-Madrid-Bench · Chaves-Fraga et al. · Journal of Web Semantics, 2020

Only Madrid is listed: it is the only city with an entry on mlearning.studio. Feeds for other cities are on the Mobility Database.