Question: Casper (the one whose WOEID is 2375993) bigger by area than Joliet, or vice versa?
Choices:
Greenville
Casper
Boulder
Oakland
Waukegan
Compton
Joliet
Franklin
Lansing
New Haven
Answer: Joliet
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Joliet" . } UNION { ?e <pred:name> "Casper" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "2375993" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Joliet
function: Find
inputs: Casper
function: FilterStr
dependencies: 1
inputs: WOEID
2375993
function: SelectBetween
dependencies: 0
2
inputs: area
greater