Question: What profession is in common with Herman Melville and Nino Rota?
Choices: make-up artist
cinematographer
bandleader
speaker of the United States House of Representatives
astronaut
seiyū
teacher
pianist
financier
academic lecturer
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "profession" . ?e_1 <occupation> ?e . ?e_1 <pred:name> "Herman Melville" .  ?e_2 <occupation> ?e . ?e_2 <pred:name> "Nino Rota" .  }
Program:
function: Find
inputs: Herman Melville
function: Relate
dependencies: 0
inputs: occupation
forward
function: FilterConcept
dependencies: 1
inputs: profession
function: Find
inputs: Nino Rota
function: Relate
dependencies: 3
inputs: occupation
forward
function: FilterConcept
dependencies: 4
inputs: profession
function: And
dependencies: 2
5
function: What
dependencies: 6
Answer: academic lecturer