Question: What proportion of people in Bangladesh (the one that has a diplomatic relation with Afghanistan) are Bengali people?
Choices:
0.022
0.023
0.011
0.98
0.775
1
0.0845
0.985
0.0918
0.46
Answer: 0.98
SPARQL: SELECT DISTINCT ?qpv WHERE { ?e_1 <pred:name> "Bangladesh" . ?e_3 <diplomatic_relation> ?e_1 . ?e_3 <pred:name> "Afghanistan" . ?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: Afghanistan
function: Relate
dependencies: 0
inputs: diplomatic relation
forward
function: Find
inputs: Bangladesh
function: And
dependencies: 1
2
function: Find
inputs: Bengali people
function: QueryRelationQualifier
dependencies: 3
4
inputs: ethnic group
proportion