what tv season is x factor
Entity Entity Entity Entity Entity
m.0h94rh_ m.0p38n5t m.0z89p6m m.0v0tzyp m.0v0tzm4
X Factor-Season 2 X Factor-Season 3 X Factor Season 4 X Factor - Season 1 X Factor - Season 0
class entity
tv.tv_series_season m.0fq183p
tv.tv_series_season tv.tv_program
TV Season X Factor
none none
tv.tv_series_season.series
Series
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 :tv.tv_series_season . 
VALUES ?x1 { :m.0fq183p } 
?x0 :tv.tv_series_season.series ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND tv.tv_series_season (JOIN tv.tv_series_season.series m.0fq183p))