what are the blended spirits that hold an age statement of at most 5?
Entity Entity Entity
m.049hln3 m.049hlz0 m.049hlyv
Jim Beam White Label Jim Beam’s Choice Jim Beam Yellow Label
class literal
distilled_spirits.blended_spirit 5^^http://www.w3.org/2001/XMLSchema#integer
distilled_spirits.blended_spirit type.int
Blended spirit 5
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 <= "5"^^<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 5^^http://www.w3.org/2001/XMLSchema#integer))