Question: Does Marie Antoinette (that mainly depicts capital punishment) or Apollo 13 have the shorter runtime?
Choices:
The Hunchback of Notre Dame
Pleasantville
Curse of the Golden Flower
The Towering Inferno
A Prairie Home Companion
Rebecca
Apollo 13
The Fifth Element
Training Day
Talk to Her
Program:
function: Find
inputs: capital punishment
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Marie Antoinette
function: And
dependencies: 1
2
function: Find
inputs: Apollo 13
function: SelectBetween
dependencies: 3
4
inputs: duration
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Marie Antoinette" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "capital punishment" .   } UNION { ?e <pred:name> "Apollo 13" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Apollo 13