Question: What is the connection between Indiana to Illinois (the one that contains the administrative division Will County)?
Choices:
currency
symptoms
place of burial
notable people with this condition
shares border with
after a work by
place of birth
work location
coextensive with
member of sports team
Program:
function: Find
inputs: Indiana
function: Find
inputs: Will County
function: Relate
dependencies: 1
inputs: contains administrative territorial entity
backward
function: Find
inputs: Illinois
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Indiana" . ?e_2 <pred:name> "Illinois" . ?e_2 <contains_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Will County" . ?e_1 ?p ?e_2 .  }
Answer: shares border with