Question: What has Johnson County, located in Indiana, in common with Indianapolis?
Choices:
has part
model item
architectural style
afflicts
start point
professorship
operating area
shares border with
vehicle normally used
next higher rank
Program:
function: Find
inputs: Indianapolis
function: Find
inputs: Indiana
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Johnson County
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Indianapolis" . ?e_2 <pred:name> "Johnson County" . ?e_2 <located_in_the_administrative_territorial_entity> ?e_3 . ?e_3 <pred:name> "Indiana" . ?e_1 ?p ?e_2 .  }
Answer: shares border with