Question: What is the correlation between Jackson County (that shares a border with La Crosse County) and Andrew Jackson (who holds the office of President of the United States)?
Choices:
highest judicial authority
subject has role
subsidiary
symptom of
official color
named after
published in
properties for this type
contributor(s) to the creative work
screenwriter
Answer: named after
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Jackson County" . ?e_3 <shares_border_with> ?e_1 . ?e_3 <pred:name> "La Crosse County" . ?e_2 <pred:name> "Andrew Jackson" . ?e_2 <position_held> ?e_4 . ?e_4 <pred:name> "President of the United States" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: La Crosse County
function: Relate
dependencies: 0
inputs: shares border with
forward
function: Find
inputs: Jackson County
function: And
dependencies: 1
2
function: Find
inputs: President of the United States
function: Relate
dependencies: 4
inputs: position held
backward
function: Find
inputs: Andrew Jackson
function: And
dependencies: 5
6
function: QueryRelation
dependencies: 3
7