Question: For Bangladesh (the one whose life expectancy is 68.403 year), what proportion is its ethnic group of Bengali people?
Choices:
0.54
0.084
0.014
0.778
0.45
0.023
0.173
0.264
0.98
0.033
Answer: 0.98
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bangladesh" . ?e_1 <life_expectancy> ?pv . ?pv <pred:unit> "year" . ?pv <pred:value> "68.403"^^xsd:double . ?e_2 <pred:name> "Bengali people" . ?e_1 <ethnic_group> ?e_2 . [ <pred:fact_h> ?e_1 ; <pred:fact_r> <ethnic_group> ; <pred:fact_t> ?e_2 ] <proportion> ?qpv .  }
Program:
function: Find
inputs: Bangladesh
function: FilterNum
dependencies: 0
inputs: life expectancy
68.403 year
=
function: Find
inputs: Bengali people
function: QueryRelationQualifier
dependencies: 1
2
inputs: ethnic group
proportion