Question: How is The Human Stain composed by Rachel Portman related to film based on literature?
Choices:
follows
diplomatic relation
candidacy in election
characters
country of citizenship
subject has role
registered with
edition or translation of
signatory
genre
Program:
function: Find
inputs: Rachel Portman
function: Relate
dependencies: 0
inputs: composer
backward
function: Find
inputs: The Human Stain
function: And
dependencies: 1
2
function: Find
inputs: film based on literature
function: QueryRelation
dependencies: 3
4
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "The Human Stain" . ?e_1 <composer> ?e_3 . ?e_3 <pred:name> "Rachel Portman" . ?e_2 <pred:name> "film based on literature" . ?e_1 ?p ?e_2 .  }
Answer: genre