Question: Which one is smaller by area, Long Beach (the one that is the filming location of WarGames) or Bloomfield Hills ?
Choices:
New Haven
Lansing
Columbus
Greenville
Franklin
Waukegan
Bloomfield Hills
Oakland
Compton
Long Beach
Program:
function: Find
inputs: WarGames
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Long Beach
function: And
dependencies: 1
2
function: Find
inputs: Bloomfield Hills
function: SelectBetween
dependencies: 3
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Long Beach" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "WarGames" .   } UNION { ?e <pred:name> "Bloomfield Hills" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Bloomfield Hills