Question: What is the relationship between James Stewart, a citizen of the Kingdom of Great Britian, and the Kingdom of Great Britian?
Choices: symptom of
country of citizenship
doctoral advisor
tributary
contributor(s) to the creative work
use
director
enclave within
part of the series
health specialty
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "James Stewart" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Kingdom of Great Britain" . ?e_2 <pred:name> "Kingdom of Great Britain" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kingdom of Great Britain
function: Relate
dependencies: 0
inputs: country of citizenship
backward
function: Find
inputs: James Stewart
function: And
dependencies: 1
2
function: Find
inputs: Kingdom of Great Britain
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship