Question: Is Newport News or Lynchburg smaller?
Choices:
Falls Church
Lynchburg
Charlottesville
Danville
Roanoke
Suffolk
Hampton
Williamsburg
Newport News
Winchester
Program:
function: Find
inputs: Newport News
function: Find
inputs: Lynchburg
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Newport News" .  } UNION { ?e <pred:name> "Lynchburg" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Lynchburg