Question: Which area is smaller, Chester (the one that is the origin of the name Westchester County) or Guadalajara (the one that is located in time zone Central Time Zone)?
Choices:
Trieste
Dundee
Bergen
Guadalajara
Abidjan
Kilkenny
Kingston
Cork
Santo Domingo
Chester
Answer: Chester
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Chester" . ?e_1 <named_after> ?e . ?e_1 <pred:name> "Westchester County" .   } UNION { ?e <pred:name> "Guadalajara" . ?e <located_in_time_zone> ?e_2 . ?e_2 <pred:name> "Central Time Zone" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Westchester County
function: Relate
dependencies: 0
inputs: named after
forward
function: Find
inputs: Chester
function: And
dependencies: 1
2
function: Find
inputs: Central Time Zone
function: Relate
dependencies: 4
inputs: located in time zone
backward
function: Find
inputs: Guadalajara
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
less