Question: What is the connection between Robert Smith (the one that has the religion Presbyterianism) to United States of America?
Choices:
theme music
contributor(s) to the creative work
dialect of
partner
developer
properties for this type
occupation
country of citizenship
manner of death
cites
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Smith" . ?e_1 <religion> ?e_3 . ?e_3 <pred:name> "Presbyterianism" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Presbyterianism
function: Relate
dependencies: 0
inputs: religion
backward
function: Find
inputs: Robert Smith
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4