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
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
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 .  }
Answer: occupation