Question: Of visual artworks featuring the James Bond that Sean Connery portrayed, which has the longest running time?
Choices: From Russia with Love
You Only Live Twice
The Man with the Golden Gun
Never Say Never Again
Octopussy
Live and Let Die
Quantum of Solace
GoldenEye
On Her Majesty's Secret Service
Casino Royale
SPARQL: SELECT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <present_in_work> ?e . ?e_1 <pred:name> "James Bond" . ?e_1 <performer> ?e_2 . ?e_2 <pred:name> "Sean Connery" .  ?e <duration> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sean Connery
function: Relate
dependencies: 0
inputs: performer
backward
function: Find
inputs: James Bond
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: present in work
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: SelectAmong
dependencies: 5
inputs: duration
largest
Answer: Casino Royale