Question: Does Munich (the one that mainly depicts terrorism) or Eureka (the one that has Rutger Hauer as a cast member), have greater duration ?
Choices:
Eureka
The Hunchback of Notre Dame
Rebecca
Munich
The Towering Inferno
Pleasantville
A Prairie Home Companion
Curse of the Golden Flower
The Fifth Element
Talk to Her
Answer: Munich
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Munich" . ?e <main_subject> ?e_1 . ?e_1 <pred:name> "terrorism" .   } UNION { ?e <pred:name> "Eureka" . ?e <cast_member> ?e_2 . ?e_2 <pred:name> "Rutger Hauer" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: terrorism
function: Relate
dependencies: 0
inputs: main subject
backward
function: Find
inputs: Munich
function: And
dependencies: 1
2
function: Find
inputs: Rutger Hauer
function: Relate
dependencies: 4
inputs: cast member
backward
function: Find
inputs: Eureka
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater