Question: Which show has fewer episodes, Jane Eyre (the one whose start time is 2006-09-24) or Luther (the one whose duration is 60 minute)?
Choices:
Luther
The Civil War
George Washington
Edge of Darkness
The Diary of Anne Frank
Jane Eyre
The Pacific
The Stand
Battlestar Galactica
Roots
Answer: Jane Eyre
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jane Eyre" . ?e <start_time> ?pv_1 . ?pv_1 <pred:date> "2006-09-24"^^xsd:date . } UNION { ?e <pred:name> "Luther" . ?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 ?v LIMIT 1
Program:
function: Find
inputs: Jane Eyre
function: FilterDate
dependencies: 0
inputs: start time
2006-09-24
=
function: Find
inputs: Luther
function: FilterNum
dependencies: 2
inputs: duration
60 minute
=
function: SelectBetween
dependencies: 1
3
inputs: number of episodes
less