Question: Which has the most area, Normandy with a population of 3450388 or Brittany that has an area of 27208 square kilometers?
Choices:
Columbia University
Martinique
Province of Rome
Andrew Lau
George Bernard Shaw
Normandy
Corsica
Erykah Badu
Brittany
Chatham
Program:
function: Find
inputs: Normandy
function: FilterNum
dependencies: 0
inputs: population
3450388
=
function: Find
inputs: Brittany
function: FilterNum
dependencies: 2
inputs: area
27208 square kilometre
=
function: SelectBetween
dependencies: 1
3
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Normandy" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "3450388"^^xsd:double . } UNION { ?e <pred:name> "Brittany" . ?e <area> ?pv_2 . ?pv_2 <pred:unit> "square kilometre" . ?pv_2 <pred:value> "27208"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Normandy