Question: Is there a greater area in Lincoln (where the area is 35.69 square kilometres) or in Bhubaneswar?
Choices:
Kilkenny
Bergen
Abidjan
Bhubaneswar
Chihuahua
Lincoln
Dundee
Trieste
Santo Domingo
Kingston
Program:
function: Find
inputs: Lincoln
function: FilterNum
dependencies: 0
inputs: area
35.69 square kilometre
=
function: Find
inputs: Bhubaneswar
function: SelectBetween
dependencies: 1
2
inputs: area
greater
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Lincoln" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "35.69"^^xsd:double . } UNION { ?e <pred:name> "Bhubaneswar" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Answer: Bhubaneswar