portuguese national team is in what football match?
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.010r01g3 m.0c1d2xp m.0c1q8d7 m.0c44h1j m.0c6r0k6 m.03hmt5k m.0k061py m.0k062g8 m.010rmshb
2014 Pre-World Cup Friendly Mexico vs Portugal football match 2010 FIFA World Cup Group G - CIV ./. POR 2010 FIFA World Cup Group G - POR ./. PRK 2010 FIFA World Cup Group G - POR ./. BRA 2010 FIFA World Cup Round of 16 - ESP ./. POR Battle of Nuremberg UEFA Euro 2012 Quarter-final I UEFA Euro 2012 Semi-final I 2014 Portugal vs. Republic of Ireland friendly
class entity
soccer.football_match m.02rqxc
soccer.football_match soccer.football_team
Football Match portuguese national team
none none
soccer.football_match.teams
Teams
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 :soccer.football_match . 
VALUES ?x1 { :m.02rqxc } 
?x0 :soccer.football_match.teams ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND soccer.football_match (JOIN soccer.football_match.teams m.02rqxc))