Question: Which area is smaller, Frederick (the one that is located in time zone Eastern Time Zone) or Augusta (the one that is the formation location of Southern Baptist Convention)?
Choices:
Compton
Lansing
Augusta
Columbus
New Haven
Franklin
Boulder
Frederick
Oakland
Waukegan
Program:
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Frederick
function: And
dependencies: 1
2
function: Find
inputs: Southern Baptist Convention
function: Relate
dependencies: 4
inputs: location of formation
forward
function: Find
inputs: Augusta
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Frederick" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Eastern Time Zone" .   } UNION { ?e <pred:name> "Augusta" . ?e_2 <location_of_formation> ?e . ?e_2 <pred:name> "Southern Baptist Convention" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Frederick