Question: As of 1981, what is the job of John McCain and is also the job of Merian C. Cooper?
Choices: illustrator
astronaut
make-up artist
graphic designer
cinematographer
fighter pilot
seiyū
bandleader
speaker of the United States House of Representatives
storyboard artist
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "John McCain" .  [ <pred:fact_h> ?e_1 ; <pred:fact_r> <occupation> ; <pred:fact_t> ?e ] <end_time> ?qpv . ?qpv <pred:year> 1981 . ?e_2 <occupation> ?e . ?e_2 <pred:name> "Merian C. Cooper" .  }
Program:
function: Find
inputs: John McCain
function: Relate
dependencies: 0
inputs: occupation
forward
function: QFilterYear
dependencies: 1
inputs: end time
1981
=
function: FilterConcept
dependencies: 2
inputs: profession
function: Find
inputs: Merian C. Cooper
function: Relate
dependencies: 4
inputs: occupation
forward
function: FilterConcept
dependencies: 5
inputs: profession
function: And
dependencies: 3
6
function: What
dependencies: 7
Answer: fighter pilot