Question: Which television film that is recorded in Mexico has the longest runtime?
Choices:
The Goodbye Girl
All Quiet on the Western Front
A Christmas Carol
Shackleton
The Music Man
The Three Musketeers
And Starring Pancho Villa as Himself
The Late Shift
Samson and Delilah
The Challenge
Program:
function: Find
inputs: Mexico
function: Relate
dependencies: 0
inputs: filming location
backward
function: FilterConcept
dependencies: 1
inputs: television film
function: SelectAmong
dependencies: 2
inputs: duration
largest
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "television film" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Mexico" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: And Starring Pancho Villa as Himself