Question: Kane County (ISNI 0000 0004 0591 504X) is related in what way to DeKalb County that borders McHenry County?
Choices: member of sports team
programming language
next higher rank
headquarters location
award received
shares border with
broadcast by
original film format
territory overlaps
educated at
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kane County" . ?e_1 <ISNI> ?pv . ?pv <pred:value> "0000 0004 0591 504X" . ?e_2 <pred:name> "DeKalb County" . ?e_2 <shares_border_with> ?e_3 . ?e_3 <pred:name> "McHenry County" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Kane County
function: FilterStr
dependencies: 0
inputs: ISNI
0000 0004 0591 504X
function: Find
inputs: McHenry County
function: Relate
dependencies: 2
inputs: shares border with
backward
function: Find
inputs: DeKalb County
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5
Answer: shares border with