Question: What is the relationship between James Stewart (the one that is the citizen of South Africa) and Presbyterianism?
Choices:
studied by
killed by
award disciplines or subjects
architectural style
this taxon is source of
rector
publisher
foundational text
religion
film crew member
Answer: religion
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Stewart" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "South Africa" . ?e_2 <pred:name> "Presbyterianism" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: South Africa
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: James Stewart
function: And
dependencies: 1
2
function: Find
inputs: Presbyterianism
function: QueryRelation
dependencies: 3
4