Question: Does the coming-of-age themed King of the Hill or does Foreign Correspondent have the longer running time?
Choices:
King of the Hill
Curse of the Golden Flower
Rebecca
Pleasantville
The Hunchback of Notre Dame
The Fifth Element
A Prairie Home Companion
Training Day
Foreign Correspondent
The Towering Inferno
Answer: Foreign Correspondent
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "King of the Hill" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "coming of age" .   } UNION { ?e <pred:name> "Foreign Correspondent" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: coming of age
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: King of the Hill
function: And
dependencies: 1
2
function: Find
inputs: Foreign Correspondent
function: SelectBetween
dependencies: 3
4
inputs: duration
greater