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