Question: Which area is larger, Sunnyvale or Santa Fe (the one that is located in time zone Mountain Time Zone)?
Choices:
Lansing
Franklin
Santa Fe
Greenville
Oakland
New Haven
Boulder
Waukegan
Sunnyvale
Compton
Answer: Santa Fe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Sunnyvale" .  } UNION { ?e <pred:name> "Santa Fe" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Mountain Time Zone" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Sunnyvale
function: Find
inputs: Mountain Time Zone
function: Relate
dependencies: 1
inputs: located in time zone
backward
function: Find
inputs: Santa Fe
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater