Question: Which occupies a smaller space: Wilmington, where Joe Biden lives, or Orlando, where Shaquille O'Neal resides?
Choices:
Compton
Greenville
Wilmington
Oakland
Waukegan
Orlando
New Haven
Columbus
Boulder
Lansing
Program:
function: Find
inputs: Joe Biden
function: Relate
dependencies: 0
inputs: residence
forward
function: Find
inputs: Wilmington
function: And
dependencies: 1
2
function: Find
inputs: Shaquille O'Neal
function: Relate
dependencies: 4
inputs: residence
forward
function: Find
inputs: Orlando
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wilmington" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Joe Biden" .   } UNION { ?e <pred:name> "Orlando" . ?e_2 <residence> ?e . ?e_2 <pred:name> "Shaquille O'Neal" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Wilmington