what type of railways are in the lisbon cascais railway?
Entity
m.07m1rlz
Belém to Cascais Railway
class entity
rail.railway m.07m1rmt
rail.railway rail.rail_network
Railway Lisbon Cascais Railway
none none
rail.railway.part_of_network
Part of network
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 :rail.railway . 
VALUES ?x1 { :m.07m1rmt } 
?x0 :rail.railway.part_of_network ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND rail.railway (JOIN rail.railway.part_of_network m.07m1rmt))