Question: Las Vegas, with a population of 25 and the place of death of B. B. King, belongs to which country?
Choices:
Iran
United States of America
Curaçao
Kuwait
Syria
Sint Maarten
Indonesia
Portugal
Kingdom of Prussia
New Zealand
Answer: United States of America
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "B. B. King" . ?e_2 <pred:name> "Las Vegas" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "25"^^xsd:double . ?e_1 <place_of_death> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <place_of_death> ; <pred:fact_t> ?e_2 ] <country> ?qpv .  }
Program:
function: Find
inputs: B. B. King
function: Find
inputs: Las Vegas
function: FilterNum
dependencies: 1
inputs: population
25
=
function: QueryRelationQualifier
dependencies: 0
2
inputs: place of death
country