Question: Which has the smaller perimeter, Ireland (by the Atlantic Ocean) or Newfoundland?
Choices:
Trinidad
Guernsey
Maui
Ireland
Long Island
Staten Island
Newfoundland
Tasmania
Hawaii
Cyprus
Answer: Ireland
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Ireland" . ?e <located_in_or_next_to_body_of_water> ?e_1 . ?e_1 <pred:name> "Atlantic Ocean" .   } UNION { ?e <pred:name> "Newfoundland" .  } ?e <perimeter> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Atlantic Ocean
function: Relate
dependencies: 0
inputs: located in or next to body of water
backward
function: Find
inputs: Ireland
function: And
dependencies: 1
2
function: Find
inputs: Newfoundland
function: SelectBetween
dependencies: 3
4
inputs: perimeter
less