Question: How is the restaurateur Peter Buck related to the businessperson category?
Choices: film crew member
occupation
found
partially contains
replaced by
nominated for
developer
game mode
voice type
parent club
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Buck" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "restaurateur" . ?e_2 <pred:name> "businessperson" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: restaurateur
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Peter Buck
function: And
dependencies: 1
2
function: Find
inputs: businessperson
function: QueryRelation
dependencies: 3
4
Answer: occupation