Question: What is the relationship between Kevin McHale (the one whose genre is soul music) to Capitol Records?
Choices:
after a work by
location of formation
author
patron saint
spouse
political ideology
head of government
office held by head of government
parent club
record label
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kevin McHale" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "soul music" . ?e_2 <pred:name> "Capitol Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: soul music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Kevin McHale
function: And
dependencies: 1
2
function: Find
inputs: Capitol Records
function: QueryRelation
dependencies: 3
4