Question: Which movie is longer, The Wiz or Virginia produced by Christine Vachon?
Choices:
Virginia
Talk to Her
The Hunchback of Notre Dame
Curse of the Golden Flower
Training Day
The Towering Inferno
Pleasantville
The Wiz
The Fifth Element
Rebecca
Program:
function: Find
inputs: The Wiz
function: Find
inputs: Christine Vachon
function: Relate
dependencies: 1
inputs: production company
backward
function: Find
inputs: Virginia
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Wiz" .  } UNION { ?e <pred:name> "Virginia" . ?e <production_company> ?e_1 . ?e_1 <pred:name> "Christine Vachon" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Wiz