Question: Which show has more episodes, Rugrats (the one whose start time is 1991-08-11) or Jane Eyre (the one whose number of episodes is 4)?
Choices:
Six Feet Under
Rugrats
Robot Chicken
Bleak House
American Horror Story
Saturday Night's Main Event
Seinfeld
Phineas and Ferb
Game of Thrones
Dancing with the Stars
Answer: Rugrats
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rugrats" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "1991-08-11"^^xsd:date . } UNION { ?e <pred:name> "Jane Eyre" . ?e <number_of_episodes> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "4"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Rugrats
function: FilterDate
dependencies: 0
inputs: start time
1991-08-11
=
function: Find
inputs: Jane Eyre
function: FilterNum
dependencies: 2
inputs: number of episodes
4
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
greater