Question: What is the relationship between Serpico (the one whose genre is film based on literature) to action film?
Choices:
copyright holder
place of death
residence
location of final assembly
voice type
candidacy in election
located on terrain feature
home world
had as last meal
genre
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Serpico" . ?e_1 <genre> ?e_3 . ?e_3 <pred:name> "film based on literature" . ?e_2 <pred:name> "action film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: film based on literature
function: Relate
dependencies: 0
inputs: genre
backward
function: Find
inputs: Serpico
function: And
dependencies: 1
2
function: Find
inputs: action film
function: QueryRelation
dependencies: 3
4