what is the bridge that has 18 number of spans?
Entity Entity
m.0fn3zx m.080j3q
Port Deposit Bridge Remøy Bridge
class literal
transportation.bridge 18^^http://www.w3.org/2001/XMLSchema#integer
transportation.bridge type.int
Bridge 18
none none
transportation.bridge.number_of_spans
Number of spans
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 :transportation.bridge . 
VALUES ?x1 { "18"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :transportation.bridge.number_of_spans ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND transportation.bridge (JOIN transportation.bridge.number_of_spans 18^^http://www.w3.org/2001/XMLSchema#integer))