Question: Tell me what state within the United States has a population of exactly 5029196 and that is the narrative location of The Prestige
Choices:
Florida
Iowa
Illinois
California
New Mexico
Kansas
South Carolina
Colorado
Hawaii
New Jersey
Program:
function: FindAll
function: FilterNum
dependencies: 0
inputs: population
5029196
=
function: FilterConcept
dependencies: 1
inputs: state of the United States
function: Find
inputs: The Prestige
function: Relate
dependencies: 3
inputs: narrative location
forward
function: FilterConcept
dependencies: 4
inputs: state of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state of the United States" . ?e <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "5029196"^^xsd:double . ?e_1 <narrative_location> ?e . ?e_1 <pred:name> "The Prestige" .  }
Answer: Colorado