search all teams england football team played against after 2001-09-01
Entity Entity Entity Entity
m.01_lhg m.03rrdb m.03z8bw m.03zj_3
Italy national football team Peru national football team Honduras national football team Ecuador national football team
class class literal entity
soccer.football_team soccer.football_match 2001-09-01^^http://www.w3.org/2001/XMLSchema#date m.02pp1
soccer.football_team soccer.football_match type.datetime soccer.football_team
Football team Football Match 2001-09-01 england football team
none none > none
soccer.football_team.matches time.event.end_date soccer.football_match.teams
Matches End date 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_team . 
?x1 :type.object.type :soccer.football_match . 
FILTER (?x2 > "2001-09-01-08:00"^^<http://www.w3.org/2001/XMLSchema#date>)
VALUES ?x3 { :m.02pp1 } 
?x0 :soccer.football_team.matches ?x1 . 
?x1 :time.event.end_date ?x2 . 
?x1 :soccer.football_match.teams ?x3 . 
FILTER ( ?x0 != ?x1 && ?x0 != ?x2 && ?x0 != ?x3 && ?x1 != ?x2 && ?x1 != ?x3 && ?x2 != ?x3  )
}
}
(AND soccer.football_team (JOIN soccer.football_team.matches (AND (gt time.event.end_date 2001-09-01^^http://www.w3.org/2001/XMLSchema#date) (JOIN soccer.football_match.teams m.02pp1))))