Question: Which has greater perimeter, Honshu or Hawaii whose population is 190821?
Choices:
Hawaii
Honshu
Guernsey
Tasmania
Ireland
Newfoundland
Trinidad
Cyprus
Long Island
Puerto Rico
Program:
function: Find
inputs: Honshu
function: Find
inputs: Hawaii
function: FilterNum
dependencies: 1
inputs: population
190821
=
function: SelectBetween
dependencies: 0
2
inputs: perimeter
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Honshu" . } UNION { ?e <pred:name> "Hawaii" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "190821"^^xsd:double . } ?e <perimeter> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Honshu