Question: What is politician Amy Grant's connection to the University of Pittsburgh?
Choices:
characters
is a list of
material used
main subject
license
permanent resident of
cites
culture
sport
educated at
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Amy Grant
function: And
dependencies: 1
2
function: Find
inputs: University of Pittsburgh
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Amy Grant" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "University of Pittsburgh" . ?e_1 ?p ?e_2 .  }
Answer: educated at