Question: What is the relationship between Mangalore to Hamilton (the one whose subreddit is Hamilton)?
Choices:
draft pick from school
country of citizenship
office held by head of government
depicts
twinned administrative body
notable work
home port
interested in
composer
seed team
Answer: twinned administrative body
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Mangalore" . ?e_2 <pred:name> "Hamilton" . ?e_2 <subreddit> ?pv . ?pv <pred:value> "Hamilton" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Mangalore
function: Find
inputs: Hamilton
function: FilterStr
dependencies: 1
inputs: subreddit
Hamilton
function: QueryRelation
dependencies: 0
2