Question: Which movie is derived from Infernal Affairs (the one that received Hong Kong Film Award for Best Film)?
Choices: 0
1
2
3
4
5
6
7
8
9
SPARQL: SELECT (COUNT(DISTINCT ?e) AS ?count) WHERE { ?e <pred:instance_of> ?c . ?c <pred:name> "visual artwork" . ?e_1 <derivative_work> ?e . ?e_1 <pred:name> "Infernal Affairs" . ?e_1 <award_received> ?e_2 . ?e_2 <pred:name> "Hong Kong Film Award for Best Film" .   }
Program:
function: Find
inputs: Hong Kong Film Award for Best Film
function: Relate
dependencies: 0
inputs: award received
backward
function: Find
inputs: Infernal Affairs
function: And
dependencies: 1
2
function: Relate
dependencies: 3
inputs: derivative work
forward
function: FilterConcept
dependencies: 4
inputs: visual artwork
function: Count
dependencies: 5
Answer: 1