What is the {railroad} with the {MAX(daily patronage)} whose {part of} is {Massachusetts Bay Transportation Authority}  ?
Which Massachusetts Bay Transportation Authority railroad is used the most?
Name the most used railroad run by the Massachusetts Bay Transportation Authority?
SELECT ?b WHERE { ?b rdf:type ontology:railway . ?b property:daily_patronage ?x . ?b property:part_of resource:Massachusetts_Bay_Transportation_Authority }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q22667>.

?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P1373>.
?statement1 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> ?obj1.

?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#subject> ?ent .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#predicate> <http://www.wikidata.org/entity/P361> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q171985> .

}
ORDER BY DESC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q22667 . ?ent wdt:P1373 ?obj . ?ent wdt:P361 wd:Q171985 } ORDER BY DESC(?obj)LIMIT 5 