what aircraft designer creates an aircraft model with at least a cost of <3>?
Entity
m.01jp40
Geoffrey de Havilland
class class class literal
aviation.aircraft_designer aviation.aircraft_model measurement_unit.monetary_range 0^^http://www.w3.org/2001/XMLSchema#int
aviation.aircraft_designer aviation.aircraft_model measurement_unit.monetary_range type.float
Aircraft designer Aircraft model Monetary Range 0
none none none argmin
aviation.aircraft_model.designed_by aviation.aircraft_model.unit_cost measurement_unit.monetary_range.min_value
Designed by Unit cost min value
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 :aviation.aircraft_designer . 
?x1 :type.object.type :aviation.aircraft_model . 
?x2 :type.object.type :measurement_unit.monetary_range . 
{
SELECT (MIN(?y3) AS ?x3)  WHERE { 
?y0 :type.object.type :aviation.aircraft_designer . 
?y1 :type.object.type :aviation.aircraft_model . 
?y2 :type.object.type :measurement_unit.monetary_range . 
?y1 :aviation.aircraft_model.designed_by ?y0 . 
?y1 :aviation.aircraft_model.unit_cost ?y2 . 
?y2 :measurement_unit.monetary_range.min_value ?y3 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y0 != ?y3 && ?y1 != ?y2 && ?y1 != ?y3 && ?y2 != ?y3  )
}
}
?x1 :aviation.aircraft_model.designed_by ?x0 . 
?x1 :aviation.aircraft_model.unit_cost ?x2 . 
?x2 :measurement_unit.monetary_range.min_value ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(ARGMIN aviation.aircraft_designer (JOIN (R aviation.aircraft_model.designed_by) (JOIN aviation.aircraft_model.unit_cost measurement_unit.monetary_range.min_value)))