Question: Does Austin Powers: The Spy Who Shagged Me or The Man with the Golden Gun with genre of spy film have long duration?
Choices:
The Towering Inferno
Rebecca
A Prairie Home Companion
Talk to Her
Training Day
Curse of the Golden Flower
Pleasantville
The Hunchback of Notre Dame
Austin Powers: The Spy Who Shagged Me
The Man with the Golden Gun
Program:
function: Find
inputs: spy film
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: The Man with the Golden Gun
function: And
dependencies: 1
2
function: Find
inputs: Austin Powers: The Spy Who Shagged Me
function: SelectBetween
dependencies: 3
4
inputs: duration
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "The Man with the Golden Gun" . ?e <genre> ?e_1 . ?e_1 <pred:name> "spy film" .   } UNION { ?e <pred:name> "Austin Powers: The Spy Who Shagged Me" .  } ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: The Man with the Golden Gun