Question: Which area is smaller, Barrow-in-Furness (the one whose WOEID is 11959) or Palm Springs (the one that is the death place of Jane Wyman)?
Choices:
Wigan
Wimbledon
Blackburn
Macclesfield
Palm Springs
Edmonton
Doncaster
Barrow-in-Furness
South Shields
Royal Tunbridge Wells
Answer: Barrow-in-Furness
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Barrow-in-Furness" . ?e <WOEID> ?pv_1 . ?pv_1 <pred:value> "11959" . } UNION { ?e <pred:name> "Palm Springs" . ?e_1 <place_of_death> ?e . ?e_1 <pred:name> "Jane Wyman" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY ?v LIMIT 1
Program:
function: Find
inputs: Barrow-in-Furness
function: FilterStr
dependencies: 0
inputs: WOEID
11959
function: Find
inputs: Jane Wyman
function: Relate
dependencies: 2
inputs: place of death
forward
function: Find
inputs: Palm Springs
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
less