Question: Which has a lesser duration, Holes (shot in Los Angeles) or Last Action Hero?
Choices:
John Carter
National Treasure: Book of Secrets
The Flintstones in Viva Rock Vegas
Old Dogs
The Muppets
The Flintstones
Last Action Hero
Enchanted
G-Force
Holes
Program:
function: Find
inputs: Los Angeles
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Holes
function: And
dependencies: 1
2
function: Find
inputs: Last Action Hero
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Holes" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Los Angeles" .   } UNION { ?e <pred:name> "Last Action Hero" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Holes