Question: Which has fewer people, Warwick (the one whose local dialing code is 401) or Lynn (the one whose population is 90329)?
Choices:
Waukegan
Franklin
Columbus
Greenville
Warwick
Compton
Oakland
Boulder
Lynn
Lansing
Answer: Warwick
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Warwick" . ?e <local_dialing_code> ?pv_1 . ?pv_1 <pred:value> "401" . } UNION { ?e <pred:name> "Lynn" . ?e <population> ?pv_2 . ?pv_2 <pred:unit> "1" . ?pv_2 <pred:value> "90329"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Warwick
function: FilterStr
dependencies: 0
inputs: local dialing code
401
function: Find
inputs: Lynn
function: FilterNum
dependencies: 2
inputs: population
90329
=
function: SelectBetween
dependencies: 1
3
inputs: population
less