Question: Which is the border in common with Wisconsin and Illinois, location of the administrative division Will County?
Choices:
Brazil–Iran relations
Saudi Arabia–Yemen relations
Denmark–Ghana relations
Kosovo–United Kingdom relations
Illinois–Indiana border
Argentina–United Kingdom relations
Illinois–Wisconsin border
Poland–Romania relations
Indonesia–Morocco relations
Gibraltarian people
Answer: Illinois–Wisconsin border
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Illinois" . ?e_1 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Will County" . ?e_2 <pred:name> "Wisconsin" . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <statement_is_subject_of> ?qpv .  }
Program:
function: Find
inputs: Will County
function: Relate
dependencies: 0
inputs: contains administrative territorial entity
backward
function: Find
inputs: Illinois
function: And
dependencies: 1
2
function: Find
inputs: Wisconsin
function: QueryRelationQualifier
dependencies: 3
4
inputs: shares border with
statement is subject of