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