Question: How is jazz related to composer Walter Murphy?
Choices:
position played on team / speciality
nutrient
substitute/deputy/replacement of office/officeholder
professorship
place of birth
stated in
replaced by
famous people
instrumentation
operator
Answer: famous people
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "jazz" . ?e_2 <pred:name> "Walter Murphy" . ?e_2 <occupation> ?e_3 . ?e_3 <pred:name> "composer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: jazz
function: Find
inputs: composer
function: Relate
dependencies: 1
inputs: occupation
backward
function: Find
inputs: Walter Murphy
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4