Question: Does The Good Shepherd or Grey Gardens (whose composer is Rachel Portman) have the shorter runtime?
Choices:
The Good Shepherd
Shackleton
The Three Musketeers
Grey Gardens
A Streetcar Named Desire
The Music Man
A Christmas Carol
The Goodbye Girl
The Challenge
The Late Shift
Program:
function: Find
inputs: The Good Shepherd
function: Find
inputs: Rachel Portman
function: Relate
dependencies: 1
inputs: composer
backward
function: Find
inputs: Grey Gardens
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Good Shepherd" .  } UNION { ?e <pred:name> "Grey Gardens" . ?e <composer> ?e_1 . ?e_1 <pred:name> "Rachel Portman" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Grey Gardens