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