Question: How is Peter Stone, whose birthplace is Buffalo, related to the United States of America?
Choices:
country
killed by
league
conferred by
country of citizenship
doctoral advisor
place of death
student of
place of birth
from fictional universe
Program:
function: Find
inputs: Buffalo
function: Relate
dependencies: 0
inputs: place of birth
backward
function: Find
inputs: Peter Stone
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Peter Stone" . ?e_1 <place_of_birth> ?e_3 . ?e_3 <pred:name> "Buffalo" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Answer: country of citizenship