Question: Which area is larger, Fort Wayne or Malden?
Choices:
Lansing
Oakland
Malden
Franklin
Greenville
Waukegan
Columbus
New Haven
Boulder
Fort Wayne
Program:
function: Find
inputs: Fort Wayne
function: Find
inputs: Malden
function: SelectBetween
dependencies: 0
1
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Fort Wayne" .  } UNION { ?e <pred:name> "Malden" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fort Wayne