Question: Which has more area, Avignon or Chester that is the headquarter location of Chester City F.C.?
Choices:
Chester
Dundee
Kingston
Santo Domingo
Chihuahua
Kilkenny
Avignon
Bergen
Trieste
Abidjan
Program:
function: Find
inputs: Avignon
function: Find
inputs: Chester City F.C.
function: Relate
dependencies: 1
inputs: headquarters location
forward
function: Find
inputs: Chester
function: And
dependencies: 2
3
function: SelectBetween
dependencies: 0
4
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Avignon" .  } UNION { ?e <pred:name> "Chester" . ?e_1 <headquarters_location> ?e . ?e_1 <pred:name> "Chester City F.C." .   } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Avignon