what type of drinking establishment is windjammer sports bar?
Entity Entity
m.0dl62z6 m.06441wq
Matteucci's The Gambler
class class entity
food.drinking_establishment food.drinking_establishment_type m.020wj08
food.drinking_establishment food.drinking_establishment_type food.drinking_establishment
Drinking establishment Drinking establishment type Windjammer Sports Bar
none none none
food.drinking_establishment_type.establishments_of_this_type food.drinking_establishment.drinking_establishment_type
Establishments of this type Drinking establishment 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 (?x0 AS ?value) WHERE {
SELECT DISTINCT ?x0  WHERE { 
?x0 :type.object.type :food.drinking_establishment . 
?x1 :type.object.type :food.drinking_establishment_type . 
VALUES ?x2 { :m.020wj08 } 
?x1 :food.drinking_establishment_type.establishments_of_this_type ?x0 . 
?x2 :food.drinking_establishment.drinking_establishment_type ?x1 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x1 != ?x2  )
}
}
(AND food.drinking_establishment (JOIN (R food.drinking_establishment_type.establishments_of_this_type) (JOIN (R food.drinking_establishment.drinking_establishment_type) m.020wj08)))