Question: Which area is smaller in size, Hampshire County (the one whose FIPS 6-4 (US counties) is 25015) or Worcester County?
Choices:
Bristol County
Essex County
Middlesex County
Norfolk County
Berkshire County
Hampshire County
Plymouth County
Suffolk County
Worcester County
Franklin County
Answer: Worcester County
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hampshire County" . ?e <FIPS_6-4_(US_counties)> ?pv_1 . ?pv_1 <pred:value> "25015" . } UNION { ?e <pred:name> "Worcester County" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Hampshire County
function: FilterStr
dependencies: 0
inputs: FIPS 6-4 (US counties)
25015
function: Find
inputs: Worcester County
function: SelectBetween
dependencies: 1
2
inputs: area
less