Question: Between the television films that have been shot in South Africa which one has the lest duration?
Choices:
24: Redemption
All Quiet on the Western Front
Shackleton
The Goodbye Girl
A Christmas Carol
Labyrinth
The Three Musketeers
The Late Shift
The Challenge
A Streetcar Named Desire
Program:
function: Find
inputs: South Africa
function: Relate
dependencies: 0
inputs: filming location
backward
function: FilterConcept
dependencies: 1
inputs: television film
function: SelectAmong
dependencies: 2
inputs: duration
smallest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "South Africa" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: 24: Redemption