Question: Does The Fly (whose distributor is 20th Century Fox) or Hilary and Jackie have the longer runtime?
Choices:
Curse of the Golden Flower
The Towering Inferno
The Hunchback of Notre Dame
The Fifth Element
Talk to Her
Rebecca
Training Day
The Fly
A Prairie Home Companion
Hilary and Jackie
Program:
function: Find
inputs: 20th Century Fox
function: Relate
dependencies: 0
inputs: distributor
backward
function: Find
inputs: The Fly
function: And
dependencies: 1
2
function: Find
inputs: Hilary and Jackie
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Fly" . ?e <distributor> ?e_1 . ?e_1 <pred:name> "20th Century Fox" .   } UNION { ?e <pred:name> "Hilary and Jackie" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hilary and Jackie