Question: Which show has more seasons, The Wire or Fantastic Four (the one whose number of episodes is 13)?
Choices: The Wire
Saturday Night's Main Event
Robot Chicken
Bleak House
Six Feet Under
Fantastic Four
Dancing with the Stars
Game of Thrones
American Horror Story
Phineas and Ferb
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wire" . } UNION { ?e <pred:name> "Fantastic Four" . ?e <number_of_episodes> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "13"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: The Wire
function: Find
inputs: Fantastic Four
function: FilterNum
dependencies: 1
inputs: number of episodes
13
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
greater
Answer: The Wire