Question: Which one is greater by area, Frederick (the one that is located in time zone Eastern Time Zone) or Fresno (the one whose postal code is 93755)?
Choices:
Franklin
Frederick
Fresno
Columbus
Waukegan
Lansing
Greenville
New Haven
Compton
Oakland
Program:
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 0
inputs: located in time zone
backward
function: Find
inputs: Frederick
function: And
dependencies: 1
2
function: Find
inputs: Fresno
function: FilterStr
dependencies: 4
inputs: postal code
93755
function: SelectBetween
dependencies: 3
5
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Frederick" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Eastern Time Zone" . } UNION { ?e <pred:name> "Fresno" . ?e <postal_code> ?pv_1 . ?pv_1 <pred:value> "93755" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Fresno