Question: Does San Mateo or Hattiesburg have a greater city area?
Choices:
Compton
Waukegan
Franklin
Columbus
Hattiesburg
San Mateo
Boulder
Greenville
New Haven
Oakland
Program:
function: Find
inputs: San Mateo
function: Find
inputs: Hattiesburg
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Mateo" .  } UNION { ?e <pred:name> "Hattiesburg" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Hattiesburg