Question: What is the character role of John Wells (whose ISNI is 0000 0000 4637 7779) as a cast member in the film For Your Eyes Only (whose original language is English)?
Choices: Damon Macready
John McKittrick
Denis Thatcher
Guinan
Thomas Jefferson
John Seward
Steve Biko
Bilbo Baggins
Miles Dyson
Agnes Skinner
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "For Your Eyes Only" . ?e_1 <original_language_of_film_or_TV_show> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "John Wells" . ?e_2 <ISNI> ?pv . ?pv <pred:value> "0000 0000 4637 7779" . ?e_1 <cast_member> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <cast_member> ; <pred:fact_t> ?e_2 ] <character_role> ?qpv .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: original language of film or TV show
backward
function: Find
inputs: For Your Eyes Only
function: And
dependencies: 1
2
function: Find
inputs: John Wells
function: FilterStr
dependencies: 4
inputs: ISNI
0000 0000 4637 7779
function: QueryRelationQualifier
dependencies: 3
5
inputs: cast member
character role
Answer: Denis Thatcher