Question: What does Mark Harmon (who has the occupation of musician) have to do with songwriter?
Choices:
different from
health specialty
geography of topic
film release region
has effect
occupation
professional or sports partner
candidate
foundational text
donated by
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mark Harmon" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "musician" . ?e_2 <pred:name> "songwriter" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: musician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Mark Harmon
function: And
dependencies: 1
2
function: Find
inputs: songwriter
function: QueryRelation
dependencies: 3
4