Question: Is the Long Island whose population is 42907 or the Long Island whose width is 6 kilometers smaller by area?
Choices: Puerto Rico
Hawaii
Tasmania
Guernsey
Ireland
Long Island
Trinidad
Newfoundland
Long Island
Cyprus
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Long Island" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "42907"^^xsd:double . } UNION { ?e <pred:name> "Long Island" . ?e <width> ?pv_2 . ?pv_2 <pred:unit> "kilometre" . ?pv_2 <pred:value> "6"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Long Island
function: FilterNum
dependencies: 0
inputs: population
42907
=
function: Find
inputs: Long Island
function: FilterNum
dependencies: 2
inputs: width
6 kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
less
Answer: Long Island