Question: Which place is larger, Bandung or Rotterdam (the one whose WOEID is 733075)?
Choices:
Bergen
Cork
Trieste
Chihuahua
Kingston
Dundee
Bandung
Santo Domingo
Rotterdam
Kilkenny
Answer: Rotterdam
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Bandung" . } UNION { ?e <pred:name> "Rotterdam" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "733075" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Bandung
function: Find
inputs: Rotterdam
function: FilterStr
dependencies: 1
inputs: WOEID
733075
function: SelectBetween
dependencies: 0
2
inputs: area
greater