Question: Which area is smaller, Providence (the one that is the working location of H. P. Lovecraft) or Lakewood?
Choices:
Waukegan
New Haven
Greenville
Providence
Compton
Oakland
Lakewood
Lansing
Columbus
Franklin
Answer: Lakewood
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Providence" . ?e_1 <work_location> ?e . ?e_1 <pred:name> "H. P. Lovecraft" .   } UNION { ?e <pred:name> "Lakewood" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: H. P. Lovecraft
function: Relate
dependencies: 0
inputs: work location
forward
function: Find
inputs: Providence
function: And
dependencies: 1
2
function: Find
inputs: Lakewood
function: SelectBetween
dependencies: 3
4
inputs: area
less