which construction material was used to build gull rock light station?
Entity
m.01g0g
Brick
class entity
architecture.lighthouse_construction_material m.06_bxr8
architecture.lighthouse_construction_material architecture.lighthouse
Lighthouse construction material Gull Rock Light Station
none none
architecture.lighthouse_construction_material.used_on_lighthouse
Used on Lighthouse
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_construction_material . 
VALUES ?x1 { :m.06_bxr8 } 
?x0 :architecture.lighthouse_construction_material.used_on_lighthouse ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND architecture.lighthouse_construction_material (JOIN architecture.lighthouse_construction_material.used_on_lighthouse m.06_bxr8))