Question: How is Morocco, with a total fertility rate of 2.545, related to North Africa?
Choices:
filming location
genre
foundational text
has part
source of material
part of
country
allegiance
filmography
exclave of
Answer: part of
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Morocco" . ?e_1 <total_fertility_rate> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "2.545"^^xsd:double . ?e_2 <pred:name> "North Africa" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Morocco
function: FilterNum
dependencies: 0
inputs: total fertility rate
2.545
=
function: Find
inputs: North Africa
function: QueryRelation
dependencies: 1
2