Question: What is the connection between David Foster (the one that was born in United States of America) to physician?
Choices:
start point
model item
architectural style
place served by transport hub
award received
occupation
interests
appears in the form of
enclave within
month of the year
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: David Foster
function: And
dependencies: 1
2
function: Find
inputs: physician
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "David Foster" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "United States of America" . ?e_2 <pred:name> "physician" . ?e_1 ?p ?e_2 .  }
Answer: occupation