Question: What US city has the demonym Annapolitan and a population over 4100?
Choices:
Annapolis
San Jose
Iowa City
Waukegan
Malibu
Franklin
Albuquerque
Houston
Columbus
Charlotte
Answer: Annapolis
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "city of the United States" . ?e <demonym> ?pv . ?pv <pred:value> "Annapolitan" . ?e <population> ?pv_1 . ?pv_1 <pred:unit> "1" . ?pv_1 <pred:value> ?v . FILTER ( ?v > "4100"^^xsd:double ) .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: demonym
Annapolitan
function: FilterConcept
dependencies: 1
inputs: city of the United States
function: FindAll
function: FilterNum
dependencies: 3
inputs: population
4100
>
function: FilterConcept
dependencies: 4
inputs: city of the United States
function: And
dependencies: 2
5
function: What
dependencies: 6