Question: What state has mobile country code 537 and whose demonym is papuan?
Choices:
Denmark
Papua New Guinea
Jamaica
Lithuania
Tajikistan
Ukrainian Soviet Socialist Republic
Saint Vincent and the Grenadines
Trinidad and Tobago
Finland
Kazakhstan
Answer: Papua New Guinea
SPARQL: SELECT DISTINCT ?e WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "state" . ?e <mobile_country_code> ?pv . ?pv <pred:value> "537" . ?e <demonym> ?pv_1 . ?pv_1 <pred:value> "papuan" .  }
Program:
function: FindAll
function: FilterStr
dependencies: 0
inputs: mobile country code
537
function: FilterConcept
dependencies: 1
inputs: state
function: FindAll
function: FilterStr
dependencies: 3
inputs: demonym
papuan
function: FilterConcept
dependencies: 4
inputs: state
function: And
dependencies: 2
5
function: What
dependencies: 6