Question: Which is shorter, art film Western or Gattaca?
Choices:
Curse of the Golden Flower
Rebecca
Gattaca
Training Day
The Towering Inferno
Pleasantville
The Hunchback of Notre Dame
Western
Talk to Her
The Fifth Element
Program:
function: Find
inputs: art film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Western
function: And
dependencies: 1
2
function: Find
inputs: Gattaca
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Western" . ?e <genre> ?e_1 . ?e_1 <pred:name> "art film" .   } UNION { ?e <pred:name> "Gattaca" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Gattaca