Question: Which has less area, Brooklyn where Carole Bayer Sager was born or San Antonio that is the twinned administrative body of Monterrey?
Choices:
Greenville
Waukegan
Franklin
Boulder
Brooklyn
Lansing
San Antonio
Columbus
New Haven
Compton
Program:
function: Find
inputs: Carole Bayer Sager
function: Relate
dependencies: 0
inputs: place of birth
forward
function: Find
inputs: Brooklyn
function: And
dependencies: 1
2
function: Find
inputs: Monterrey
function: Relate
dependencies: 4
inputs: twinned administrative body
forward
function: Find
inputs: San Antonio
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Brooklyn" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "Carole Bayer Sager" .   } UNION { ?e <pred:name> "San Antonio" . ?e_2 <twinned_administrative_body> ?e . ?e_2 <pred:name> "Monterrey" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Brooklyn