what military unit originally started in the state of portugal?
Entity
m.0w7kpl8
2nd Division
class entity
military.military_unit m.05r4w
military.military_unit military.military_unit_place_of_origin
Military unit Portugal
none none
military.military_unit.place_of_origin
Place of origin
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 :military.military_unit . 
VALUES ?x1 { :m.05r4w } 
?x0 :military.military_unit.place_of_origin ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND military.military_unit (JOIN military.military_unit.place_of_origin m.05r4w))