What is the {LSWR 177 class 2-4-0WT} with the {MIN(number of cylinders)} whose {instance of} is {LSWR 177 class 2-4-0WT}  ?
Which LSWR 177 class 2-4*OWT has the lowest number of cylinders?
What is the LSWR 177 class 2-4-0WT} with the lowest number of cylinders whose instance of is LSWR 177 class 2-4-0WT ?
SELECT ?j WHERE { ?j rdf:type ontology:LSWR_177_class_2-4-0WT . . ?j property:number_of_cylinders ?l . ?j rdf:type ontology:LSWR_177_class_2-4-0WT }
select ?ent where {
?ent <http://www.wikidata.org/entity/P31> <http://wikidata.dbpedia.org/resource/Q12061393>.

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

}
ORDER BY ASC(?obj1)
LIMIT 5
select ?ent where { ?ent wdt:P31 wd:Q12061393 . ?ent wdt:P1100 ?obj . ?ent wdt:P31 wd:Q12061393. } ORDER BY ASC(?obj)LIMIT 5 
LSWR 177-class no. 177 LSWR 177-class no. 178 LSWR 177-class no. 179 LSWR 177-class no. 180 LSWR 177-class no. 181