Question: Tell me the relationship between Neil Young (which has an occupation of barrister) to barrister.
Choices:
occupation
sibling
enclave within
had as last meal
sport
studied by
chairperson
candidate
voice actor
architectural style
Answer: occupation
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Neil Young" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "barrister" . ?e_2 <pred:name> "barrister" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: barrister
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Neil Young
function: And
dependencies: 1
2
function: Find
inputs: barrister
function: QueryRelation
dependencies: 3
4