Question: Tell me the relationship between Kim Ki-duk (the one that got the Golden Lion) to Berlin International Film Festival
Choices:
presenter
territory claimed by
has cause
killed by
soundtrack album
award received
director of photography
software engine
continent
enclave within
Answer: award received
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Kim Ki-duk" . ?e_1 <award_received> ?e_3 . ?e_3 <pred:name> "Golden Lion" . ?e_2 <pred:name> "Berlin International Film Festival" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Golden Lion
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Kim Ki-duk
function: And
dependencies: 1
2
function: Find
inputs: Berlin International Film Festival
function: QueryRelation
dependencies: 3
4