during the match in 1966 fifa world cup final which football teams participated?
Entity Entity
m.02pp1 m.038x97
England national football team West Germany national football team
class entity
soccer.football_team m.08cf1
soccer.football_team soccer.football_match
Football team 1966 FIFA World Cup Final
none none
soccer.football_team.matches
Matches
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_team . 
VALUES ?x1 { :m.08cf1 } 
?x0 :soccer.football_team.matches ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND soccer.football_team (JOIN soccer.football_team.matches m.08cf1))