Question: What is the connection between New Westminster to Burnaby?
Choices:
academic degree
has immediate cause
musical conductor
discoverer or inventor
relative
separated from
headquarters location
lifestyle
shares border with
general manager
Program:
function: Find
inputs: New Westminster
function: Find
inputs: Burnaby
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "New Westminster" . ?e_2 <pred:name> "Burnaby" . ?e_1 ?p ?e_2 .  }
Answer: shares border with