Question: Which has more area, Leeds that contains the University of Leeds or Bradford which is the headquarter location of Bradford City A.F.C.?
Choices:
Bergen
Cork
Kilkenny
Chihuahua
Kingston
Trieste
Leeds
Bradford
Abidjan
Dundee
Program:
function: Find
inputs: University of Leeds
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Leeds
function: And
dependencies: 1
2
function: Find
inputs: Bradford City A.F.C.
function: Relate
dependencies: 4
inputs: headquarters location
forward
function: Find
inputs: Bradford
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Leeds" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "University of Leeds" .   } UNION { ?e <pred:name> "Bradford" . ?e_2 <headquarters_location> ?e . ?e_2 <pred:name> "Bradford City A.F.C." .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Leeds