Question: What is the connection between William McKinley (the one that is the member of political party Democratic-Republican Party) to United States of America?
Choices:
maintained by
award disciplines or subjects
author
executive producer
seed team
has quality
parent club
country of citizenship
quotes work
legislative body
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "William McKinley" . ?e_1 <member_of_political_party> ?e_3 . ?e_3 <pred:name> "Democratic-Republican Party" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Democratic-Republican Party
function: Relate
dependencies: 0
inputs: member of political party
backward
function: Find
inputs: William McKinley
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4