Question: Which movie is shorter, The A-Team (the one that mainly depicts terrorism) or Star Wars: Episode III – Revenge of the Sith?
Choices:
The Fifth Element
Pleasantville
The Towering Inferno
The Hunchback of Notre Dame
A Prairie Home Companion
Rebecca
Talk to Her
Training Day
The A-Team
Star Wars: Episode III – Revenge of the Sith
Answer: The A-Team
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The A-Team" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "terrorism" .   } UNION { ?e <pred:name> "Star Wars: Episode III – Revenge of the Sith" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: terrorism
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: The A-Team
function: And
dependencies: 1
2
function: Find
inputs: Star Wars: Episode III – Revenge of the Sith
function: SelectBetween
dependencies: 3
4
inputs: duration
less