Question: What is the connection between Salman Khan (the one that has the occupation of entrepreneur) to United States of America?
Choices:
production designer
hair color
color
depicted by
country of citizenship
copyright representative
film regional debut venue
voice actor
candidacy in election
drafted by
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Salman Khan" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "entrepreneur" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: entrepreneur
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Salman Khan
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4