Question: Does Elizabeth (that is located in the Eastern Time Zone) or Passaic have the larger land area?
Choices:
Plainfield
Elizabeth
Paterson
Trenton
Bayonne
Atlantic City
Hoboken
Passaic
East Orange
Jersey City
Program:
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Elizabeth
function: And
dependencies: 1
2
function: Find
inputs: Passaic
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Elizabeth" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Eastern Time Zone" .   } UNION { ?e <pred:name> "Passaic" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Elizabeth