Question: Which has greater fiscal/tax revenue, San Juan whose area is 5.95 square kilometres or Cebu City?
Choices: Cork
Bergen
Trieste
Abidjan
Kilkenny
San Juan
Kingston
Santo Domingo
Cebu City
Dundee
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "San Juan" . ?e <area> ?pv_1 . ?pv_1 <pred:unit> "square kilometre" . ?pv_1 <pred:value> "5.95"^^xsd:double . } UNION { ?e <pred:name> "Cebu City" . } ?e <fiscal/tax_revenue> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: San Juan
function: FilterNum
dependencies: 0
inputs: area
5.95 square kilometre
=
function: Find
inputs: Cebu City
function: SelectBetween
dependencies: 1
2
inputs: fiscal/tax revenue
greater
Answer: Cebu City