Question: Decatur that borders Huntsville is related in what way to Huntsville?
Choices:
source of income
film distribute region
sports season of league or competition
highest judicial authority
depicts
shares border with
mascot
appears in the form of
main subject
home port
Answer: shares border with
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Decatur" . ?e_1 <shares_border_with> ?e_3 . ?e_3 <pred:name> "Huntsville" . ?e_2 <pred:name> "Huntsville" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Huntsville
function: Relate
dependencies: 0
inputs: shares border with
backward
function: Find
inputs: Decatur
function: And
dependencies: 1
2
function: Find
inputs: Huntsville
function: QueryRelation
dependencies: 3
4