Question: What is the connection between Quincy (the one that shares border with Boston) to Boston?
Choices:
superhuman feature or ability
religion
candidacy in election
has dialect (DEPRECATED)
member of sports team
highest judicial authority
terminus
office held by head of the organisation
professional or sports partner
shares border with
Program:
function: Find
inputs: Boston
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Quincy
function: And
dependencies: 1
2
function: Find
inputs: Boston
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Quincy" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Boston" . ?e_2 <pred:name> "Boston" . ?e_1 ?p ?e_2 .  }
Answer: shares border with