Question: Is the running time shorter for Get Smart, with composer Trevor Rabin, or Frida?
Choices:
Rebecca
The Hunchback of Notre Dame
Talk to Her
Training Day
Frida
The Towering Inferno
Get Smart
Pleasantville
A Prairie Home Companion
The Fifth Element
Program:
function: Find
inputs: Trevor Rabin
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: Get Smart
function: And
dependencies: 1
2
function: Find
inputs: Frida
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Get Smart" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Trevor Rabin" .   } UNION { ?e <pred:name> "Frida" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Get Smart