Question: What is the relationship between John Mills (the one that is the citizen of Kingdom of Great Britain) and the Conservative Party?
Choices:
separated from
parent club
location of final assembly
record label
diplomatic relation
office contested
conflict
manufacturer
member of political party
mother
Answer: member of political party
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "John Mills" . ?e_1 <country_of_citizenship> ?e_3 . ?e_3 <pred:name> "Kingdom of Great Britain" . ?e_2 <pred:name> "Conservative Party" . ?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: John Mills
function: And
dependencies: 1
2
function: Find
inputs: Conservative Party
function: QueryRelation
dependencies: 3
4