Question: Which area is larger, Georgia (the one that is the filming location of X-Men: First Class) or Massachusetts (the one that contains Smith College)?
Choices:
Massachusetts
Iowa
Illinois
Georgia
California
New Jersey
Hawaii
Florida
Colorado
Kansas
Program:
function: Find
inputs: X-Men: First Class
function: Relate
dependencies: 0
inputs: filming location
forward
function: Find
inputs: Georgia
function: And
dependencies: 1
2
function: Find
inputs: Smith College
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Massachusetts
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Georgia" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "X-Men: First Class" .   } UNION { ?e <pred:name> "Massachusetts" . ?e_2 <located_in_the_administrative_territorial_entity> ?e . ?e_2 <pred:name> "Smith College" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Georgia