Question: Among Wilmington (the one that is the twinned administrative body of Watford) or Poughkeepsie, which one has greater area
Choices:
Lansing
New Haven
Columbus
Boulder
Compton
Wilmington
Greenville
Poughkeepsie
Oakland
Franklin
Program:
function: Find
inputs: Watford
function: Relate
dependencies: 0
inputs: twinned administrative body
forward
function: Find
inputs: Wilmington
function: And
dependencies: 1
2
function: Find
inputs: Poughkeepsie
function: SelectBetween
dependencies: 3
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Wilmington" . ?e_1 <twinned_administrative_body> ?e . ?e_1 <pred:name> "Watford" .   } UNION { ?e <pred:name> "Poughkeepsie" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Wilmington