Question: Between Taking Woodstock or Academy Award nominated Best Picture San Francisco, which is longer?
Choices:
The Hunchback of Notre Dame
Curse of the Golden Flower
Talk to Her
The Fifth Element
Pleasantville
Taking Woodstock
Training Day
The Towering Inferno
Rebecca
San Francisco
Answer: San Francisco
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Taking Woodstock" .  } UNION { ?e <pred:name> "San Francisco" . ?e <nominated_for> ?e_1 . ?e_1 <pred:name> "Academy Award for Best Picture" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Taking Woodstock
function: Find
inputs: Academy Award for Best Picture
function: Relate
dependencies: 1
inputs: nominated for
backward
function: Find
inputs: San Francisco
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater