Question: Which movie is longer, Van Helsing (the one that is shot in Czech Republic) or We Were Soldiers?
Choices:
Curse of the Golden Flower
A Prairie Home Companion
Talk to Her
The Fifth Element
The Hunchback of Notre Dame
Training Day
Rebecca
We Were Soldiers
Van Helsing
The Towering Inferno
Program:
function: Find
inputs: Czech Republic
function: Relate
dependencies: 0
inputs: filming location
backward
function: Find
inputs: Van Helsing
function: And
dependencies: 1
2
function: Find
inputs: We Were Soldiers
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Van Helsing" . ?e <filming_location> ?e_1 . ?e_1 <pred:name> "Czech Republic" .   } UNION { ?e <pred:name> "We Were Soldiers" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Van Helsing