Question: How is samba related to Brazil, release region of The Descendants?
Choices:
has edition
father
country of origin
official residence
seed team
award received
place of death
religious order
month of the year
has parts of the class
Answer: country of origin
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "samba" . ?e_2 <pred:name> "Brazil" . ?e_3 <film_release_region> ?e_2 . ?e_3 <pred:name> "The Descendants" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: samba
function: Find
inputs: The Descendants
function: Relate
dependencies: 1
inputs: film release region
forward
function: Find
inputs: Brazil
function: And
dependencies: 2
3
function: QueryRelation
dependencies: 0
4