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