Question: How is Infernal Affairs which was nominated for a Hong Kong Film Award for Best Film related to South Korea?
Choices:
update method
position held
commander of
next lower rank
broadcast by
film release region
home world
doctoral student
significant event
professional or sports partner
Answer: film release region
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Infernal Affairs" . ?e_1 <nominated_for> ?e_3 . ?e_3 <pred:name> "Hong Kong Film Award for Best Film" . ?e_2 <pred:name> "South Korea" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: Hong Kong Film Award for Best Film
function: Relate
dependencies: 0
inputs: nominated for
backward
function: Find
inputs: Infernal Affairs
function: And
dependencies: 1
2
function: Find
inputs: South Korea
function: QueryRelation
dependencies: 3
4