there is a pyramidal tower shape to which lighthouse?
Entity Entity Entity
m.0dkfnkv m.0dkfmjm m.0dkfnbn
Isla Bona Lighthouse Frailes del Sur Punta Mala lighthouse
class entity
architecture.lighthouse m.0cnb20n
architecture.lighthouse architecture.tower_shape
Lighthouse Pyramidal tower
none none
architecture.lighthouse.tower_shape
Tower shape
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 :architecture.lighthouse . 
VALUES ?x1 { :m.0cnb20n } 
?x0 :architecture.lighthouse.tower_shape ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND architecture.lighthouse (JOIN architecture.lighthouse.tower_shape m.0cnb20n))