Question: Which occupies a smaller space, Lynchburg or the Winchester in the Eastern Time Zone?
Choices:
Hampton
Roanoke
Danville
Lexington
Winchester
Fairfax
Falls Church
Williamsburg
Lynchburg
Suffolk
Program:
function: Find
inputs: Lynchburg
function: Find
inputs: Eastern Time Zone
function: Relate
dependencies: 1
inputs: located in time zone
backward
function: Find
inputs: Winchester
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
less
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lynchburg" .  } UNION { ?e <pred:name> "Winchester" . ?e <located_in_time_zone> ?e_1 . ?e_1 <pred:name> "Eastern Time Zone" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Answer: Winchester