Question: Is the smaller area occupied by Dallas County, population 43167, or Madison County, represented by the website http://www.co.madison.al.us?
Choices:
Shelby County
Monroe County
Montgomery County
Jackson County
Baldwin County
Madison County
Washington County
Dallas County
Jefferson County
Mobile County
Program:
function: Find
inputs: Dallas County
function: FilterNum
dependencies: 0
inputs: population
43167
=
function: Find
inputs: Madison County
function: FilterStr
dependencies: 2
inputs: official website
http://www.co.madison.al.us
function: SelectBetween
dependencies: 1
3
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Dallas County" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "43167"^^xsd:double . } UNION { ?e <pred:name> "Madison County" . ?e <official_website> ?pv_2 . ?pv_2 <pred:value> "http://www.co.madison.al.us" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Madison County