Question: What is the connection between Indianapolis and Shelby County (the one that is located in Indiana)?
Choices: exported to
symptoms
mouth of the watercourse
shares border with
doctoral advisor
place served by transport hub
field of work
significant event
production designer
military rank
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Indianapolis" . ?e_2 <pred:name> "Shelby County" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Indiana" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Indianapolis
function: Find
inputs: Indiana
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Shelby County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
Answer: shares border with