Question: Which area is smaller, Plainfield or Elizabeth (with a population of 124969)?
Choices:
East Orange
Trenton
Jersey City
Passaic
Paterson
Plainfield
Bayonne
Perth Amboy
Atlantic City
Hoboken
Answer: Plainfield
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Plainfield" . } UNION { ?e <pred:name> "Elizabeth" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "124969"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Plainfield
function: Find
inputs: Elizabeth
function: FilterNum
dependencies: 1
inputs: population
124969
=
function: SelectBetween
dependencies: 0
2
inputs: area
less