Question: Which area is smaller, San Juan (the one whose population is 395326) or Norman (the one that is the residence of Vince Gill)?
Choices:
Waukegan
New Haven
San Juan
Norman
Oakland
Columbus
Boulder
Lansing
Compton
Franklin
Program:
function: Find
inputs: San Juan
function: FilterNum
dependencies: 0
inputs: population
395326
=
function: Find
inputs: Vince Gill
function: Relate
dependencies: 2
inputs: residence
forward
function: Find
inputs: Norman
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Juan" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "395326"^^xsd:double . } UNION { ?e <pred:name> "Norman" . ?e_1 <residence> ?e . ?e_1 <pred:name> "Vince Gill" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: San Juan