Question: Does Andover or Fairfield (Fairfield University location) have a greater area?
Choices:
Brookline
Uxbridge
Bedford
Westport
Fairfield
Amherst
Kensington
West Hartford
Chapel Hill
Andover
Program:
function: Find
inputs: Andover
function: Find
inputs: Fairfield University
function: Relate
dependencies: 1
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Fairfield
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Andover" .  } UNION { ?e <pred:name> "Fairfield" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "Fairfield University" .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Andover