Question: Which area is smaller, Frederick (the one that is located in time zone Eastern Time Zone) or Norwalk (the one whose inception time is 1640-02-26)?
Choices:
Columbus
Greenville
Waukegan
Norwalk
Compton
Boulder
Frederick
New Haven
Franklin
Oakland
Answer: Frederick
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> "Norwalk" . ?e <inception> ?pv_1 . ?pv_1 <pred:date> "1640-02-26"^^xsd:date . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
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: Norwalk
function: FilterDate
dependencies: 4
inputs: inception
1640-02-26
=
function: SelectBetween
dependencies: 3
5
inputs: area
less