Question: Which area is smaller, Miami (the one that is the residence of Chris Cornell) or Auburn (the one that is located in Placer County)?
Choices:
Boulder
Auburn
Franklin
Columbus
Oakland
Compton
Greenville
Lansing
New Haven
Miami
Program:
function: Find
inputs: Chris Cornell
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Miami
function: And
dependencies: 1
2
function: Find
inputs: Placer County
function: Relate
dependencies: 4
inputs: located in the administrative territorial entity
backward
function: Find
inputs: Auburn
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Miami" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Chris Cornell" .   } UNION { ?e <pred:name> "Auburn" . ?e <located_in_the_administrative_territorial_entity> ?e_2 . ?e_2 <pred:name> "Placer County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Auburn