Question: What is the connection between Cuba (whose number of out-of-school children is 128149) and Cuba (that is the member of the African, Caribbean and Pacific Group of States)?
Choices:
official residence
professional or sports partner
cast member
appears in the form of
record label
country
domain of saint or deity
copyright holder
conferred by
place of death
Answer: country
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Cuba" . ?e_1 <number_of_out-of-school_children> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "128149"^^xsd:double . ?e_2 <pred:name> "Cuba" . ?e_2 <member_of> ?e_3 . ?e_3 <pred:name> "African, Caribbean and Pacific Group of States" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Cuba
function: FilterNum
dependencies: 0
inputs: number of out-of-school children
128149
=
function: Find
inputs: African, Caribbean and Pacific Group of States
function: Relate
dependencies: 2
inputs: member of
backward
function: Find
inputs: Cuba
function: And
dependencies: 3
4
function: QueryRelation
dependencies: 1
5