which is the type of distilled spirit uses friut and is fermented up to 4 years?
Entity
m.0c93f
Brandy
class entity class literal
distilled_spirits.distilled_spirit_type m.02xwb distilled_spirits.distilled_spirit 4^^http://www.w3.org/2001/XMLSchema#integer
distilled_spirits.distilled_spirit_type distilled_spirits.fermentation_base distilled_spirits.distilled_spirit type.int
Distilled spirit type friut Distilled spirit 4
none none none <=
distilled_spirits.distilled_spirit_type.fermentation_base distilled_spirits.distilled_spirit_type.spirits distilled_spirits.distilled_spirit.age
Fermentation base Spirits of this type 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.distilled_spirit_type . 
VALUES ?x1 { :m.02xwb } 
?x2 :type.object.type :distilled_spirits.distilled_spirit . 
FILTER (?x3 <= "4"^^<http://www.w3.org/2001/XMLSchema#integer>)
?x0 :distilled_spirits.distilled_spirit_type.fermentation_base ?x1 . 
?x0 :distilled_spirits.distilled_spirit_type.spirits ?x2 . 
?x2 :distilled_spirits.distilled_spirit.age ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND distilled_spirits.distilled_spirit_type (AND (JOIN distilled_spirits.distilled_spirit_type.fermentation_base m.02xwb) (JOIN distilled_spirits.distilled_spirit_type.spirits (le distilled_spirits.distilled_spirit.age 4^^http://www.w3.org/2001/XMLSchema#integer))))