which body of water does golden gate bridge pertain to?
Entity
m.011wgf
Golden Gate
class entity
geography.body_of_water m.035p3
geography.body_of_water transportation.bridge
Body Of Water Golden Gate Bridge
none none
geography.body_of_water.bridges
Bridges
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 :geography.body_of_water . 
VALUES ?x1 { :m.035p3 } 
?x0 :geography.body_of_water.bridges ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND geography.body_of_water (JOIN geography.body_of_water.bridges m.035p3))