Question: Brazil, where Friends with Benefits was released, has what connection to Cuba, population 11101580?
Choices: executive producer
diplomatic relation
author
filming location
position played on team / speciality
kit supplier
natural product of taxon
said to be the same as
home world
has cause
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brazil" . ?e_3 <film_release_region> ?e_1 . ?e_3 <pred:name> "Friends with Benefits" . ?e_2 <pred:name> "Cuba" . ?e_2 <population> ?pv . ?pv <pred:unit> "1" . ?pv <pred:value> "11101580"^^xsd:double . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Friends with Benefits
function: Relate
dependencies: 0
inputs: film release region
forward
function: Find
inputs: Brazil
function: And
dependencies: 1
2
function: Find
inputs: Cuba
function: FilterNum
dependencies: 4
inputs: population
11101580
=
function: QueryRelation
dependencies: 3
5
Answer: diplomatic relation