Question: Does Maui or Hawaii (that is a part of the Hawaiian Islands) has less perimeter?
Choices:
Maui
Tasmania
Staten Island
Newfoundland
Cyprus
Long Island
Trinidad
Puerto Rico
Guernsey
Hawaii
Answer: Maui
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Maui" .  } UNION { ?e <pred:name> "Hawaii" . ?e <part_of> ?e_1 . ?e_1 <pred:name> "Hawaiian Islands" .   } ?e <perimeter> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Maui
function: Find
inputs: Hawaiian Islands
function: Relate
dependencies: 1
inputs: part of
backward
function: Find
inputs: Hawaii
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: perimeter
less