Question: What is the population of a metro area that contains Long Island (located in USA)?
Choices:
548729
104741
23632722
71289
9499605
20103
135383
950484
24135
96082
Program:
function: Find
inputs: United States of America
function: Relate
dependencies: 0
inputs: country
backward
function: Find
inputs: Long Island
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: part of
forward
function: FilterConcept
dependencies: 4
inputs: metropolitan area
function: QueryAttr
dependencies: 5
inputs: population
SPARQL: SELECT DISTINCT ?pv WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "metropolitan area" . ?e_1 <part_of> ?e . ?e_1 <pred:name> "Long Island" . ?e_1 <country> ?e_2 . ?e_2 <pred:name> "United States of America" .  ?e <population> ?pv .  }
Answer: 23632722