Question: Which has fewer seasons, Indian Idol or War and Peace (the one whose duration is 15 hour)?
Choices: War and Peace
Dancing with the Stars
Game of Thrones
Phineas and Ferb
Robot Chicken
Bleak House
American Horror Story
Six Feet Under
Indian Idol
Seinfeld
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Indian Idol" . } UNION { ?e <pred:name> "War and Peace" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "hour" . ?pv_1 <pred:value> "15"^^xsd:double . } ?e <number_of_seasons> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Indian Idol
function: Find
inputs: War and Peace
function: FilterNum
dependencies: 1
inputs: duration
15 hour
=
function: SelectBetween
dependencies: 0
2
inputs: number of seasons
less
Answer: War and Peace