What is the {steam locomotive} with the {MIN(stroke)} whose {subclass of} is {tender locomotive}  ?
Which steam locomotive has the least amount of stroke?
Name the steam locomotive that is known as a tender locomotive and has the least amount of stroke.
SELECT ?d WHERE { ?d rdf:type ontology:tender_locomotive . . ?d property:stroke ?l . ?d rdf:type ontology:steam_locomotive }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q171043>.

?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/P2557>.
?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/P279> .
?statement2 <http://www.w3.org/1999/02/22-rdf-syntax-ns#object> <http://wikidata.dbpedia.org/resource/Q20650761> .

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q171043 . ?ent wdt:P2557 ?obj . ?ent wdt:P279 wd:Q20650761. } ORDER BY ASC(?obj)LIMIT 5 
Santa Cruz Railroad no. 3 Southern Pacific 9 Southern Pacific 18