Question: Which one has less running time, Taxi Driver (the one that filmed in New York City) or Judge Dredd?
Choices:
A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
Judge Dredd
Talk to Her
Training Day
The Hunchback of Notre Dame
Taxi Driver
Rebecca
Pleasantville
Program:
function: Find
inputs: New York City
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Taxi Driver
function: And
dependencies: 1
2
function: Find
inputs: Judge Dredd
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Taxi Driver" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "New York City" .   } UNION { ?e <pred:name> "Judge Dredd" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Judge Dredd