Question: What is the connection between Vanity Fair (the one whose color is black-and-white) to drama film?
Choices:
lowest point
used by
parent astronomical body
founded by
copyright representative
award received
genre
part of the series
worshipped by
candidacy in election
Answer: genre
SPARQL: SELECT DISTINCT ?p WHERE { ?e_1 <pred:name> "Vanity Fair" . ?e_1 <color> ?e_3 . ?e_3 <pred:name> "black-and-white" . ?e_2 <pred:name> "drama film" . ?e_1 ?p ?e_2 .  }
Program:
function: Find
inputs: black-and-white
function: Relate
dependencies: 0
inputs: color
backward
function: Find
inputs: Vanity Fair
function: And
dependencies: 1
2
function: Find
inputs: drama film
function: QueryRelation
dependencies: 3
4