Question: Which has more area, Quincy whose subreddit is QuincyIL or Mansfield that is the filming location of The Shawshank Redemption?
Choices:
Compton
Quincy
Boulder
Mansfield
Lansing
Columbus
New Haven
Franklin
Oakland
Greenville
Answer: Mansfield
SPARQL: SELECT ?e WHERE { { ?e <pred:name> "Quincy" . ?e <subreddit> ?pv_1 . ?pv_1 <pred:value> "QuincyIL" . } UNION { ?e <pred:name> "Mansfield" . ?e_1 <filming_location> ?e . ?e_1 <pred:name> "The Shawshank Redemption" . } ?e <area> ?pv . ?pv <pred:value> ?v .  } ORDER BY DESC(?v) LIMIT 1
Program:
function: Find
inputs: Quincy
function: FilterStr
dependencies: 0
inputs: subreddit
QuincyIL
function: Find
inputs: The Shawshank Redemption
function: Relate
dependencies: 2
inputs: filming location
forward
function: Find
inputs: Mansfield
function: And
dependencies: 3
4
function: SelectBetween
dependencies: 1
5
inputs: area
greater