Question: Which location is relative to Indianapolis that shares a border with Marion County (whose population is 903393)?
Choices: north-northwest
southwest
south-southwest
west-northwest
consolidated city-county
northeast
south
north
southeast
northwest
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Indianapolis" . ?e_2 <pred:name> "Marion County" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "903393"^^xsd:double . ?e_1 <shares_border_with> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <shares_border_with> ; <pred:fact_t> ?e_2 ] <direction_relative_to_location> ?qpv .  }
Program:
function: Find
inputs: Indianapolis
function: Find
inputs: Marion County
function: FilterNum
dependencies: 1
inputs: population
903393
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: shares border with
direction relative to location
Answer: consolidated city-county