Question: What Ohio county shares a border with Erie County (whose population is 280823) and has land area that is not 870 square kilometers?
Choices:
Delaware County
Logan County
Stark County
Cuyahoga County
Ashtabula County
Portage County
Tuscarawas County
Erie County
Mahoning County
Wayne County
Answer: Ashtabula County
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "county of Ohio" . ?e <shares_border_with> ?e_1 . ?e_1 <pred:name> "Erie County" . ?e_1 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "280823"^^xsd:double .  ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> ?v . FILTER ( ?v != "870"^^xsd:double ) .  }
Program:
function: Find
inputs: Erie County
function: FilterNum
dependencies: 0
inputs: population
280823
=
function: Relate
dependencies: 1
inputs: shares border with
backward
function: FilterConcept
dependencies: 2
inputs: county of Ohio
function: FindAll
function: FilterNum
dependencies: 4
inputs: area
870 square kilometre
!=
function: FilterConcept
dependencies: 5
inputs: county of Ohio
function: And
dependencies: 3
6
function: What
dependencies: 7