Question: Which area is smaller, Whanganui or Teaneck?
Choices:
Teaneck
Belleville
Montclair
Ridgewood
North Hollywood
West Orange
Whanganui
Red Bank
Verona
Livingston
Program:
function: Find
inputs: Whanganui
function: Find
inputs: Teaneck
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Whanganui" .  } UNION { ?e <pred:name> "Teaneck" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Whanganui