Question: Does Indian Idol or The Kingdom (whose length is 44 minutes) have more seasons?
Choices:
American Horror Story
The Kingdom
Six Feet Under
Robot Chicken
Phineas and Ferb
Indian Idol
Dancing with the Stars
Game of Thrones
Seinfeld
Bleak House
Answer: Indian Idol
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Indian Idol" . } UNION { ?e <pred:name> "The Kingdom" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "44"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Indian Idol
function: Find
inputs: The Kingdom
function: FilterNum
dependencies: 1
inputs: duration
44 minute
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
greater