Question: Does Birmingham (the one that contains University of Birmingham) or Chester (the one that is the origin of the name Westchester County) have the greater area?
Choices:
Trieste
Kingston
Abidjan
Birmingham
Santo Domingo
Bergen
Chester
Kilkenny
Chihuahua
Dundee
Answer: Birmingham
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Birmingham" . ?e_1 <located_in_the_administrative_territorial_entity> ?e . ?e_1 <pred:name> "University of Birmingham" .   } UNION { ?e <pred:name> "Chester" . ?e_2 <named_after> ?e . ?e_2 <pred:name> "Westchester County" .  } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: University of Birmingham
function: Relate
dependencies: 0
inputs: located in the administrative territorial entity
forward
function: Find
inputs: Birmingham
function: And
dependencies: 1
2
function: Find
inputs: Westchester County
function: Relate
dependencies: 4
inputs: named after
forward
function: Find
inputs: Chester
function: And
dependencies: 5
6
function: SelectBetween
dependencies: 3
7
inputs: area
greater