Question: What is the subreddit for Amsterdam, which happens to have a population of 523,577?
Choices:
Bretagne
brasil
Amsterdam
Alabama
astoria
Connecticut
batman
TheLastAirbender
Roosevelt
photocritique
Program:
function: Find
inputs: Amsterdam
function: FilterNum
dependencies: 0
inputs: population
523577
=
function: QueryAttr
dependencies: 1
inputs: subreddit
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:name> "Amsterdam" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> "523577"^^xsd:double . ?e <subreddit> ?pv .  }
Answer: Amsterdam