Question: What is the connection between Andrew Jackson (the one that has the occupation of politician) to Presbyterianism?
Choices:
sponsor
genre
platform
honorific prefix
religion
coextensive with
parent astronomical body
writing system
educated at
territory overlaps
Answer: religion
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Andrew Jackson" . ?e_1 <occupation> ?e_3 . ?e_3 <pred:name> "politician" . ?e_2 <pred:name> "Presbyterianism" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: politician
function: Relate
dependencies: 0
inputs: occupation
backward
function: Find
inputs: Andrew Jackson
function: And
dependencies: 1
2
function: Find
inputs: Presbyterianism
function: QueryRelation
dependencies: 3
4