Question: How is Robert Ryan, the member of the Liberal Party of Canada, related to Canada?
Choices: producer
commissioned by
general manager
ethnic group
award disciplines or subjects
student
owned by
honorific prefix
country of citizenship
discoverer or inventor
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Robert Ryan" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Liberal Party of Canada" . ?e_2 <pred:name> "Canada" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Liberal Party of Canada
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: Robert Ryan
function: And
dependencies: 1
2
function: Find
inputs: Canada
function: QueryRelation
dependencies: 3
4
Answer: country of citizenship