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