Question: Guitarist James Fox is related in what way to the profession of pianist?
Choices: occupation
penalty
instrumentation
sports season of league or competition
statistical leader
continent
editor
make-up artist
archives at
record label
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Fox" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "guitarist" . ?e_2 <pred:name> "pianist" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: guitarist
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: James Fox
function: And
dependencies: 1
2
function: Find
inputs: pianist
function: QueryRelation
dependencies: 3
4
Answer: occupation