Question: What is the relationship between the songwriter Mark Harmon and record producer?
Choices: soundtrack album
from fictional universe
heritage designation
occupation
sex or gender
is a list of
newspaper format
parent club
exported to
opposite of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mark Harmon" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "songwriter" . ?e_2 <pred:name> "record producer" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: songwriter
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Mark Harmon
function: And
dependencies: 1
2
function: Find
inputs: record producer
function: QueryRelation
dependencies: 3
4
Answer: occupation