Question: What is the connection between Charlie Daniels (the one whose genre is country music) to Epic Records?
Choices:
depicts
named after
office held by head of state
captain
military rank
has quality
record label
next lower rank
executive producer
has cause
Answer: record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Charlie Daniels" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "country music" . ?e_2 <pred:name> "Epic Records" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: country music
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Charlie Daniels
function: And
dependencies: 1
2
function: Find
inputs: Epic Records
function: QueryRelation
dependencies: 3
4