Question: Which area is larger, Hamilton County (the one whose licence plate code is 31) or Erie County (the one whose population is 76390)?
Choices:
Jefferson County
Stark County
Erie County
Cuyahoga County
Mahoning County
Summit County
Wood County
Delaware County
Tuscarawas County
Hamilton County
Program:
function: Find
inputs: Hamilton County
function: FilterStr
dependencies: 0
inputs: licence plate code
31
function: Find
inputs: Erie County
function: FilterNum
dependencies: 2
inputs: population
76390
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hamilton County" . ?e <licence_plate_code> ?pv_1 . ?pv_1 <pred:value> "31" . } UNION { ?e <pred:name> "Erie County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "76390"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Erie County