Question: Which has fewer episodes, Taken (the one whose duration is 88 minute) or Days of our Lives?
Choices:
The Diary of Anne Frank
The Civil War
The Ten Commandments
Battlestar Galactica
The Pacific
Days of our Lives
Taken
Roots
Edge of Darkness
George Washington
Program:
function: Find
inputs: Taken
function: FilterNum
dependencies: 0
inputs: duration
88 minute
=
function: Find
inputs: Days of our Lives
function: SelectBetween
dependencies: 1
2
inputs: number of episodes
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Taken" . ?e <duration> ?pv_1 . ?pv_1 <pred:unit> "minute" . ?pv_1 <pred:value> "88"^^xsd:double . } UNION { ?e <pred:name> "Days of our Lives" . } ?e <number_of_episodes> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Taken