Question: What is the connection between Thuringia (the one whose NUTS code is DEG) to Saxony-Anhalt (the one that contains the administrative division Halle (Saale))?
Choices: sports season of league or competition
shares border with
license
film release region
organizer
signatory
quotes work
doctoral student
fabrication method
replaces
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Thuringia" . ?e_1 <NUTS_code> ?pv . ?pv <pred:value> "DEG" . ?e_2 <pred:name> "Saxony-Anhalt" . ?e_2 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Halle (Saale)" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Thuringia
function: FilterStr
dependencies: 0
inputs: NUTS code
DEG
function: Find
inputs: Halle (Saale)
function: Relate
dependencies: 2
inputs: contains administrative territorial entity
backward
function: Find
inputs: Saxony-Anhalt
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: shares border with