Question: Is the smaller area covered by Clark County in Ohio, or by Greene County with a population of 164427?
Choices:
Cuyahoga County
Tuscarawas County
Stark County
Wayne County
Erie County
Mahoning County
Clark County
Summit County
Delaware County
Wood County
Answer: Clark County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Clark County" . ?e <located_in_the_administrative_territorial_entity> ?e_1 . ?e_1 <pred:name> "Ohio" . } UNION { ?e <pred:name> "Greene County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "164427"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Ohio
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Clark County
function: And
dependencies: 1
2
function: Find
inputs: Greene County
function: FilterNum
dependencies: 4
inputs: population
164427
=
function: SelectBetween
dependencies: 3
5
inputs: area
less