Question: Which area is larger, Kōbe or Richmond (the one whose population is 198309)?
Choices:
Richmond
Bergen
Chihuahua
Santo Domingo
Dundee
Cork
Kingston
Abidjan
Trieste
Kōbe
Answer: Kōbe
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Kōbe" . } UNION { ?e <pred:name> "Richmond" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "198309"^^xsd:double . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Kōbe
function: Find
inputs: Richmond
function: FilterNum
dependencies: 1
inputs: population
198309
=
function: SelectBetween
dependencies: 0
2
inputs: area
greater