Question: What is the connection between Hal Smith (the one that is a member of Cincinnati Reds) to United States of America?
Choices:
operator
movement
ethnic group
production designer
office held by head of government
country of citizenship
dissertation submitted to
position held
diaspora
winner
Answer: country of citizenship
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Hal Smith" . ?e_1 <member_of_sports_team> ?e_3 . ?e_3 <pred:name> "Cincinnati Reds" . ?e_2 <pred:name> "United States of America" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cincinnati Reds
function: Relate
dependencies: 0
inputs: member of sports team
backward
function: Find
inputs: Hal Smith
function: And
dependencies: 1
2
function: Find
inputs: United States of America
function: QueryRelation
dependencies: 3
4