Question: How is Los Angeles related to Torrance ?
Choices:
famous people
operating area
winner
shares border with
sibling
place served by transport hub
foundational text
doctoral advisor
fictional universe described in
narrative role
Program:
function: Find
inputs: Los Angeles
function: Find
inputs: Torrance
function: QueryRelation
dependencies: 0
1
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Los Angeles" . ?e_2 <pred:name> "Torrance" . ?e_1 ?p ?e_2 .  }
Answer: shares border with