Question: Does Hampden County or Berkshire County occupy a smaller space?
Choices:
Essex County
Hampshire County
Berkshire County
Plymouth County
Franklin County
Barnstable County
Worcester County
Suffolk County
Hampden County
Norfolk County
Program:
function: Find
inputs: Hampden County
function: Find
inputs: Berkshire County
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hampden County" .  } UNION { ?e <pred:name> "Berkshire County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Hampden County