Question: Does Rules of Engagement, with a story set in Washington, D.C., or Young Frankenstein possess the longer running time?
Choices:
Curse of the Golden Flower
Training Day
A Prairie Home Companion
Rules of Engagement
The Hunchback of Notre Dame
The Towering Inferno
Rebecca
Talk to Her
The Fifth Element
Pleasantville
Program:
function: Find
inputs: Washington, D.C.
function: Relate
dependencies: 0
inputs: narrative location
backward
function: Find
inputs: Rules of Engagement
function: And
dependencies: 1
2
function: Find
inputs: Young Frankenstein
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Rules of Engagement" . ?e <narrative_location> ?e_1 . ?e_1 <pred:name> "Washington, D.C." .   } UNION { ?e <pred:name> "Young Frankenstein" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Rules of Engagement