Question: Which film has the longer running time, We Bought a Zoo or Star Wars Episode IV: A New Hope (that has James Earl Jones as a cast member)?
Choices:
A Prairie Home Companion
Pleasantville
The Fifth Element
Star Wars Episode IV: A New Hope
The Hunchback of Notre Dame
Training Day
Talk to Her
Rebecca
Curse of the Golden Flower
We Bought a Zoo
Program:
function: Find
inputs: We Bought a Zoo
function: Find
inputs: James Earl Jones
function: Relate
dependencies: 1
inputs: cast member
backward
function: Find
inputs: Star Wars Episode IV: A New Hope
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "We Bought a Zoo" .  } UNION { ?e <pred:name> "Star Wars Episode IV: A New Hope" . ?e <cast_member> ?e_1 . ?e_1 <pred:name> "James Earl Jones" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: We Bought a Zoo