Question: Is there less area in Kingston (the one whose postal code is 12401) or Moscow (founded 1871)?
Choices:
Lansing
Greenville
Oakland
Moscow
New Haven
Waukegan
Columbus
Franklin
Kingston
Compton
Answer: Moscow
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kingston" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "12401" . } UNION { ?e <pred:name> "Moscow" . ?e <inception> ?pv_2 . ?pv_2 <pred:year> 1871 . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Kingston
function: FilterStr
dependencies: 0
inputs: postal code
12401
function: Find
inputs: Moscow
function: FilterYear
dependencies: 2
inputs: inception
1871
=
function: SelectBetween
dependencies: 1
3
inputs: area
less