find the blended spirit that has the minimum alcohol content and uses grain whisky.
Entity
m.0bs6x7
Black Nikka
class entity literal
distilled_spirits.blended_spirit m.041j_x 0^^http://www.w3.org/2001/XMLSchema#int
distilled_spirits.blended_spirit distilled_spirits.distilled_spirit_type type.float
Blended spirit Grain whisky 0
none none argmin
distilled_spirits.distilled_spirit_type.blends distilled_spirits.blended_spirit.abv
Blends using this type Alcohol content
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 :distilled_spirits.blended_spirit . 
VALUES ?x1 { :m.041j_x } 
{
SELECT (MIN(?y2) AS ?x2)  WHERE { 
?y0 :type.object.type :distilled_spirits.blended_spirit . 
VALUES ?y1 { :m.041j_x } 
?y1 :distilled_spirits.distilled_spirit_type.blends ?y0 . 
?y0 :distilled_spirits.blended_spirit.abv ?y2 . 
FILTER ( ?y0 != ?y1 && ?y0 != ?y2 && ?y1 != ?y2  )
}
}
?x1 :distilled_spirits.distilled_spirit_type.blends ?x0 . 
?x0 :distilled_spirits.blended_spirit.abv ?x2 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(ARGMIN (AND distilled_spirits.blended_spirit (JOIN (R distilled_spirits.distilled_spirit_type.blends) m.041j_x)) distilled_spirits.blended_spirit.abv)