Question: Does Augusta, which was created in 1736, or Detroit, where J.K. Simmons was born, have a smaller area?
Choices:
Augusta
Waukegan
Oakland
Greenville
Franklin
New Haven
Boulder
Compton
Columbus
Detroit
Answer: Detroit
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Augusta" . ?e <inception> ?pv_1 . ?pv_1 <pred:year> 1736 . } UNION { ?e <pred:name> "Detroit" . ?e_1 <place_of_birth> ?e . ?e_1 <pred:name> "J. K. Simmons" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Augusta
function: FilterYear
dependencies: 0
inputs: inception
1736
=
function: Find
inputs: J. K. Simmons
function: Relate
dependencies: 2
inputs: place of birth
forward
function: Find
inputs: Detroit
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less