Question: Is the episode count higher for the work titled Chicago Fire or for Lost in Space, distributed by 20th Century Fox?
Choices:
Robot Chicken
Lost in Space
Dancing with the Stars
American Horror Story
Chicago Fire
Seinfeld
Game of Thrones
Bleak House
Phineas and Ferb
Saturday Night's Main Event
Program:
function: Find
inputs: Chicago Fire
function: FilterStr
dependencies: 0
inputs: title
Chicago Fire
function: Find
inputs: 20th Century Fox Television
function: Relate
dependencies: 2
inputs: distributor
backward
function: Find
inputs: Lost in Space
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: number of episodes
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chicago Fire" . ?e <title> ?pv_1 . ?pv_1 <pred:value> "Chicago Fire" . } UNION { ?e <pred:name> "Lost in Space" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "20th Century Fox Television" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Chicago Fire