which locomotive class has the least gauge in millimeters?
Entity Entity
m.0gy14gz m.03nrc8x
Dinorwic Alice Class Penrhyn Port Class
class literal
rail.locomotive_class 0^^http://www.w3.org/2001/XMLSchema#int
rail.locomotive_class type.float
Locomotive class 0
none argmin
rail.locomotive_class.gauge_mm
Gauge (mm)
PREFIX rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> PREFIX rdfs: <http://www.w3.org/2000/01/rdf-schema#> PREFIX : <http://rdf.freebase.com/ns/> 
SELECT (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :rail.locomotive_class . 
{
SELECT (MIN(?y1) AS ?x1)  WHERE { 
?y0 :type.object.type :rail.locomotive_class . 
?y0 :rail.locomotive_class.gauge_mm ?y1 . 
FILTER ( ?y0 != ?y1  )
}
}
?x0 :rail.locomotive_class.gauge_mm ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(ARGMIN rail.locomotive_class rail.locomotive_class.gauge_mm)