Question: Does The Specialist originating in Austria or documentary film Thomas Jefferson have the longer run-time?
Choices:
Thomas Jefferson
The Towering Inferno
Curse of the Golden Flower
Talk to Her
Pleasantville
A Prairie Home Companion
The Specialist
The Fifth Element
Training Day
The Hunchback of Notre Dame
Program:
function: Find
inputs: Austria
function: Relate
dependencies: 0
inputs: country of origin
backward
function: Find
inputs: The Specialist
function: And
dependencies: 1
2
function: Find
inputs: documentary film
function: Relate
dependencies: 4
inputs: genre
backward
function: Find
inputs: Thomas Jefferson
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Specialist" . ?e <country_of_origin> ?e_1 . ?e_1 <pred:name> "Austria" .   } UNION { ?e <pred:name> "Thomas Jefferson" . ?e <genre> ?e_2 . ?e_2 <pred:name> "documentary film" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Thomas Jefferson