Question: Which area is smaller, Lake County (the one whose area is 2535 square kilometre) or Tuscarawas County?
Choices:
Cuyahoga County
Tuscarawas County
Lake County
Summit County
Delaware County
Jefferson County
Stark County
Wood County
Mahoning County
Erie County
Program:
function: Find
inputs: Lake County
function: FilterNum
dependencies: 0
inputs: area
2535 square kilometre
=
function: Find
inputs: Tuscarawas County
function: SelectBetween
dependencies: 1
2
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lake County" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "2535"^^xsd:double . } UNION { ?e <pred:name> "Tuscarawas County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Tuscarawas County