the age statement of which blended spirit is at most 4?
Entity Entity
m.049hln3 m.049hlyv
Jim Beam White Label Jim Beam Yellow Label
class literal
distilled_spirits.blended_spirit 4^^http://www.w3.org/2001/XMLSchema#integer
distilled_spirits.blended_spirit type.int
Blended spirit 4
none <=
distilled_spirits.blended_spirit.age
Age statement
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 . 
FILTER (?x1 <= "4"^^<http://www.w3.org/2001/XMLSchema#integer>)
?x0 :distilled_spirits.blended_spirit.age ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND distilled_spirits.blended_spirit (le distilled_spirits.blended_spirit.age 4^^http://www.w3.org/2001/XMLSchema#integer))