Question: Which area is larger, Norfolk County or Berkshire County?
Choices:
Franklin County
Middlesex County
Hampshire County
Bristol County
Berkshire County
Norfolk County
Plymouth County
Essex County
Worcester County
Suffolk County
Program:
function: Find
inputs: Norfolk County
function: Find
inputs: Berkshire County
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Norfolk County" .  } UNION { ?e <pred:name> "Berkshire County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Berkshire County