Question: Does Visalia or Glendale which is the residence of Jordin Sparks have less area?
Choices:
Waukegan
Columbus
New Haven
Oakland
Greenville
Franklin
Boulder
Compton
Lansing
Visalia
Program:
function: Find
inputs: Visalia
function: Find
inputs: Jordin Sparks
function: Relate
dependencies: 1
inputs: residence
forward
function: Find
inputs: Glendale
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Visalia" .  } UNION { ?e <pred:name> "Glendale" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Jordin Sparks" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Visalia