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