Question: Does Staten Island (in the Eastern Time Zone) or Newfoundland have the larger land area?
Choices:
Cyprus
Long Island
Trinidad
Guernsey
Puerto Rico
Hawaii
Staten Island
Ireland
Newfoundland
Maui
Program:
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Staten Island
function: And
dependencies: 1
2
function: Find
inputs: Newfoundland
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Staten Island" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Eastern Time Zone" .   } UNION { ?e <pred:name> "Newfoundland" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Newfoundland