Question: Does xXx or Out of Sight (whose producer is Danny DeVito) have the longer runtime?
Choices:
Talk to Her
Curse of the Golden Flower
xXx
A Prairie Home Companion
Out of Sight
Training Day
Rebecca
The Towering Inferno
Pleasantville
The Fifth Element
Program:
function: Find
inputs: xXx
function: Find
inputs: Danny DeVito
function: Relate
dependencies: 1
inputs: producer
backward
function: Find
inputs: Out of Sight
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "xXx" .  } UNION { ?e <pred:name> "Out of Sight" . ?e <producer> ?e_1 . ?e_1 <pred:name> "Danny DeVito" .   } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: xXx