what lighthouses were constructed with sandstones?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0hz8xcr m.0cpg0w m.043lj8n m.0hz082w m.0tkgkvc m.02rzvj9 m.0g9rrm m.05p28f m.02wz5m8 m.02r9ljm m.0czdz29 m.02vl5xc m.0bkx25
Barrenjoey Head Lighthouse Montauk Point Light Warrior Rock Light Cape Otway Lighthouse Cape du Couedic Lighthouse New Point Comfort Light New Dungeness Light Macquarie Lighthouse Point Sur Lighthouse Erie Land Light Point Stephens Light Old Point Comfort Light Sand Island Light
class entity
architecture.lighthouse m.06xky
architecture.lighthouse architecture.lighthouse_construction_material
Lighthouse sandstones
none none
architecture.lighthouse.construction
Construction
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.06xky } 
?x0 :architecture.lighthouse.construction ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND architecture.lighthouse (JOIN architecture.lighthouse.construction m.06xky))