Question: Which has a shorter length, Fast Food Nation or Palo Alto, which was penned by James Franco?
Choices:
The Hunchback of Notre Dame
Rebecca
The Fifth Element
A Prairie Home Companion
The Towering Inferno
Curse of the Golden Flower
Palo Alto
Pleasantville
Training Day
Fast Food Nation
Answer: Palo Alto
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Palo Alto" . ?e <after_a_work_by> ?e_1 . ?e_1 <pred:name> "James Franco" .   } UNION { ?e <pred:name> "Fast Food Nation" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: James Franco
function: Relate
dependencies: 0
inputs: after a work by
backward
function: Find
inputs: Palo Alto
function: And
dependencies: 1
2
function: Find
inputs: Fast Food Nation
function: SelectBetween
dependencies: 3
4
inputs: duration
less