Question: Is the number of episodes greater for Batman: The Animated Series (the one whose end time is 1995-12-22) or Savannah (the one whose duration is 60 minute)?
Choices:
Dancing with the Stars
Six Feet Under
Savannah
American Horror Story
Phineas and Ferb
Game of Thrones
Batman: The Animated Series
Seinfeld
Robot Chicken
Saturday Night's Main Event
Answer: Batman: The Animated Series
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Batman: The Animated Series" . ?e <end_time> ?pv_1 . ?pv_1 <pred:date> "1995-12-22"^^xsd:date . } UNION { ?e <pred:name> "Savannah" . ?e <duration> ?pv_2 . ?pv_2 <pred:unit> "minute" . ?pv_2 <pred:value> "60"^^xsd:double . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Batman: The Animated Series
function: FilterDate
dependencies: 0
inputs: end time
1995-12-22
=
function: Find
inputs: Savannah
function: FilterNum
dependencies: 2
inputs: duration
60 minute
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
greater