Question: Which area is smaller, Jefferson County (the one whose official website is http://jeffconline.jccal.org) or Monroe County (the one whose population is 23004)?
Choices:
Montgomery County
Baldwin County
Madison County
Dallas County
Monroe County
Jefferson County
Jackson County
Mobile County
Washington County
Shelby County
Answer: Monroe County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Jefferson County" . ?e <official_website> ?pv_1 . ?pv_1 <pred:value> "http://jeffconline.jccal.org" . } UNION { ?e <pred:name> "Monroe County" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "23004"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Jefferson County
function: FilterStr
dependencies: 0
inputs: official website
http://jeffconline.jccal.org
function: Find
inputs: Monroe County
function: FilterNum
dependencies: 2
inputs: population
23004
=
function: SelectBetween
dependencies: 1
3
inputs: area
less