Question: Which area is smaller in size, New Jersey or South Dakota?
Choices:
New Jersey
South Dakota
Florida
California
Kansas
Hawaii
Iowa
Massachusetts
New Mexico
Illinois
Program:
function: Find
inputs: New Jersey
function: Find
inputs: South Dakota
function: SelectBetween
dependencies: 0
1
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "New Jersey" .  } UNION { ?e <pred:name> "South Dakota" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: New Jersey