Question: Which has a lesser population, Quincy (which is the formation location of Dropkick Murphys) or Green Bay (whose population is 104057)?
Choices:
Greenville
Franklin
Compton
Quincy
Oakland
Columbus
Green Bay
New Haven
Waukegan
Boulder
Program:
function: Find
inputs: Dropkick Murphys
function: Relate
dependencies: 0
inputs: location of formation
forward
function: Find
inputs: Quincy
function: And
dependencies: 1
2
function: Find
inputs: Green Bay
function: FilterNum
dependencies: 4
inputs: population
104057
=
function: SelectBetween
dependencies: 3
5
inputs: population
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quincy" . ?e_1 <location_of_formation> ?e . ?e_1 <pred:name> "Dropkick Murphys" . } UNION { ?e <pred:name> "Green Bay" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "104057"^^xsd:double . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Quincy