Question: Mulan, in English, has what connection to Jerry Goldsmith?
Choices:
composer
office held by head of the organisation
mountain range
terminus
place of birth
basin country
subject has role
located in the administrative territorial entity
set in period
theme music
Answer: composer
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mulan" . ?e_1 <language_of_work_or_name> ?e_3 . ?e_3 <pred:name> "English" . ?e_2 <pred:name> "Jerry Goldsmith" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: English
function: Relate
dependencies: 0
inputs: language of work or name
backward
function: Find
inputs: Mulan
function: And
dependencies: 1
2
function: Find
inputs: Jerry Goldsmith
function: QueryRelation
dependencies: 3
4