Question: Does Hobart or Preston whose TOID is 4000000074574696 have the longer runtime?
Choices:
Hobart
Abidjan
Cork
Trieste
Santo Domingo
Preston
Dundee
Kilkenny
Chihuahua
Bergen
Answer: Hobart
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Hobart" . } UNION { ?e <pred:name> "Preston" . ?e <TOID> ?pv_1 . ?pv_1 <pred:value> "4000000074574696" . } ?e <population> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Hobart
function: Find
inputs: Preston
function: FilterStr
dependencies: 1
inputs: TOID
4000000074574696
function: SelectBetween
dependencies: 0
2
inputs: population
greater