what is the number of canadian whiskey that blend corn whiskey with single malt whiskey?
Value
1
class entity entity entity
distilled_spirits.blended_spirit m.01k5lq m.0212n m.01yr36
distilled_spirits.blended_spirit distilled_spirits.distilled_spirit_type distilled_spirits.blended_spirit_style distilled_spirits.distilled_spirit_type
Blended spirit single malt whiskey canadian whiskey Corn whiskey
count none none none
distilled_spirits.distilled_spirit_type.blends distilled_spirits.blended_spirit.style distilled_spirits.distilled_spirit_type.blends
Blends using this type Style Blends using this type
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 (COUNT(?x0) AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :distilled_spirits.blended_spirit . 
VALUES ?x1 { :m.01k5lq } 
VALUES ?x2 { :m.0212n } 
VALUES ?x3 { :m.01yr36 } 
?x1 :distilled_spirits.distilled_spirit_type.blends ?x0 . 
?x0 :distilled_spirits.blended_spirit.style ?x2 . 
?x3 :distilled_spirits.distilled_spirit_type.blends ?x0 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(COUNT (AND distilled_spirits.blended_spirit (AND (JOIN (R distilled_spirits.distilled_spirit_type.blends) m.01k5lq) (AND (JOIN distilled_spirits.blended_spirit.style m.0212n) (JOIN (R distilled_spirits.distilled_spirit_type.blends) m.01yr36)))))