what rivers are in portugal?
Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0hysn m.07t5p0 m.07f_cb m.0h5n7 m.085ky7 m.0dscj7j m.0gfw2t m.0hyt3 m.02x983x m.0cp07rz m.0d7vbf m.02x5sg9 m.09pjzs m.0b1nkq m.0g80m9 m.0263_13 m.0cz16c m.01q_9r m.0gx2vz_ m.02z7p7s m.03l5yx m.0j249g5
Guadiana Sado River Balsemão River Tagus Zêzere River Alva River Antuã River Douro Águeda Sorraia River Dão River Vouga River Nabão River Minho Alto River Mira River Côa River Tâmega Arado River Limia Mondego River Azibo River
class entity
geography.river m.05r4w
geography.river location.country
River Portugal
none none
geography.river.basin_countries
Basin countries
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.river . 
VALUES ?x1 { :m.05r4w } 
?x0 :geography.river.basin_countries ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND geography.river (JOIN geography.river.basin_countries m.05r4w))