Question: What is the relationship between Amy Grant, who was educated at the University of Pittsburgh, to the Republican Party?
Choices:
facet of
home port
member of political party
sponsor
costume designer
part of the series
captain
child astronomical body
film crew member
product or material produced
Program:
function: Find
inputs: University of Pittsburgh
function: Relate
dependencies: 0
inputs: educated at
backward
function: Find
inputs: Amy Grant
function: And
dependencies: 1
2
function: Find
inputs: Republican Party
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Amy Grant" . ?e_1 <educated_at> ?e_3 . ?e_3 <pred:name> "University of Pittsburgh" . ?e_2 <pred:name> "Republican Party" . ?e_1 ?p ?e_2 .  }
Answer: member of political party