Question: How is Brave (the one that has Emma Thompson as a voice actor) related to Spain ?
Choices:
based on
approved by
founded by
political alignment
diaspora
capital of
film release region
has cause
works in collection
feast day
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Brave" . ?e_1 <voice_actor> ?e_3 . ?e_3 <pred:name> "Emma Thompson" . ?e_2 <pred:name> "Spain" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Emma Thompson
function: Relate
dependencies: 0
inputs: voice actor
backward
function: Find
inputs: Brave
function: And
dependencies: 1
2
function: Find
inputs: Spain
function: QueryRelation
dependencies: 3
4