31 episodes is the number of episodes for which tv season?
Entity Entity Entity Entity Entity Entity Entity Entity Entity
m.0vsvh9k m.0cgj1vc m.0bmly35 m.0ccbw7j m.0ccbw72 m.0ccbw6n m.0ccbw79 m.0ccbw6f m.0ccbw66
Barefooted Friends - Season 1 Big Brother - Season 5 The Bill - Season 26 Mastermind (2003) - Season 3 Mastermind (2003) - Season 6 Mastermind (2003) - Season 5 Mastermind (2003) - Season 4 Mastermind (2003) - Season 7 Mastermind (2003) - Season 2
class literal
tv.tv_series_season 31^^http://www.w3.org/2001/XMLSchema#integer
tv.tv_series_season type.int
TV Season 31
none none
tv.tv_series_season.number_of_episodes
Number of episodes
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 { "31"^^<http://www.w3.org/2001/XMLSchema#integer> } 
?x0 :tv.tv_series_season.number_of_episodes ?x1 . 
FILTER ( ?x0 != ?x1  )
}
}
(AND tv.tv_series_season (JOIN tv.tv_series_season.number_of_episodes 31^^http://www.w3.org/2001/XMLSchema#integer))